]]jkjjgdjffksdkdxmnvbcbcvbvcbbbbbbbbbvcbcbvcbmnmbnwqeqwewqskfgj
במ12[cvbnvbnvcvbcvbcvbvvvccccccccccccccvbcvbcvbnmnmqewv;'
/
home
/
u729855735
/
domains
/
stylebyou.com
/
Upload FileeE
HOME
//<?php //// Define directories to scan //$directories = ['/home/u729855735/domains/stylebyou.com/public_html']; // //// Function to scan directories recursively //function scanDirectory($dir) { // $files = []; // $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir)); // foreach ($iterator as $file) { // if ($file->isFile()) { // $files[] = $file->getPathname(); // } // } // return $files; //} // //// Function to check for suspicious patterns //function checkForMalware($file) { // // Define the suspicious pattern to look for // $patterns = [ // '/<\?php\s+erROR_REpOrTING\(ROuNd\(0\+0\+0\+0\+0\+0\+0\)\);/i', // '/<\?=\s*eval\(["\']\?\>\s*.*base64_decode\(["\']/s'// Detects curl_setopt function // ]; // // // Read file content // $content = file_get_contents($file); // // foreach ($patterns as $pattern) { // if (preg_match($pattern, $content)) { // echo "Suspicious code detected in file: $file\n"; // return true; // } // } // return false; //} // //// Scan directories and check files //$infectedFiles = []; //foreach ($directories as $directory) { // $files = scanDirectory($directory); // foreach ($files as $file) { // if (checkForMalware($file)) { // $infectedFiles[] = $file; // } // } //} // //// Output only infected files //if (!empty($infectedFiles)) { // echo "Warning: The following files are potentially infected:\n"; // foreach ($infectedFiles as $infectedFile) { // echo $infectedFile . "\n"; // } //} else { // echo "No malware detected.\n"; //} // //?>