Archive for the ‘ Programming ’ Category

The Joys of Git


Working on PsyDuk has become a little frustrating since I’ve never used any source control before. I did try to use TortoiseSVN, but that ended up being a miserable failure. The manual approach, however, was getting a little bit out of hand:

wasn't going well at all

Even with only 5 versions, it was still quite messy.

Continue reading

Advertisements

Psybot 1.1a


After spending a good few hours today, I now have Psybot 1.1a. Recoded to be Object-Oriented (mostly), it’s now easier to read, understand and modify. I’ve posted the code to the Hak5 Forums, you can find it at http://hak5.org/forums/index.php?s=&showtopic=15546&view=findpost&p=152278

Continue reading

Learning Python and coding for IRC


Recently, I got the idea into my head that I wanted to learn to program in Python. I’ve already done some VB.NET, C#, C++, Java, Pascal, PHP and a few more that I can’t remember off the top of my head, as I slowly work my way through all the major languages.

I also wanted to code a basic bot for IRC. I borrowed Python for Dummies from my local library, searched Google, and used Wireshark to see what goes on behind-the-scenes with IRC. Whilst I’m still working on my ‘Psyduck’ bot, I thought I would share an uptime bot I made for a fellow Zone-9’er. The bot simply reports the uptime of the machine it’s running from.

Continue reading