Advertisement
zakirmaker

Bot Notifier.id

Oct 9th, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.07 KB | None | 0 0
  1. <?php
  2. Class bot {
  3. Public function acak($jumlah_string){
  4.     $string = "abcdefghijklmnopqrstuvwxyz0123456789";
  5.     for($i=0; $i<=$jumlah_string; $i++){
  6.         $pos = rand(0,36);
  7.         $str .= $string{$pos};
  8.     }
  9.     return $str;
  10.  
  11. }
  12. Public function domain(){
  13. $a = array(".com",".org",".net",".co",".gov");
  14. $q = array_rand($a);
  15. return $a[$q];
  16. }
  17. public function negara(){
  18. $a = array(".id",".il",".bd","jp");
  19. $q = array_rand($a);
  20. return $a[$q];
  21. }
  22. Public function kirim($web){
  23. $url = "https://notifier.id/notify_act.php";
  24. $curlHandle = curl_init();
  25. curl_setopt($curlHandle, CURLOPT_URL, $url);
  26. curl_setopt($curlHandle, CURLOPT_POSTFIELDS, "hacker=botnet&team=BOTBYZAKIRDOTID&url=".$web."&poc=SQL");
  27. curl_setopt($curlHandle, CURLOPT_HEADER, 0);
  28. curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, 1);
  29. curl_setopt($curlHandle, CURLOPT_TIMEOUT,30);
  30. curl_setopt($curlHandle, CURLOPT_POST, 1);
  31. curl_exec($curlHandle);
  32. curl_close($curlHandle);
  33. }
  34. public function __construct(){
  35. $web = $this->acak(11).$this->domain()."/ind.txt";
  36. $this->kirim($web);
  37. echo $web;
  38. }
  39. }
  40. $zak = new bot();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement