Metasploit mailing list archives

msfcli loop string


From: exploit1001 at gmail.com (ExploiT)
Date: Sat, 30 Jul 2005 00:55:34 -0400

On 7/29/05, ExploiT <exploit1001 at gmail.com> wrote:
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


Sry, what i meant was, in the perl script what do i put for RHOST, if
i want it to use the list of ip's in ip.list?

thanks again.



Current thread: