Advertisement
Guest User

Untitled

a guest
Oct 18th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. <?php
  2. session_start();
  3. if(!isset($_POST['url']))(
  4. echo "Maho";
  5. } else{
  6. $username = "mfaruk";
  7. $password = "farukganteng123";
  8. $url ="http://wingram.net/premium/userlogin.php";
  9. $postinfo = "username=".Susername."&password=".$password;
  10.  
  11. $cookie_file_path = "cookie.txt';
  12.  
  13. $ch = curl_init();
  14. curl_setopt($ch, CURLOPT_HEADER, false);
  15. curl_setopt($ch, CURLOPT_NOBODY, false);
  16. curl_setopt($ch, CURLOPT_URL, $url);
  17. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, O);
  18.  
  19. curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
  20. curl_setopt($ch, CURLOPT_COOKIE, "cookiename=0");
  21. curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (windows; U; Windows NT 5.0; en-US; rvz1.7.12) Gecko/20050915
  22. Firefox/1.0.7");
  23. curlnsctopt($ch, CURLOPTHRETURNTRANSFER, 1);
  24. curl_sctopt($ch, CURLOPT_REFERER, $_SERVER['REQUEST_URI'));
  25. curlasetopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  26. curl_sctopt($ch, CURLOPT_FOLLOWLOCATION, 0);
  27. curl_setopt($ch, CURLOPT_CUSTOMREQUEST. "POST");
  28. curl_setopt($ch, CURLOPT_POST, 1);
  29. cur1_setopt($ch, CURLOPT_POSTFIELDS, $postinfo);
  30. curl_exec($ch);
  31. $url = mysql_escape_string($_POST['url']);
  32. $postinfo2 = "url=".$url."&jumlah=1000";
  33. curl_setopt($ch, CURLOPT_URL, "http://wingram.net/premium/likesmasukneraka.php");
  34. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  35. curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
  36. curl_setopt($ch, CURLOPT_COOKIE, "cookiename=0");
  37. curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:l.7.12) Gecko/20050915
  38. Firefox/1.0.7");
  39. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  40. cur1_setopt($ch, CURLOPT_REFBRER, $_SERVER['R£OUEST_URI'));
  41. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  42. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
  43. curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
  44. curl_sctopt($ch, CURLOPT_POST, 1);
  45. curl_sctopt($ch, CURLOPTHPOSTFIELDS. $postinfoz);
  46. $x = curl_exec($ch);
  47. echo "Sukses menembah Likes";
  48. }
  49. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement