I’m currently experimenting with Python 3, and made myself a simple HTTP/HTTPS python banner grabber. The code is included below, I hope someone finds it useful. The code can take input URLs from file or rom the command line, and defaults to just printing the HTTP ‘Server’ header. Update: Thanks to Jeff who pointed out… Read more »
Monthly Archives:: January 2011
A quick Python 3 Whois implementation
Needed a working whois for an ongoing project, so I quickly ported this snippet of whois code to Python 3, the result is below: “”" Whois client for python transliteration of: http://www.opensource.apple.com/source/adv_cmds/adv_cmds-138.1/whois/whois.c Copyright (c) 2010 Chris Wolf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated… Read more »