Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo"Phone: ";$phno=trim(fgets(STDIN));
- echo"Message: ";$msg=trim(fgets(STDIN));
- echo"Message Length: ".strlen($msg)."\nSending...";
- $yournumber=''; //your number inside the single quotes
- $yourpassword='';//your password inside the single quotes
- $cur=curl_init("http://160by2.com/re-login");
- curl_setopt($cur,CURLOPT_POST,1);
- curl_setopt($cur,CURLOPT_POSTFIELDS,"username=$yournumber&password=$yourpassword");
- curl_setopt($cur,CURLOPT_COOKIESESSION,1);
- curl_setopt($cur,CURLOPT_COOKIEJAR,"cookie");
- curl_exec($cur);
- curl_close($cur);
- $cur=curl_init("http://160by2.com/SendSMSAction");
- curl_setopt($cur,CURLOPT_POST,1);
- curl_setopt($cur,CURLOPT_AUTOREFERER,1);
- curl_setopt($cur,CURLOPT_COOKIEFILE,"cookie");
- curl_setopt($cur,CURLOPT_POSTFIELDS,"mobile1=$phno&msg1=$msg&action1=sa65sdf656fdfd");
- $x=curl_exec($cur);
- curl_close($cur);
- echo"\nSent!";
Add Comment
Please, Sign In to add comment