Le Petit Poucet is a tale by Charles Perrault. Parents have to abandon their children in the Forest, but "Le Petit Poucet" will leave stones on its path to find its way back.
In our emails, there is a trail of IP addresses identified by the Received
email header. This program just take the raw content of an email, extract the IP addresses if any in the Received fields and convert each 4 numbers in an IP adress as a RGB color + opacity, then it creates a badge of this trail like stones in the forest.
It saves the trail as a PNG image in the same directory you started the script.
A trail of 5 ip addresses
The script is using the PIL module.
Created by Karl Dubost on 2012-02-09. Copyright © 2012 Grange. All rights reserved. Licensed under the MIT license: http://www.opensource.org/licenses/MIT