E-Berzerk Logo

IPFinder

An open source software solution coded in Python

IPFinder Screenshot

IPFinder is a program written in Python to fulfill a special need that I had. I am on a dynamic IP but need to access the servers on my PC. Since I'm too cheap to purchase a static IP address package, I decided to write a script that would take the output of the ipconfig /all command when entered in the windows shell and parse it for the IP address. I soon learned that my situation wouldn't allow this. I use a 2Wire HomePortal 1000S ADSL router (as provided by SBC) for broadband connectivity. My dilemma begins.

So, I decide that I will have to write a script to extract my IP address from the http://gateway.2wire.net/broadband/index.html web page that is generated by the router. The result, after many hours of messing with the Python libraries, is the following script:

View the Source  ||  Download the Source

Valid XHTML 1.0!