Advertisement
Ast3riot

claws.php

Feb 25th, 2020
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.54 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. /**
  4. # Copyright (c) 2018 IDSYSTEM404.
  5. # Author      : Wahyu Arif P
  6. # Version     : v1
  7. # Created     : 07 Mei 2018 | 18:43:05
  8. # Last Update : 08 Mei 2018 | 07:20:21
  9. # "Hargai Copyright jangan di Ubah!"
  10.                         -Wahyu Arif P
  11. **/
  12. echo "\n\e[1;35m============================[ AUTO VISITOR ]==========================\e[0m\r\n";
  13. $banner     = "  
  14. \e[1;35m======================================================================
  15. Feature :
  16. - Auto change IP.
  17. - Support Proxy.
  18. - Add delay time.
  19. - 20 UserAgent.
  20. \e[1;31mNB :
  21. *URL harus di awali dengan 'http:// or https://'
  22. *Proxy : IP:PORT | Misalkan : 127.0.0.1:80 | atau Kosongi aja! \e[0m
  23. \e[1;35m======================================================================\e[0m\n";
  24.  
  25. print $banner;
  26.  
  27. $authorceo = 'IDSYSTEM404';
  28.  
  29. echo "\nURL         : ";
  30. $url = trim(fgets(STDIN, 1024)); /** MANUAL URL $url = 'URL or Target'; **/
  31. echo "\nJumlah      : ";
  32. $jumlah = trim(fgets(STDIN, 1024));
  33. echo "\nProxy       : ";
  34. $proxy       = rtrim( fgets( STDIN));
  35. echo "\n";
  36.  
  37. echo "\n\e[1;35m+=========================\e[0m[# \e[1;32mPROSES\e[0m #]\e[1;35m=========================+\e[0m\n";
  38. // $url = 'http://'.substr(trim($url), 1);
  39. for ($x=1; $x<=$jumlah; $x++) {
  40.  
  41. /** FUNCTION CURL **/
  42. $idsystem404 = curl_init();
  43. curl_setopt($idsystem404, CURLOPT_URL, "https://idsystem404.000webhostapp.com/api/api-autovisitor.php?url=".$url);
  44. curl_setopt($idsystem404, CURLOPT_REFERER, "https://www.google.com");
  45. curl_setopt($idsystem404, CURLOPT_HEADER, 0);
  46. curl_setopt($idsystem404, CURLOPT_PROXY, $proxy);
  47. curl_setopt($idsystem404, CURLOPT_HTTPPROXYTUNNEL, $proxy);
  48. curl_setopt($idsystem404, CURLOPT_FOLLOWLOCATION, true);
  49. curl_setopt($idsystem404, CURLOPT_RETURNTRANSFER, true);
  50. curl_setopt($idsystem404, CURLOPT_SSL_VERIFYPEER, false);
  51. curl_setopt($idsystem404, CURLOPT_TIMEOUT, 10);
  52. curl_setopt($idsystem404, CURLOPT_ENCODING, "gzip");
  53. $exec = curl_exec($idsystem404);
  54. if(!curl_errno($idsystem404)){
  55. //$info = curl_getinfo($idsystem404, CURLINFO_HTTP_CODE);
  56. $info = curl_getinfo($idsystem404);
  57. $ip = $info['primary_ip'];
  58. $port = $info['primary_port'];
  59. $code = $info['http_code'];
  60. curl_close($idsystem404);
  61.     if ($exec == "primary_ip") {
  62.         $jumlah += 1;
  63.         echo "ERROR";
  64.         flush();
  65.         sleep(0); /** Delay **/    
  66.     } else {
  67.         echo "$x. [\e[1;31m $authorceo \e[0m] | URL : [\e[1;34m $url \e[0m] [\e[1;33m $ip:$port \e[0m] [ \e[1;92mSUCCESS ]\e[0m\n";
  68.         flush();
  69.         sleep(0); /** Delay **/    
  70.     }
  71. }
  72. }
  73. echo "\n\e[1;31mERROR : Silahkan Periksa Koneksi Internet atau Isi Isian diatas dengan Benar!\e[0m\n";
  74. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement