Damn, Yes, I might to type 192.168.1.1-254 and 192.168.1.0/24, can't believe I didn't catch that. I also fort that this is useful as well nmap -sP -p 22 --open 192.168.1.1-254 I use that when I am looking for a new headless pi so I can log in, it will only show hosts that have the port open you are looking for, save time. Pup On Wed, Aug 4, 2021 at 3:15 AM Bengt Gördén <bengan@bag.org> wrote:
On 2021-08-04 04:31, Chuck Payne wrote:
Try this, ok this is the correct syntax
nmap -sP -p 9100 192.168.1-254
You probably missed a "1" in the third tuple.
nmap -sP -p 9100 192.168.1.1-254 or nmap -sP -p 9100 192.168.1.0/24
If you meant to do permutation of the third tuple it would be: nmap -sP -p 9100 192.168.0-255.0/24
-- /bengan
-- Terror PUP a.k.a Chuck "PUP" Payne ----------------------------------------- Discover it! Enjoy it! Share it! openSUSE Linux. ----------------------------------------- openSUSE -- Terrorpup openSUSE Ambassador/openSUSE Member skype,twiiter,identica,friendfeed -- terrorpup freenode(irc) --terrorpup/lupinstein Register Linux Userid: 155363 openSUSE Community Member since 2008.