masscan icon indicating copy to clipboard operation
masscan copied to clipboard

Txt as input

Open lanjian747 opened this issue 2 years ago • 2 comments

Can masscan take a TXT file as input and Scan IP in the TXT file?

lanjian747 avatar May 19 '22 13:05 lanjian747

You can do -c filename, where the file contains e.g:

range=192.168.0.0/16
range=10.0.0.0/8

mikehardenize avatar May 31 '22 15:05 mikehardenize

You can do -c filename, where the file contains e.g:


range=192.168.0.0/16

range=10.0.0.0/8

Alternately, -iL which behaves the same as nmap -iL

mzpqnxow avatar Dec 09 '23 16:12 mzpqnxow