-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy pathcardpwn.py
79 lines (67 loc) · 2.37 KB
/
cardpwn.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
import os
import sys
import requests
from googlesearch import search
R = '\033[31m' # red
G = '\033[32m' # green
C = '\033[36m' # cyan
W = '\033[0m' # white
version = '1.4'
def banner():
os.system('clear')
banner = r'''
_____ _______
/ __ \ | | ___ \
| / \/ __ _ _ __ __| | |_/ /_ ___ __
| | / _` | '__/ _` | __/\ \ /\ / / '_ \
| \__/\ (_| | | | (_| | | \ V V /| | | |
\____/\__,_|_| \__,_\_| \_/\_/ |_| |_|'''
print(G + banner + W + '\n')
print(G + '[>] ' + R + 'Created by : ' + W + 'Hacker Destination')
print(G + '[>] ' + R + 'Version : ' + W + version)
def cardpwn():
urls = []
qlist = []
total_url = []
paste_sites = ['cl1p.net', 'dpaste', 'dumpz.org', 'hastebin', 'ideone', 'pastebin', 'pw.fabian-fingerle.de','gist.github.com','https://www.heypasteit.com/','ivpaste.com','mysticpaste.com','paste.org.ru','paste2.org','sebsauvage.net/paste/','slexy.org','squadedit.com','wklej.se','textsnip.com']
card = input(G + '[+] ' + R +'Enter Card No. -> ' + W)
try:
val = int(card)
if len(str(val)) >= 12 and len(str(val)) <= 19:
for site in paste_sites:
query = '{} {}'.format(site, card)
qlist.append(query)
for entry in qlist:
for url in search(entry, pause=2.0, stop=20, user_agent='Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0'):
urls.append(url)
print('\n' + G + '[>]' + R + ' Getting Dumps...' + W + '\n')
for item in urls:
for site in paste_sites:
if '{}'.format(site) in item:
print(G + '[+] ' + C + item + W)
total_url.append(item)
else:
print('\n' + R + '[!] ' + G + 'Invaild Card Number' + W + '\n')
return cardpwn()
total = len(total_url)
if total == 0:
print (R + '[-] No Open Leaks for this Card Number Found.' + W + '\n')
else:
print('\n' + G + '[+]' + R + ' Total Dumps Found : ' + W + str(total) + '\n')
except ValueError:
print('\n' + R + '[!] Invaild Card Number Entered...' + W + '\n')
def network():
try:
requests.get('https://github.com/', timeout = 5)
print ('\n' + G + '[+]' + R + ' Checking Internet Connection...' + W, end = '')
print (G + ' Working' + W + '\n')
except requests.ConnectionError:
print (R + '[!]' + R + ' You are Not Connected to the Internet...Quiting...' + W)
sys.exit()
try:
banner()
network()
cardpwn()
except KeyboardInterrupt:
print ('\n' + R + '[!]' + R + ' Keyboard Interrupt.' + W)
exit()