Hi,
We recently had a laptop stolen and my boss is far too cheap to fork out for a solution like Undercover Mac.
As such i have been “tasked” with writing a small app that will run at when ever there is an active network connection to check a text file on our web server using curl and if it’s serial and or mac address of the Ethernet port is found it will gather information and phone home using another curl command to open a mail.php file on our web server ie www.website.com/mail.php?ipaddress=217.82.1.1 etc etc.
Currently I have the whole thing working and am at the point of gathering system information. The one thing I am stuck on that really would be an absolutely piece of information is IP address. I am fully aware of how to get the internal “private” ip address but is it possible to actually get the external ip address even if they are using a router?
any help on this would be great and if anyone wants this when i have finished your more than welcome to it.
thanks
Dave Maltby