Metasploit mailing list archives
msfpayload and msfencode problems
From: ramatkal at hotmail.com (sol seclists)
Date: Wed, 20 Oct 2004 16:51:44 +0200
Having some problems with msfpayload and msfencode.... im trying to generate a win32 bind shell payload which has no '~' (\x7e) characters in it (as well as the usual \r\n). Below is the command i used: msf > msfpayload win32_bind R | msfencode -t c -e ShikataGaNai -b "\x00\x0d\x0a\x7e" [*] Bad character list format is "\x00\x01\x02" i then had a bit of a play with the -b flag, but still no luck. msf > msfpayload win32_bind R | msfencode -t c -e ShikataGaNai -b "\x00" [*] Bad character list format is "\x00\x01\x02" msf > msfpayload win32_bind R | msfencode -t c -e ShikataGaNai -b \x00 [*] Bad character list format is "\x00\x01\x02" msf > msfpayload win32_bind R | msfencode -t c -e ShikataGaNai -b '\x00' [*] Bad character list format is "\x00\x01\x02" msf > msfpayload win32_bind R | msfencode -t c -e ShikataGaNai -b "\x00\x01\x02" [*] Bad character list format is "\x00\x01\x02" msf > If i leave off the -b flag, it generates the payload correctly. Anyone got any ideas? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.metasploit.com/pipermail/framework/attachments/20041020/d0acd160/attachment.htm>
Current thread:
- msfpayload and msfencode problems sol seclists (Oct 20)
- msfpayload and msfencode problems Vinnie.Liu at ey.com (Oct 20)
- msfpayload and msfencode problems RaMatkal (Oct 21)
- msfpayload and msfencode problems mmiller at hick.org (Oct 20)
- <Possible follow-ups>
- msfpayload and msfencode problems ninjatools at hush.com (Oct 20)
- msfpayload and msfencode problems Vinnie.Liu at ey.com (Oct 20)