Building Looking Glass over XMPP
Ingredients:
- One jabber/Gtalk account
- one unix server
- xmpppy (http://xmpppy.sourceforge.net/)
- jabberbot (http://thpinfo.com/2007/python-jabberbot/)
As stated in the title, during this weekend I was playing around with python to build a simple “bot” which provide some internet looking glass services.
You can try my bot, by adding
lookingglass [at] inet0.net
in your gtalk/jabber contact list and then, send “help” message to get list of available commands
Current Features:
* DNS dig tool (using unix “dig” tool)
* IP to ASN converter (powered by http://www.team-cymru.org/Services/ip-to-asn.html)
* IP to Geographical Location Converter (powered by http://www.iplocationtools.com/)
* Ping tool (using unix “ping” tool)
* BGP routes checker (powered by routeviews.org)
* IP routes checker (powered by routeviews.org)
* TCP port checker (using unix “netcat” tool)
* Traceroute tool (using unix “traceroute” tool)
* UDP port checker (using unix “netcat” tool)
* Whois tool (using unix “whois” tool)
For the other services, visit http://inet0.net
note: botdarkstar [at] gmail.com is no longer active and its renamed to lookingglass [at] inet0.net
./rendo