Things that I've Written:
I have a very bad habit of losing things that I have written. This is an attempt to group them, save them, and to make them available for other people. Licensing information may vary from item to item.
If you have any questions or comments about any of this, feel free to contact me. My contact information is on the main page.
Networking/Troubleshooting:
- http://www.whatismyproxy.com
This site is a network connection debugging tool that reports on your current proxy settings.
- http://www.pluginchecker.com
This site requires one of each of the more common browser plugins so that you can quickly tell what you have installed and operational.
- Hardscan
Hardscan is a command-line tool that detects open ports on the local machine. It is intended for uses where "netstat" and its ilk are untrustworthy. It should run on any system that supports python 2.3 or better.
- tcping.exe
An implementation of ping-over-tcp for the win32 console.
- snot.exe
A 'network sniff notetaker' that embeds a specified message into a currently running Ethereal/TCPDump/etc packet log via udp discard packets.
- waitforip.exe
Pause your batch file until the host has a specific ip address on an interface
- wakearp.exe
A utility to quickly induce arp resolution for every ip address within a specified /24 network.
- mturoute.exe
This is console application, analogous to 'ping' and 'traceroute', which finds the maximum mtu between you and another host by passing icmp requests with differing payload sizes. Binary is provided for Win32.
- The MTU Eyechart
This is a small html file that displays a series of images in various sizes. If you are having an MTU problem with your webserver, the missing pictures will help reveal just what that problem might be.
- Python UDP stress tester
An extremely quick-and-dirty utility that tests how much UDP traffic it can shove through a connection.
- xmlroute.exe
A variant of tracert/traceroute that formats its output in XML.
Shell Scripts:
Cisco
- Cisco Pix "show conn" summary script
A python script that scrapes the output of the command "show conn" from within the Cisco Pix and summarizes the results in tabular form.
- Pix Object groups for Microsoft Server deployments
Object groups for Lazy Pix administrators, based on port ranges defined in the Microsoft knowledge base.
- explode-macro.py
A python script implementing a simple macro language for quickly generating Cisco config files (or fragments). Intended especially for use when configuring many many identical interfaces or for generating standard configurations from a base template.
Cacti Scripts and Templates
Web Development:
- PHP Boolean Query Generator
This is a php snippet for converting boolean search queries (for instance "elephants AND giraffes" that people are used to typing into search blanks into SQL query syntax. ASP version now available as well.
- HTTP -> HTTPS Redirector
This is a small python script that can be run in the background to redirect http queries to another URL. In particular, it is set up to redirect insecure HTTP connections to an HTTP/SSL port.
- Generate Google Sitemap script
A python script that autogenerates a Google Sitemap XML file from the contents of your webserver. I use it to generate this sitemap: sitemap.xml. The script itself should generally be applicable to other sites with a few minor changes.
- The MSSQL Trouble Button
An ASP page to grab the current state of a MSSQL backed application when an end-user is experiencing a problem.
Code Snippets:
Firefox Bookmarklets:
- Bookmarklet Generator - Generate your own bookmarklets like the ones below without having to mess with any javascript.
- Search Python.org - Firefox Bookmarklet to search the python documentation for whatever text you have highlighted.
- Search PHP.net - Firefox Bookmarklet to search the PHP documentation for whatever text you have highlighted.
- Search MSDN - Firefox Bookmarklet to search the MSDN documentation for whatever text you have highlighted.
- Search Penny-Arcade! Archive - Firefox Bookmarklet to check PA's wisdom in regards to whichever text you find worthy.
- Search Cisco Docs - Firefox Bookmarklet to search the public Cisco docs/tech support for whatever text you have highlighted.
Other:
- Zoom Lens - An "around the mouse" screen magnifier for windows.
- Winkin Bill - A sliding tile puzzle game featuring one of our most respected presidents.
- Renoser - Utility to restore injured emoticons.
- make pretty - Script to Beautify C++ Code
- A telnet-serial bridge script
This makes your serial port available to any telnet client. Especially useful for e.g. PuTTY which is my favorite terminal client, but doesn't have any serial support.
- d5000_serial - Python module to interface with a d5000 series thermocouple
- pwgen
A small C program that generates passwords based on the characteristics of a network device and a pre-arranged master password.
- millisleep.exe - sleep your batch file for X milliseconds
- sounder.exe - play 2 seconds of a .wav file from within a batchfile
- retriever - Shell script to retrieve and log Dogpile's 'Search Spy' XML feed.
- ccmod10.py - Python module for testing and generating credit card numbers.
- keypress - Small gui program to measure average keystroke length.
- Serial Watcher - Small .NET program that watches your serial ports and tells you when one becomes available.
- Scroll of Not AFK - .NET utility that periodically sends a spacebar tap to a given window to prevent that window from treating you as AFK.
Withdrawn/Broken/Incomplete:
- ip-threespace.py
A packet sniffing script that displays traffic moving through a three-dimensional cube representing the global IP space. Uses pyOpenGL for display.
Decloak
A "pid exhaustion scanner" for Linux. Detects hidden processes by mapping out the holes they leave in the available pid space.
- icmp spy
The idea here was to use a raw ICMP socket to listen for incoming pings. Turns out it doesn't work: the winsock lib apparently doesn't pass ICMP echo requests back up to the socket.