scriptz-team

[PHP] Ping script for heello.com

May 20th, 2012
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. <?php
  2. /* _____ _____ _ _____ _____ _____ _____ _____ _____
  3. ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
  4. |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
  5. |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
  6. |s C R i P T z - T E A M . i N F O|
  7.  
  8. Ping script for heello.com
  9. */
  10.  
  11. define("USR", "USER_NAME_GOES_HERE");
  12. define("PWD", "PASSWORD_NAME_GOES_HERE");
  13. define("MSG", "Message");
  14.  
  15. $x11 = "curl_init";
  16. $x12 = "curl_exec";
  17. $x14 = "error_reporting";
  18. $x15 = "flush";
  19. $x16 = "ob_flush";
  20. $x17 = "rand";
  21. set_time_limit(false);
  22. $x14(0);
  23. $x0e = $x11();
  24. curl_setopt_array($x0e, array(
  25. CURLOPT_URL => "http://heello.com/sessions.json",
  26. CURLOPT_RETURNTRANSFER => 1,
  27. CURLOPT_COOKIEJAR => "cookie.txt",
  28. CURLOPT_SSL_VERIFYPEER => 0,
  29. CURLOPT_COOKIE => null,
  30. CURLOPT_HEADER => true,
  31. CURLOPT_NOBODY => false,
  32. CURLOPT_POSTFIELDS => "username=".USR."&password=".PWD."&persist=false"
  33. ));
  34. $x0f = $x12($x0e);
  35. $x0e = $x11();
  36. curl_setopt_array($x0e, array(
  37. CURLOPT_URL => "http://heello.com/pings.json",
  38. CURLOPT_RETURNTRANSFER => 1,
  39. CURLOPT_SSL_VERIFYPEER => 0,
  40. CURLOPT_COOKIEFILE => "cookie.txt",
  41. CURLOPT_HEADER => true,
  42. CURLOPT_NOBODY => false,
  43. CURLOPT_POSTFIELDS => "text=".MSG."&export_twitter=0&export_facebook=0"
  44. ));
  45. $x10 = $x12($x0e);
  46. $x15();
  47. $x16();
  48. ?>
Advertisement
Add Comment
Please, Sign In to add comment