Author Topic: metasploit console  (Read 1428 times)

0 Members and 1 Guest are viewing this topic.

Offline 4p3x

  • /dev/null
  • *
  • Posts: 15
  • Cookies: 0
    • View Profile
metasploit console
« on: August 23, 2012, 06:33:23 pm »
Hey, when I use the msfconsole and I use an exploit and it requires a srvhost, I set the srvhost to my local IP and the exploit runs fine.. it starts the server and gives me the malicious URL. I then run the multi/handler and set up the stuff and get 2 errors saying failed to bind to host, and something about how it's already in use. any help?

Z3R0

  • Guest
Re: metasploit console
« Reply #1 on: August 26, 2012, 03:57:40 am »
Hey, when I use the msfconsole and I use an exploit and it requires a srvhost, I set the srvhost to my local IP and the exploit runs fine.. it starts the server and gives me the malicious URL. I then run the multi/handler and set up the stuff and get 2 errors saying failed to bind to host, and something about how it's already in use. any help?
srvhost should be set to 0.0.0.0 if you're using it locally. also you cannot use the multi handler with bind shell payloads. The multi handler was designed to accept incoming reverse shells.

Offline 4p3x

  • /dev/null
  • *
  • Posts: 15
  • Cookies: 0
    • View Profile
Re: metasploit console
« Reply #2 on: August 26, 2012, 05:03:30 am »
yeah I got it, thanks for the reply though! I don't even need the multi handler right? Unless I'm doing more than one exploit? Can't I just type sessions -i ? without the handler