Jump to content

msfvenom does nothing?


Ky6000
 Share

Recommended Posts

I've been through countless videos and forum posts, however no one seems to be having my problem. Metasploit is installed correctly (I think) and using "msfconsole" works fine, but when I went to make my own payload, anything to do with "msfvenom" does nothing. typing msfvenom into the terminal does nothing, however when a payload is created, even with no terminal output a program (always 0 bytes) is created. Where did I go wrong? I'm using the terminal as root and metasploit is installed on a virtual OS Ubuntu.

I posted this on reddit but had a feeling no one would see it.

Thanks for any help.

Link to comment
Share on other sites

Thanks for the reply, however I can only make 3 posts on the first day and really didn't want to wait till tonight... is that against the rules?

Well the msfvenom at "usr/local/bin" seems normal (these scripts have no file type?) with a symbolic link to "/opt/metasploit/app", which in turn has another symbolic link to "opt/metasploit/run.sh". Using "ls -l msfvenom" on the two script locations give similar a output that looks like "lrwxrwxrwx 1 root root 28 Feb 20 16:12 msfvenom -> /opt/metasploit/app/msfvenom". The only different being the symbolic link location. Everything seems to be in working order, perhaps the script in "usr/local/bin" had a bad install? Both files are not corrupt. I haven't activated the community edition yet, is that the problem?

Link to comment
Share on other sites

I have the community version of metasploit, but on the website it says it needs a community license which I don't have yet, but that doesn't explain why msfvenom does nothing in the console, as I don't think the license is too important.

Link to comment
Share on other sites

I'm really mad right now... installed the metasploit framework (didn't clone the git repo, just downloaded the latest installer) and msfconsole works like a charm... and msfvenom is still useless. Is Ubuntu the problem? This doesn't make any sense. Also I accidentally but a space on the url at the end.

Thanks for the help

Link to comment
Share on other sites

Where are you running Venom from? If you are just running it from the path then you are probably still running the old version.

Clone the repo, go into the directory you cloned it to and run it from there with ./msfvenom to make sure you are definitely running the right one. There will be no symlinks or path problems getting in the way.

Link to comment
Share on other sites

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.

 Share

  • Recently Browsing   0 members

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