Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP deobfuscator
08-06-2015, 07:30 AM (This post was last modified: 07-25-2016 08:49 AM by object0.)
Post: #1
PHP deobfuscator
Hi everyone.
A couple years ago I was very passionate about PHP/JS decoding and reverse engineering in general. I made more than 40 (private) decoders in 2012 just for academic purposes (I love challenges, you know). After becoming a father for first time I left the scene.

My current job is related to web development, security audit, malware analysis, etc. I realize that digging into obfuscated PHP code is PITA that's why I made my own PHP deobfuscator, see screenshot.

obfuscated:
PHP Code:
<?php        

$fff 
"flock";        
if (
$fff($aaaLOCK_EX)) {
    
$fff($aaaLOCK_UN);
}

function 
aaa() {
    
$fff2 "fget";        
    if (
$fff2($aaaLOCK_EX)) {
        
$fff2($aaaLOCK_UN);
    }


deobfuscated:
PHP Code:
<?php

if (flock($aaaLOCK_EX)) {
    
flock($aaaLOCK_UN);
}
function 
aaa()
{
    if (
fget($aaaLOCK_EX)) {
        
fget($aaaLOCK_UN);
    }


   

update:
   

Does anyone already have success with similar tools?

Security Audit, Web Development, PHP & JavaScript Decoding & Deobfuscation, Debugging, Bug Fixing, Reverse Engineering
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
PHP deobfuscator - object0 - 08-06-2015 07:30 AM
RE: PHP deobfuscator - Cyko - 08-09-2015, 07:31 PM
RE: PHP deobfuscator - JackRabbit - 08-10-2015, 06:56 PM
RE: PHP deobfuscator - onsitbin - 02-29-2016, 03:04 PM
RE: PHP deobfuscator - object0 - 06-28-2016, 01:59 PM
RE: PHP deobfuscator - Cyko - 07-09-2016, 04:01 PM
RE: PHP deobfuscator - object0 - 07-25-2016, 08:22 AM
RE: PHP deobfuscator - Cyko - 09-04-2016, 03:40 PM
RE: PHP deobfuscator - tboner - 02-28-2017, 05:12 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | Homepage | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication