Skip to content

Instantly share code, notes, and snippets.

@ttttmr
ttttmr / fcgi_jailbreak.php
Last active June 12, 2019 16:48 — forked from wofeiwo/fcgi_jailbreak.php
Jail break for PHP 5.3.3+ FASTCGI
<?php
/**
* PHP 5.3.3+ FASTCGI jailbreak
*
* @author wofeiwo <wofeiwo#80sec.com>
* @date 2013-01-23
* @version 1.0
* @reference https://bugs.php.net/bug.php?id=64103
* @reference http://www.wooyun.org/bugs/wooyun-2013-018116 (Chinese)
* @note disable php security settings, but can't overwrite disable_function/disable_classes.