1

Ok, I want to be able to start up my handler in the background, and then attack multiple targets without each exploit starting its on handler...

For instance, when I am attacking a target...

[*] Exploiting target 192.168.1.2
[*] Started reverse TCP handler on 192.168.1.1:4446
[*] 192.168.1.2:7001 - Sending handshake...

I dont want the reverse TCP handler started when I exploit, I want to use a background TCP handler to catch all of the incoming shells if that makes sense...

And I will tell you why, right now, when I execute this exploit, it completes but no session is created, then 10 minutes later, a session will be created for a previous target while attacking another target, so I just want to do a catch all in the background, while I loop through my targets...

Is there anyway to do this?

0

Run the listener as a job and set exit on session to false

set EXITONSESSION false

then

exploit -j

then view all active sessions with

sessions

and interact with specific session with

session -i n         # n being the number of the session

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.