Mr. Pig’s House of Bacon

August 25, 2008

Blog Updated; School is Starting

Filed under: Personal, School — Mr. Pig @ 11:56 pm

Just updated Wordpress – I was running some ancient version. While I was at it I decided to update the theme (clearly) and I also updated Spam Karma (which was ancient as well) to the latest version. Hopefully things will be getting a bit more stable blog-side.

I’ve been working on Sigurd again although I’ve taken a break in recent days. Schools is starting up on the third and HCCS (which I totally forgot about) saw a massive influx in users and my code seems to have having problems coping with the load. Sadly, I’m not surprised. I rely heavily on the Facebook API to gather user information and the direct-PHP API is slow as balls on my host. I should fix it but I really don’t have the motivation at the moment. -_- Also need to finish summer reading, the books were decent this year Ishmael and The Power of One. No objections – just lazy.

On an entirely unrelated note – this website lacks any semblance of decent design. I, and I’d assume many others (from reading comments and what not), instinctively looked that the bottom of the page for the horizontal scroll bar to center all the images. This, however, was not there. Further, if you look at the taskbar on the image of the Windows computer at the top you’ll notice an interesting page loaded in IE. [Reddit]

August 6, 2008

WhippingBot – Ported to Windows

Filed under: My Programs — Mr. Pig @ 5:33 pm

I spend most of my time on Windows now (for a verity of reasons – none very good) so I decided to port WhippingBot over.

I recently finished and now he’s much much better.

Check him out in irc.freenode.net in channel #WhippingBot or just PM him @lsChannels to see what channels he’s in.

MAYBE… MAYBE I’ll release him. :P

July 10, 2008

.dbt (dBase memo file) and PHP

Filed under: General Computers — Mr. Pig @ 4:54 pm

Yup; so I’ll be starting work on a PHP dBase memo file reader… I will most likely tie it into an existing dBase PHP class I found.

Good news for any working with dBase files and PHP: I’ve recieved permission to release the class under GPL once it’s complete.

July 3, 2008

dBase Files

Filed under: General Computers — Mr. Pig @ 3:36 am

God hates them.

dBase ahh… the pain. I’ve been working a lot with dBase files recently for some PHP projects and they are starting to really get on my nervs. It may just be the atmosphere (work) that I’m approaching them with… and perhaps if in some other dimension I approached dBase files with a lighter attitude I may have been able to love them. Sadly, for dBase files that is, I’ve grown to hate them and everything their file specification stands for.

Just when I thought I was done dealing with them and that my existing code would be able to handle all my dBase interfacing needs, I learned that I will need to add support for dBase macros (.dbt files)… goody. This is something that not even PHP’s module for dBase files supports.

Sounds like I’ve got plenty more dBase love coming my way…

Wish me luck and no – I have not died. Schools over so hopefully I’ll be starting some interesting projects soon. ;)

February 16, 2008

WhippingBot – Update

Filed under: Linux, My Programs — Mr. Pig @ 7:23 pm

Well, I was less lazy than I originally thought I’d be and I added scripting support. It’s not done YET but I’m making progress. This is the userscript.py file (must be called that; directory can be changed via the bot’s settings file); it contains the bot command “HelloWorld” so if I typed “@HelloWorld” (@ being the bot prefix) it would return in a Private Message or in the channel “MY_NICK: Hello World; this was coded with Python scripting!”:

# Python Functions for Mr. Pig’s IRC Bot
# Python Scripting Interface (Actual
# Functions)
# ————————————–
# Code the function, have it return a
# value. Value returned will be sent to
# channel/user.
# ————————————–
# Functions prefixes:
# mpCmd_All_NAME() – Both Private Msg and Channel
# mpCmd_Priv_NAME() – Private Msg ONLY
# mpCmd_Chan_NAME() – Channel Msg ONLY
# ————————————–

# Import C++ to Python Interface and related functions
import MPIRC_INTERFACE
from MPIRC_INTERFACE import *

def mpCmd_All_HelloWorld(sData):

sCaller = MPIRC_INTERFACE.mpirc_getCallerNick(sData)
return sCaller + “: Hello World; this was coded with Python scripting!”

All you need to do to add a new function is add a new function define! Maybe I’ll get around to releasing it…

