Skip to content
BriteWork

BriteWork

[Updated] Not so angry IP scanner using Windows native tools

Posted on November 2, 2012May 15, 2020 By britework No Comments on [Updated] Not so angry IP scanner using Windows native tools

If you find yourself  a stranger in a strange land and you do not have admin privileges on your system and you want to see what and who is out there;  Here is a way to sweep the network using native Windows tools.

This Looks crazy to human eyes but I will break it down for you.
DOS version

1
2
3
4
5
 
 
for /L %x in (1,1,255) do @ping -a -n 1 192.168.2.%x -w 100 | Find "Pinging"
 
 

Linux version

1
2
3
4
5
 
 
for i in {1..255} do @ping -n 1 192.168.2.%i -w 100
 
 

 

The FOR loop pings each device and passes that output to Find command to get the addresses that reply .

the Find command will only show responses that return a positive result

/L here indicates the set is a sequence of numbers. -a asks for a host name if available, -n indicates send one ping attempt, -w indicates wait timeout (helps speed the sweep up since default is 1 second, this is specified in milliseconds.)

                                                                                                                               

CMD, Tools, Windows

Post navigation

Previous Post: Windows Sysinternals – A must have in every Hackers tool belt
Next Post: Back in Time – possibly the best *nix system backup software I’ve seen

Related Posts

Excel Scroll Lock key is stuck- and how to unstuck it Windows
Windows Sysinternals – A must have in every Hackers tool belt Tools
WMIC remotely find out who is logged into a system or what kind of system it is (pizza box?!?) CMD

Leave a Reply

You must be logged in to post a comment.

Categories

  • CMD
  • Database
  • Linux
  • Oracle
  • Security
  • Tools
  • Uncategorized
  • Windows
November 2012
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  
« Oct   Nov »

Copyright © 2025 BriteWork.

Powered by PressBook Masonry Dark