Skip to content

Instantly share code, notes, and snippets.

@raf-sh
raf-sh / deobfuscation.php
Created December 13, 2017 14:14 — forked from MKorostoff/deobfuscation.php
My attempt to de-obfuscate a PHP exploit file discovered on a hacked server.
<?php
/**
* First, we're going to establish an alphabet. We're never going to write code like:
*
* $foo = 'abc'
*
* Because it would be too easy to read. Instead, were' going to write code like:
*
* $alphabet = 'abcdefghijklmnopqrstuvwxyz';