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 uploaded.to, except that with the recent shutdown of MegaUpload, uploaded.to 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, Pastebin.com. View the source (updated 2012-01-27 01:32)

No comments: