xxxxxxxxxx
<?php
// _ _ _ _____ _____
// | \ | | | | |_ _| __ \
// | \| |_ _ ___ _ __ __| | ___ _ __| | | | | |
// | . ` | | | |/ _ \ '_ \ / _` |/ _ \ '__| | | | | |
// | |\ | |_| | __/ | | | (_| | __/ | _| |_| |__| |
// |_| \_|\__, |\___|_| |_|\__,_|\___|_||_____|_____/
// __/ |
// |___/
// Copyright © NyenderID
// Free blocker tools v1.0 (3,386,570 ip bot has been captured)
// Created on Saturday, July 9, 2022
// You can type the script or download here
​
$ip = $_SERVER['REMOTE_ADDR'];
​
$url = "https://nyender.id/blocker.php?ip=$ip";
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$resp = curl_exec($ch);
curl_close($ch);
$result = $resp;
if($result == "Y") {
$save = fopen("nydrid-blocked.txt","a");
fwrite($save,"$ip|Block by NyenderID"."\n");
fclose($save);
header('HTTP/1.0 403 Forbidden');
die('<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You dont have permission to access / on this server.</p></body></html>');
exit();
}