Home page logo
/

metasploit logo Metasploit mailing list archives

msfcli loop string
From: ron at oneinsane.net (Ron Rosson)
Date: Fri, 29 Jul 2005 03:54:22 -0500

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

--
Ron Rosson
ron at oneinsane.net
http://www.oneinsane.net

On Jul 28, 2005, at 10:56 PM, ExploiT wrote:

Hey, i have a fairly large network, and instead of running network
scanner and BS like that on my network, or any network for that
matter... i'd like to be able to check, and exploit the pc's on the
network i'm auditing,  with the more serious exploits out there...so
anyway, thats why i'm wondering what msfcli string i could use to make
metasploit either check, or exploit a range of hosts, or subnet. i
tried searching around for documentation on this type of thing but
didnt find much that was indepth.

thanks alot.

Max






  By Date           By Thread  

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