Metasploit mailing list archives

msfcli loop string


From: exploit1001 at gmail.com (ExploiT)
Date: Fri, 29 Jul 2005 11:46:49 -0400

On 7/29/05, Ron Rosson <ron at oneinsane.net> wrote:
I have done this in th past by getting the command line perfected..
once done I provided an IP list with one IP per line and just did a
for loop.

for i in `cat ip.list`
do
msfcli .......
done

One thing I would make sure of is that you have the logging variable
set to log so you can tail/analyze your work.

-Ron

P.S. You can create an IP list using the perl script mentioned here:

http://lists.shmoo.com/pipermail/vpn/2003-January/003907.html

--


ok thanks for that, now one thing, when in the msfcli string part of
the loop batch script, how do i tell it who to exploit if i want it to
exploit all the people in the ip.list file...



Current thread: