Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

nmap help please :)

  • 03-02-2008 02:25AM
    #1
    Closed Accounts Posts: 570 ✭✭✭


    Hi guys, I am new to nmap and just trying to figure out is there a way to basically combine these 2 commands:

    nmap -sP 192.168.1.0/24 (scans .1.0 to .1.255 for host discovery)

    then say it discovers 3 hosts up, 192.168.1.6, 192.168.1.7, 192.168.1.8

    nmap -v -A 192.168.1.6
    nmap -v -A 192.168.1.7
    nmap -v -A 192.168.1.8

    if you get me.. like combining host discovery, then scanning each of the discovered hosts. Any help appreciated. Thanks.


Comments

  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    I've been doing a bit of work with nmap recently myself. You could probably try something like this:

    nmap -v -A 192.168.1.0/24

    This would do OS & version dection on that whole subnet. Try man nmap if you're using Linux this should give you more info on the various switches you can use.


Advertisement