Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Some perl scripts to help track stolen computers' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Some perl scripts to help track stolen computers
Authored by: ctierney on Aug 30, '06 07:23:05AM

An alternative to checking a website for file (that may not be there in time) is to check the MAC address of the current LAN's gateway.

arp `netstat -nr | awk '/^default/ {print $2}'`

Check this against a list of known gateways (work, home, your favorite cafe, etc.). If the gateway's MAC address is unknown, then assume it's stolen. A script like this could also be adapted to do certain things based on your current location.



[ Reply to This | # ]