if you manage to find an open linksys or d-link router, you will find that telnet will drop you into a busybox shell. This is usful as you can upload and execute various scripts. This pingsweep script will use the routers builtin script to ping sweep a range of ip addresses.
Modify the ipaddress to scan other ranges, this is set to 192.168.1.*
cat > script.sh
----script------------------------------------------------------------------
#!/bin/sh
ip=1
while [ $ip -lt 31 ]
do
ping -c 1 192.168.1.$ip >/tmp/ip.log 2>&1 && echo 192.168.1.$ip
let ip=$ip+1
done
----------------------------------------------------------------------------
chmod 700 script.sh
./script.sh
now you will find systems hiding on the lan
Tags:
Share
You need to be a member of House of Hackers to add comments!
Join this Ning Network