Multiple hosts (RHOST) with single exploit in Metasploit?
Hello all!, I have been reading this forum for a long time and using backtrack since Auditor live cd era, but this is my first time posting anything .
I started using Metasploit not too long ago, and i have some question, and hope some of you could answer,
Im looking for a way to set multiple targets (The rhost variable) when using a single exploit . Because when using db_autopwn with multiple hosts, it will run all exploits based on ports and i want to try out a single exploit in a network.
To my knowledge i do not belive this is possible.
Just to let everyone know theres a new excellent option in db_autopwn ( -m ) it will let you run only the modules based in a regex !
-m [regex] Only run modules whose name matches the regex
msfcli and some bash can send the same exploit to multiple hosts