Browsing articles tagged with " python"
Dec
23
2011

Gui whois client in python with wxpython

Wxpython is the python port of wxwidgets gui library. On ubuntu wxpython can be installed from synaptic. On windows it can be downloaded from the website wxpython.org And here is a small program that pops up a simple window , to take a domain name and perform a whois for that domain.

Nov
29
2011

Code a network packet sniffer in python for Linux

Basic Sniffer The most basic form of a sniffer would be : Run this with root privileges or sudo on ubuntu : sudo python sniffer.py The above sniffer works on the principle that a raw socket is capable of receiving all (of its type , like AF_INET) incoming traffic in Linux. The output could look like this : The above is a dump of the network packets in hex. They can be parsed using the [...]