metasploit-framework March 2011 archive
Main Archive Page > Month Archives  > metasploit-framework archives
metasploit-framework: [framework] windows/exec

[framework] windows/exec

From: alfonso caponi <alfonso.caponi_at_nospam>
Date: Wed Mar 09 2011 - 16:45:44 GMT

Hi list,

according to you, using msfpayload (windows/exec), how can I create an
executable file to run a dos shell command in background?

For example a first step:

./msfpayload windows/exec CMD="ping -n 5" R | ./msfencode -e
x86/shikata_ga_nai -c 10 -t exe -o test.exe

Thank you very much,

*ps: windows/download_exec not works on my XP sp3. no connections created
and the process remains active. (#3771?)