EvilZone

Hacking and Security => Hacking and Security => : 4p3x August 23, 2012, 06:33:23 PM

: metasploit console
: 4p3x 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?
: Re: metasploit console
: Z3R0 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.
: Re: metasploit console
: 4p3x 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