Wednesday, January 25, 2012

Bypassing Gmail's Executable Attachment Restriction

A few hours ago I tried to download a build of a program that was uploaded to, except that with the recent shutdown of MegaUpload, has ceased all dealings with anyone whose IP address originates in the United States of America.

So I had a friend overseas download the program and tried to send it to me, except for the fact that Gmail doesn't allow executable attachments, among others.

So, me and my buddy overseas cooked up an idea to bypass this. What if we just dropped the .exe extension and also used a simple XOR cipher to encrypt the data? Using a key of 0xFF, I came up with this program (after a few bug-fixing revisions, click for larger view):

The source is freely available on the text-snipplet site, View the source (updated 2012-01-27 01:32)

Monday, January 02, 2012


First off, Happy New Year 2012!

Secondly, Portmaster for FreeBSD is funny. Let me just demonstrate:

===>>> Proceed? y/n [y] yes
        ===>>> yes is not a valid response
===>>> Proceed? y/n [y]
I'm not sure if it's a bug or not, but it still makes me laugh. :)