Advertisement
fadhiilrachman

Eka Hacker PHP

Mar 18th, 2013
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.44 KB | None | 0 0
  1. <?php
  2. // Dibuat oleh @dloetz7 www.fadhiilrachman.net fb.com/mrneutronz
  3.  
  4. // Mungkin ini berguna utk menghilangkan rasa nyeri otot pada server loe
  5. error_reporting(false);
  6. header("Content-type:text/plain"); // kalo gak bisa, coba dihapus baris ini
  7. //###########################
  8. // ganti id twitter loe, ga tau id loe? caranya http://bit.ly/VLaTmB
  9. $idid = array(
  10.  479555359,
  11.  1160003437
  12. );
  13. $didi = array_rand($idid);
  14. //###########################
  15. $dewadewi = array(
  16.    "tambahfollow.es",
  17. // "tambahfollowers.us",
  18. // "banyakfollowers.us",
  19. // "aoret.us"
  20. );
  21. $dewidewa = array_rand($dewadewi);
  22. //###########################
  23. $hd = fopen("logs.txt","a");
  24. $post = array(
  25.  "follow" => $idid[$didi]
  26. );
  27. // kirim req ke URL tujuan
  28. $hasil = post_request("http://".$dewadewi[$dewidewa]."/submit.php", $post);
  29. //###########################
  30. if($hasil["status"]=="ok"){
  31.   // tulis hasilnya
  32.   fwrite($hd, $hasil["header"]);
  33.   fclose($hd);
  34. }else{
  35.   // tulis hasilnya
  36.   fwrite($hd, $hasil["error"]);
  37.   fclose($hd);
  38. }
  39. //###########################
  40. // Kalau gak bisa dengan function post_request kamu bisa memakai function dari cURL
  41. /*
  42. foreach($post as $a=>$b){$postku .= $a.'='.$b.'&';}
  43. rtrim($fields_string, '&');
  44. $ch = curl_init();
  45. curl_setopt($ch,CURLOPT_URL,"http://".$dewadewi[$dewidewa]."/submit.php");
  46. curl_setopt($ch,CURLOPT_POST,count($post));
  47. curl_setopt($ch,CURLOPT_POSTFIELDS,$postku);
  48. $hasilku = curl_exec($ch);
  49. print $hasilku;
  50. */
  51. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement