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 |