You are not logged in.
Pages: 1
Well, i've read lots of manuals, but I still don't understand how does nmap work.
I would like to scan a specific range of IPs, for open UDP and TCP ports, let's say:
From 2.249.250.200 to 3.2.1.2 (random IPs)
At the same time, i would like to print the results to a file called "bin"
I know I can scan from 0.0.0.0 to 0.0.0.255 (for example) typing "0.0.0.*" but what about a specific range of IPs like that?
Also, how do I scan single IPs? I think it's "IP1;IP2;IP3;...", but i'm not sure
Offline
u can use this syntex :
nmap scantype (-sS , -sT ,-sP .) -v(verbose mode) -T(1 or 2or3 or 3or 4or 5 is the time ) -oX or -oN (output ) ip/range
Offline
u can use this syntex :
nmap scantype (-sS , -sT ,-sP .) -v(verbose mode) -T(1 or 2or3 or 3or 4or 5 is the time ) -oX or -oN (output ) ip/range
Thank you, but what's exactly the way to make a range? IP1-IP2 should do the trick?
Offline
hey
u can type those ranges ips in a file and u can u ethi file like that
nmap -scantype -v -Time (1.2.3.2.4.5) -oX or -oN filename -il filethat contian ips ..
Offline
If you're lazy like me just use nmapfe
Offline
Haha, thank you, I'll write the file.
Also, I find nmapfe even more confusing than the console XD I have just started in the Linux world, an my first distro was Linux Mint, so I want to learn things, and I want to learn how does the console works, and its commands.
Offline
nmap -A -T5 -p 1-65535 ip1 ip2 ip3 ...
# -A flag will get the service and details
# -T5 is to be faster
# -p 1-65535 selects all ports (they are limited)
you can use more wildcards
this is an example:
nmap 192.168.0.0/16 10.0.0,1,3-7.0-255
Last edited by quarkup (2009-07-28 11:14:57)
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
Pages: 1