Metasploit mailing list archives

Upgrade to scanner module with threading support


From: hdm at metasploit.com (H D Moore)
Date: Tue, 24 Apr 2007 13:30:36 -0500

Quick breakdown:

run_host() - called with a single IP, with THREADS concurrent threads. The 
best way to mass-test a range of addresses for a host-specific issue.

run_batch() - called with a group of IPs with the size defined by the 
run_batch_size() method, with THREADS concurrent threads. This means it 
will process multiple batches at the same time, so don't use this for 
single-host testing (its useful for a few edge cases basically).

run_range() - called *once* for the entire range of hosts. This is useful 
if you are going to be passing this range to another tool or doing some 
network-wide test. For example, calling the nmap program.

-HD

On Tuesday 24 April 2007 12:49, Kashif Iftikhar wrote:
Nice work guys on the threading integration into the scanner module

:-) I really appreciate and its a nice implementation. The working of

run_range is still unclear to me though.



Current thread: