My source code
Random code I've made available to others. 40 Total files.
2010-03-04 - getcad.phps (php)
This short php script watch the Ctrl+alt+del comic stripe for a new comic and then mails everyone on the configured mailing list an email letting them now, and attaching the new stripe to the E-Mail
2010-03-04 - elgamal.py (Python)
2010-03-04 - openbitflags.c (C)
Little C program which outputs the values of some common IO constants used in the open() system call.
2010-03-04 - pybrute.py (Python)
2010-03-04 - rshell.py (Python)
*very* simple reverse shell wrote in python. So I'd imagine it would rarely be actually deployed, though it works so if python is installed, why not?
2010-03-04 - dyndns.py (Python)
This is a dyndns.org update client, it's used on some of my servers which are on domestic lines to try and keep things running. It should be ran via cron once every 10-15minutes and *should* work properly.
2010-03-04 - zshzn.c (C)
Some obfuscated fun to mock my canadian friend, zshzn. :-P
2010-03-04 - convertwma2mp3.zip (Archive)
WMA to MP3 conversion tool for windows, using mplayer and LAME
2010-03-04 - trip2.c (C)
Dead simple tripwire. Will take md5 hashes of your files periodically and compare them, informing you of changes
2010-03-04 - rsa.py (Python)
A very basic implementation of RSA in python. No attempt to make it strong, just to make it work.
2010-03-04 - identd.py (Python)
A python script that acts as an identd. RFC 1413 implemenation. No advanced configuration. Just an out-of-the-box identity protocol daemon.
2010-03-04 - rootuid.c (C)
Small C program to execute a suid shell and/or install a local root backdoor to be executed later (useful if root executed your program wondernig what it was)
Not big and clever, but it works
2010-03-04 - crypt.c (C)
Simple program to crypt() hashes. Only really useful if you were inserting a hash manually into something. The program supports both DES and MD5, however the crypt() function is system dependant, so be aware that on some systems the MD5 Functionality of the program will be absent.
2010-03-04 - pscan.c (C)
This is a no frills port scanner, the scanner will only tell you which ports are completely open to new connections - which would make it really really loud to the target host. Runs on windows and Linux.
2010-03-04 - egcd.c (C)
Tool which works throught the Extended Euclidean Algorithm and displays a table with the workings and a summary
2010-03-04 - pickrndfile.phps (php)
2010-03-04 - gtkdir.c (C)
A very primitive GTK file browser. It was my first GTK program.
2010-03-04 - IDS.py (Python)
This is a dirty simple Intrusion detection system. Simply put, it listens on configured ports for connections and records the person who attempted to connect to those ports. This really will only work at detecting vulnerability bots or very unskilled loud port scans.
2010-03-04 - dirstats.py (Python)
Small python script to work out some simple statistics about a supplied directory. Intended when I was wondering what was the average size of an mp3, and since I have a large collection of samples, I figured I might as well use my own files to find it. Can be applied to multiple directories at once. If you have any other ideas of stats to collect please mail me, even if it's trival to implement.
2010-03-04 - wirewake.py (Python)
Wirewake - My "Magic packet" implementation for Wake-on-LAN enabled network interfaces.
2010-03-04 - in2post.py (Python)
Implementation of infix to postfix conversation. Based around the shunting yard algorithm (see http://en.wikipedia.org/wiki/Shunting_yard_algorithm for more information).
It was bored but didn't want to get into anything too tendious.
2010-03-04 - camstream.tar.gz (Archive)
A tarball for the article, How to set up a Linux webcam server
2010-03-04 - searchdyndns.py (Python)
A very simple script which checks for the existance of certain subdomains of known dynamic DNS providers, printing the IP if found.
2010-03-04 - smtp.py (Python)
A python script which implements a small routine called sendmail, which will... sendmail using smtp to configured host/port
2010-03-04 - dungeangame.tar.gz (Archive)
A game I was forced to write. It's a Java text based adventure game. Really simple.
2010-03-04 - ascii2hex.c (C)
Converts an ASCII string into it's hexadecimal equivalent
2010-03-04 - dns.c (C)
Base work for a DNS client implementation (conforming to RFC 1035). Not 100% complete, but I was pressurized into showing this working copy. Still slowly working on adding support for other record types, and operations. Also making it more user friend and, not to mention useful.
2010-03-04 - msn.py (Python)
Base code for an msn python client/bot I was thinking of writing once. It goes through all the authentication stuff, registers itself on the network, starts to collect the data it will need (like user lists and so on). The project got abandoned when I found myself thick in exams and was having abit of trouble getting tk to work as a good interface. I sometimes pondering finishing it with gtk, but I never saw the need.
2010-03-04 - torinfo.py (Python)
Downloads data about the tor network and stores data about each router in a cache directory for later usage. Is the backend system for torlist.nullnetwork.net
2010-03-04 - brainfuck.c (C)
A brainfuck interpretor I wrote. Brainfuck is a simple language with only 8 instructions. See the wikipedia article for more information. Also Ever notice how BF is like a Turing Machine?
2010-03-04 - nullnetwork.c (C)
Much like nulldigital.c this code is just a bit of fun (and the front page of one of the nullnetwork servers). Amused me anyway.
2010-03-04 - mailattach.phps (php)
A simple program demostrating how to send file attachments in internet messages such as email. Wrote for some guy who needed to mail an assignment in and wanted to fake the date so he wouldn't lose his grade... silly marek.
2010-03-04 - google.py (Python)
Good old google script.
2010-03-04 - fuckedup.bf (BrainFuck)
A lovely brainfuck program. Be aware that this contains explicit code, and should not be viewed by anyone who takes offense easily. Most of it is gibberish anyway. :-D
2010-03-04 - xchatbeepgun.py (Python)
A very silly script for xchat 2 that says everyones name in the channel, in an attempt to wake them all up. Called beepgun after some clients beep when your nick is highlighted
2010-03-04 - force.c (C)
This is a DES brute force cracker. Note that code wasn't designed to be efficient, it was merely supposed to show how you may go about building a cracker. Generally the recursive method I employ would probably not be used in practical crackers due to resource usage.
2010-03-04 - nulldigital.c (C)
A bit of animated fun with ncurses, featuring the nulldigital ascii banner and some pretty colours.
2010-03-04 - winkeylog.c (C)
This simple C program demonstrates how trivial it is to write key loggers for windows. It should be noted that this isn't a flaw per se, but it can be used as a vulnerability.
2010-03-04 - hex2ascii.c (C)
Converts an hexadecimal string into it's ASCII equivalent
2010-03-04 - pop.phps (php)
A wonderful pop3 implementation in php. Was originally a modular in a larger webmail system I was building, but that was a spur of the moment thing, once I got the basic smtp & pop3 stuff working, I relised the rest was trival and stuff I do every day and got bored.






