This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # require rack fastcgi {{{ | |
| require 'rack/handler/fastcgi' | |
| # support for ruby 1.9.x {{{ | |
| class FCGI; class ValuesRecord | |
| def self::read_length(buf) | |
| if buf.getbyte(0) >> 7 == 0 | |
| buf.slice!(0, 1).getbyte(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # who the fuck said Ruby couldn't be hacky, NEVER DO THIS IT IS STUPID | |
| # AND DOING IT WRONG TOO | |
| require 'socket' | |
| # DEBUG {{{ | |
| class TCPSocket | |
| alias __gets__ gets | |
| def gets(*args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Very simple mysql breaker | |
| * DEVELOPER: shura, member of HUF, see https://hackers-uf.org/ | |
| * | |
| * This program is free software. It comes without any warranty, to | |
| * the extent permitted by applicable law. You can redistribute it | |
| * and/or modify it under the terms of the Do What The Fuck You Want | |
| * To Public License, Version 2, as published by Sam Hocevar. See | |
| * http://sam.zoy.org/wtfpl/COPYING for more details. | |
| * |
NewerOlder