I initially created irrfuscator last year to obfuscate ActionScript 3.0 source code, .as and .mxml files. It seemed to be quite useful for some people, but having to obfuscate a large amount of source files and then needing to recompile them is a bit inconvenient, so I added this option now.
irrFuscator will open the .swf, search for action script 3 bytecode sections and mess around with them. After this, a new SWF is created, packed and written out, simple as that. It was quite interesting to implement, but not as hard as I thought it would be. Learned a lot. Most unusual about the .swf file format: Reading a simple 32 bit integer value out of an (already decompressed) .swf file requires about 12 lines of code. That's a small first obstacle in the beginning if you should ever try to implement something like this yourself :)
five comments, already:
where I may find more data?
Flame - 19 01 09 - 18:12
Wow Niko you keep me amazed! I admire your productivity :)
By the way are you still freelancing or you already have a day job? I think many would love to hear that side. I also quit work some time ago to start my own project. I had some money saved up, but it did not last too long, since my lifestyle required too much money :) Now I have a paid job again, and try to do my own stuff in evenings, but it is sooo hard I do not have an energy!
Martins1 - 19 01 09 - 21:02
cool stuff, niko.
Virion () - 19 01 09 - 22:30
Where I can to find blogs on thsi topic?
Barry - 20 01 09 - 12:52
Arggg. 12 lines just to read a 32 bit int value ? I hope that it’s for good reasons !! I remember trying to read WMF Files (OK, it’s a completely different format), and when you have such a complex format (in the other case, with no reason at all IMHO), it rapidly become a nightmare to work with it
Hervé () (link) - 24 01 09 - 02:01