Home page logo

metasploit logo 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`
msfcli .......

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


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



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...

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]