Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- set_time_limit();
- /**
- * Code Name : Mass Checker SOCKS5
- * Release : 1.0.1 build 210816
- * Author : SHOR7CUT (http://facebook.com/bug7sec)
- * Team : BUG7SEC | INDOXPLOIT CODERS TEAM | TUBAN CYBER TEAM | DEFACER TERSAKITI TEAM
- *
- * PHP Version : 5.5.35
- */
- $fgt = file_get_contents("proxy.txt");
- $type = array(
- 'CURLPROXY_SOCKS5'
- );
- $pro = explode("\r\n", $fgt);
- foreach ($pro as $key => $proxy) {
- foreach ($type as $kexxy => $tipe) {
- $cURL = curl_init();
- curl_setopt($cURL, CURLOPT_URL, "http://ip-api.com/json");
- curl_setopt($cURL, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($cURL, CURLOPT_CONNECTTIMEOUT ,0);
- curl_setopt($cURL, CURLOPT_TIMEOUT, 10); //timeout in second
- curl_setopt($cURL, CURLOPT_PROXYTYPE, $tipe);
- curl_setopt($cURL, CURLOPT_PROXY, $proxy);
- $data = json_decode(curl_exec($cURL),true);
- if( $data['status'] ){
- echo $proxy."\r\n";
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement