Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files via upload #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions cardpwn.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@

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()