Metasploit mailing list archives
Question on SEH, PROCESS, THREAD and integrating custom C Code
From: patrick at aushack.com (Patrick Webster)
Date: Thu, 7 Aug 2008 13:58:56 +1000
You should get the following output from msfencode -h:
Usage: msfencode <options>
OPTIONS:
-a <opt> The architecture to encode as
-b <opt> The list of characters to avoid: '\x00\xff'
-e <opt> The encoder to use
-h Help banner
-i <opt> Encode the contents of the supplied file path
-l List available encoders
-m <opt> Specifies an additional module search path
-n Dump encoder information
-s <opt> The maximum size of the encoded data
-t <opt> The format to display the encoded buffer with (raw, ruby, perl, c)
You can use it to, for example, pipe ./msfpayload <opts> r |
./msfencode -a x86 -b '\x00' -t c -e x86/countdown
etc.
-Patrick
Current thread:
- Question on SEH, PROCESS, THREAD and integrating custom C Code jeffs (Jul 28)
- Question on SEH, PROCESS, THREAD and integrating custom C Code egypt at metasploit.com (Aug 06)
- Question on SEH, PROCESS, THREAD and integrating custom C Code jeffs (Aug 06)
- Question on SEH, PROCESS, THREAD and integrating custom C Code Patrick Webster (Aug 06)
- Question on SEH, PROCESS, THREAD and integrating custom C Code jeffs (Aug 06)
- Question on SEH, PROCESS, THREAD and integrating custom C Code Patrick Webster (Aug 09)
- Question on SEH, PROCESS, THREAD and integrating custom C Code jeffs (Aug 06)
- Question on SEH, PROCESS, THREAD and integrating custom C Code egypt at metasploit.com (Aug 06)
