|
Posted February 12 2011 I needed some valid SWF files with constrained character sets for an injection PoC. Putting them here in case someone else needs some. PHP has finally taken the plunge into the 1960s by implementing GOTO. Here's an implementation for Java. A patch for a serious Java bug. No longer needed as of June 16. Max & Michael have written a Max/MSP driver based on the multitouch code.
My CSS-fu is weak; please use a recent browser. Random, semi-related image by Erik J. Gustafson. |
ASCII/UTF-8 SWFsI needed some valid SWF files with constrained character sets for an injection PoC. Putting them here in case someone else needs some. Valid UTF-8Raw file | Hex | Disassembly This one is technically not a valid SWF file, but undefined tags are ignored by the player, so it still works. The invalid chunks are needed to get around the fact that the push opcode (0x96) used to introduce string constants can only appear as part of a utf-8 sequence. ASCII onlyRaw file | Hex | Disassembly This one avoids constants altogether by spinning its own strings out of pieces of fluff it finds lying around: The current time stamp xored with itself is 0. The length of "0" is 1. From there, you can use + to create the other positive integers, then pass them to ActionAsciiToChar to create the strings you need. Alok'sAlok Menghrajani optimized the shit out of the ASCII flash. 79 bytes, no nulls, no high bytes. Needs parameters to work. Comments |