[framework-hackers] payload cmd vs cmd_interact
Patrick Webster
patrick at aushack.com
Wed Mar 19 02:58:26 CDT 2008
Hi List,
I have written an exploit which is essentially a cmd_interact shell, however
it needs to be wrapped with some other characters.
I *could* use a cmd generic payload and sock.put("specialchars" + payload +
"some more chars")... but; Is it possible to use the cmd_interact type and
wrap every new line into the chars required and then sock.put it?
Let's say it is a unix shell:
#id
uid=0 etc
but the environment requires it to be wrapped in an "A"
e.g.
#AidA
uid=0 etc
Thanks,
-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://spool.metasploit.com/pipermail/framework-hackers/attachments/20080319/d92c9034/attachment.htm
More information about the Framework-Hackers
mailing list