Guest User

Untitled

a guest
Sep 13th, 2016
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.85 KB | None | 0 0
  1. <?php
  2. echo"Phone: ";$phno=trim(fgets(STDIN));
  3. echo"Message: ";$msg=trim(fgets(STDIN));
  4. echo"Message Length: ".strlen($msg)."\nSending...";
  5. $yournumber=''; //your number inside the single quotes
  6. $yourpassword='';//your password inside the single quotes
  7. $cur=curl_init("http://160by2.com/re-login");
  8. curl_setopt($cur,CURLOPT_POST,1);
  9. curl_setopt($cur,CURLOPT_POSTFIELDS,"username=$yournumber&password=$yourpassword");
  10. curl_setopt($cur,CURLOPT_COOKIESESSION,1);
  11. curl_setopt($cur,CURLOPT_COOKIEJAR,"cookie");
  12. curl_exec($cur);
  13. curl_close($cur);
  14. $cur=curl_init("http://160by2.com/SendSMSAction");
  15. curl_setopt($cur,CURLOPT_POST,1);
  16. curl_setopt($cur,CURLOPT_AUTOREFERER,1);
  17. curl_setopt($cur,CURLOPT_COOKIEFILE,"cookie");
  18. curl_setopt($cur,CURLOPT_POSTFIELDS,"mobile1=$phno&msg1=$msg&action1=sa65sdf656fdfd");
  19. $x=curl_exec($cur);
  20. curl_close($cur);
  21. echo"\nSent!";
Add Comment
Please, Sign In to add comment