More info here.

February 12, 2008

WhippingBot – FreeNode IRC Bot

Filed under: Linux, My Programs — Mr. Pig @ 4:54 pm

In order to remind myself of all the Linux API’s and create a decent program to use for the testing of some networking classes I had to code, I developed an IRC bot in C++ for Linux. I kinda got carried away with the original purpose as just testing and added some cool useless functions to the bot. Beyond the fact that I can remotely control him, he supports the following commands:

@spell word – Checks spelling using aspell API

@define word – Defines a word via google

@defineUrban word – Defines a word via UrbanDictionary

@speak topic – Quotes something; unless you know the topics don’t enter one

@time – Tells you the time in EST

He’ll respond to those in a channel or in a private message (both require the commands to be prefixed with @). Within irc.freenode.net you can message him with a nick of WhippingBot. If you want him in your channel message me with a nick of Mr_Pig and I’ll add him to your channel.

He’s rather useless but fun to mess around with.

Depending how lazy I am I may add scripting support so more commands can be scripted in. If this happens I may release him (source and all). This remains to be seen.

(Currently Executing Release: 0.2.0)

February 7, 2008

Merc Zboard “Driver” Version 0.2.0

Filed under: Linux, My Programs — Mr. Pig @ 1:38 pm

Small update to my “driver” for the MERC Zboard on Linux. Updated due to some changes requested by “Craig”.
READ THE README – and anything the shell scripts say.

Changelog:

==============================================
Zboard Config Changelog
Copyright (C) 2007 Matt Razza
==============================================

Version 0.1.1 – Version 0.2.0

Added:
-Added support for -f
-Added a new settings file (zboard-sys.conf)
-Added support for “loadkeys” and not xmodmap

Changed:
-Verbose error reporting off by default

Fixed:

Removed:

Download Source (tar.bz2) MD5: 39cde7a58e40847abf1c8cb6b159dd7b

Gentoo ebuild (provided by Ken (changed file name – which should make it use 0.2.0)).

License

January 15, 2008

New Teamspeak Spammer

Filed under: My Programs — Mr. Pig @ 11:24 pm

Here is a link to download a new TeamSpeak spammer (an actual one vs the sendkey based one before). This one is only limited by your bandwidth and can connect an unlimited fake clients at a time.

For aggressive distributed version of this program (managed remotely) contact me directly for pricing and information.

Download TeamSpeak Spammer: Here

Special thanks to Tasky for spending the few minutes to grab the protocol. Source code will not be released. Just enter the TeamSpeak IP and Port when prompted (SEPARATELY).

December 24, 2007

Watch This!

Filed under: Personal — Mr. Pig @ 4:03 am

Watch this entire video; the most important thing you can do it listen to all – and question everything. By this I mean; listen to this video – question it. Listen to the media – question it. Listen to your teachers and parents – question it. Listen to the government – question it.

Never just accept.

http://video.google.com/videoplay?docid=-1656880303867390173

November 19, 2007

Broadcast to Unicast Translator

Filed under: Linux, My Programs — Mr. Pig @ 8:34 pm

I made a broadcast to unicast translator (UDP) so me and my friends can play C and C 3 (one of my pals is on Linux). It can be used for a bunch of stuff (like getting people to show up in the network browser for C and C 3/Generals on Linux; as well as generic packet forwarding).
The read-me explains the settings needed to play C and C 3 over a network with a Linux computer. Other games may require some basic scanning from a packet sniffer (I recommend Wireshark) to determine the target packet size (otherwise you may be sending overflows to the target; not fun).

Current Version: 1.1.2 (Released on 11/25/07 @ 13:10 EST/EDT)

Supports:

  • More than one unicast target
  • File exec
  • Per-target port setting
  • Expected packet size filtering
  • Allow/Disallow Broadcast to Unicast Overlap (Allow/Disallow resending of broadcasts back to broadcaster)

What’s to come:

  • Packet header editing; IP Spoofing – Unicast looks like it came from broadcaster
  • Full IPv4 Packet Support (TCP, ICMP, etc; currently only supports UDP)

Download latest stable version: Here

Feel free to leave comments/source code requests.

« Previous PageNext Page »