[framework] access payload variable with non default encoder

Joe Owler joe2owl at yahoo.com
Sun Dec 23 23:50:37 CST 2007


What is the preferred way of accessing payload encoded using AlphanumMixed encoder, or any other than default for that matter?


I set the encoder in this way

    'Payload'        =>
                {
                    'Space'    => 800,
                    'BadChars' => "\x00\x0a\x0d\x20\x0d\x2f\x3d\x3b",
                    'StackAdjustment' => -3500,
                    'EncoderType' => Msf::Encoder::Type::AlphanumMixed,
                }

but when accessing payload it seems like it holds original payload as well as encoded one. Printing out payload.encoded, displays this

-??Jpù°$ts:÷Ñë*â?@70à#õf?üuywOg"ÒýCH¾?ºr¶·öÔ?²F©µ?G¿?»'?´¨?ø³K¹N|,4zq??Ow7ý|{G?ë1ápI³!ãf?u?(þÁàF¶r-²âÕµ¹'KB~J?vg?A¿,4?»5N}Öxtù<%¨?º°ÐÔH¸s@)ø¾?©C´?õ·?yiü±z$±?áuwzv|ùtü¿A?µ}qÓÿÀÒÔ~KJ3ÖC?g<?°,º?x{GF»??4$?´f?à0ý%·²¶*ây?OrÑë'¨p-?©7õ¾³¹H?ÕN?ãIB@?ø¸5s?á1àºxN(õq°µg?¹%??~ öãy??±?{$²uC?¨»¸Ô},¶vB´??@sA?z<?ý·w45©pr!Ðü|OK¾?ëtG9âu~âp2øs-¿rÖkù÷áy7?ÁàFwÕqHf³xJ}'{IC°z:ãAK|,º´¸©Nt¾¹g<±?¿I???G³·$5H#ù»Ô7ë??fB"üFµ?²+ý'ø?-%OõÕJ¶4v?@?¨8ÖÙÁÙt$ôXPYIIIIIIIIICCCCCCC7QZjAXP0A0AkAAQ2AB2BB0BBABXP8ABuJIK1ITQDKBKOKOKLM8QTC0C0EPLKQUGLLKCLDECHEQJOLKPOEHLKQOGPC1JKQYLKGDLKC1JNP1IPMINLMTIPD4EWIQIZDMEQIRJKJTGKQDQ4C4BUKULKQOGTEQJKBFLKDLPKLKQOELEQJKLKELLKC1JKMYQLQ4ETISQOFQKFCPF6BDLKQVFPLKQPDLLKBPELNMLKBHEXMYL8LCIPCZPPE8CNHXJBCCBHLXKNLJDNF7KOM7CSCQBLE3FNBECHE5EPAA


I would appreciate any hints and guidance.

Thanks,





      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://spool.metasploit.com/pipermail/framework/attachments/20071223/954de5e3/attachment.htm 


More information about the framework mailing list