Added ghostbin.co Support

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2021-06-03 14:24:57 +05:30
parent 632e6f10b7
commit 73df8114fc
3 changed files with 127 additions and 0 deletions

35
ghost-co.py Normal file
View File

@ -0,0 +1,35 @@
import string
import threading
import random
import requests
import platform
from colorama import Fore, init
if platform.system() != 'Linux':
init(convert=True)
def save_url(content):
with open('./ghostbin/hits.txt', 'a+') as f:
f.write(content + '\n')
def check_urls():
while True:
code = ''.join(random.choice(string.ascii_lowercase + string.digits) for i in range(5))
r = requests.get(f'https://ghostbin.co/paste/{code}')
if r.status_code == 404:
print(f'[{Fore.RED}404{Fore.RESET}] => {r.url}')
else:
save_url(r.url)
print(f'[{Fore.GREEN}{r.status_code}{Fore.RESET}] => {r.url}')
def main(threads):
if threading.active_count() <= threads:
t = threading.Thread(target=check_urls)
t.start()
thread = int(input("How many threads: "))
main(thread)

18
ghostbin-co/checker.py Normal file
View File

@ -0,0 +1,18 @@
'''
This will most likely blow your pc up, so use your brain, read the code and think of what can happen.
'''
import requests
file_name = input("File name of the ghostbin.co valid brutes: ")
f = open(file_name).read().split('\n')
def save_content(file, content):
with open(file, 'a+', encoding='utf-8') as f:
f.write(content)
for link in f:
r = requests.get(link + '/raw')
save_content(link.split('/')[4], r.text)
f.close()
print("Finished.")

74
ghostbin-co/hits.txt Normal file
View File

@ -0,0 +1,74 @@
https://ghostbin.co/paste/42r2n
https://ghostbin.co/paste/osvzs
https://ghostbin.co/paste/9pfw8
https://ghostbin.co/paste/qavvz
https://ghostbin.co/paste/gfd8k
https://ghostbin.co/paste/txma8
https://ghostbin.co/paste/2nnux
https://ghostbin.co/paste/qmgdc
https://ghostbin.co/paste/ba55q
https://ghostbin.co/paste/aq2nk
https://ghostbin.co/paste/swjtb
https://ghostbin.co/paste/kzuuc
https://ghostbin.co/paste/tychd
https://ghostbin.co/paste/baq52
https://ghostbin.co/paste/mdh7f
https://ghostbin.co/paste/vf8vt
https://ghostbin.co/paste/4szzz
https://ghostbin.co/paste/639yb
https://ghostbin.co/paste/zc6er
https://ghostbin.co/paste/3f3zy
https://ghostbin.co/paste/gugdj
https://ghostbin.co/paste/wwyba
https://ghostbin.co/paste/xks8y
https://ghostbin.co/paste/8cvz5
https://ghostbin.co/paste/457a4
https://ghostbin.co/paste/oomax
https://ghostbin.co/paste/erckh
https://ghostbin.co/paste/orguo
https://ghostbin.co/paste/m5rjr
https://ghostbin.co/paste/yag3p
https://ghostbin.co/paste/mrts7
https://ghostbin.co/paste/953ta
https://ghostbin.co/paste/6mewx
https://ghostbin.co/paste/o5w2q
https://ghostbin.co/paste/4zawv
https://ghostbin.co/paste/rhsab
https://ghostbin.co/paste/u6y4q
https://ghostbin.co/paste/auh9u
https://ghostbin.co/paste/5vvvd
https://ghostbin.co/paste/4uryt
https://ghostbin.co/paste/zu8so
https://ghostbin.co/paste/xqqbc
https://ghostbin.co/paste/86to6
https://ghostbin.co/paste/c2qvr
https://ghostbin.co/paste/y7wwt
https://ghostbin.co/paste/4vmaw
https://ghostbin.co/paste/3tkho
https://ghostbin.co/paste/mrj5s
https://ghostbin.co/paste/24yn9
https://ghostbin.co/paste/xr4df
https://ghostbin.co/paste/726g4
https://ghostbin.co/paste/cack3
https://ghostbin.co/paste/kq8zf
https://ghostbin.co/paste/qf4hd
https://ghostbin.co/paste/p4ccp
https://ghostbin.co/paste/tcqyp
https://ghostbin.co/paste/xxo5z
https://ghostbin.co/paste/wwpdf
https://ghostbin.co/paste/x4ysz
https://ghostbin.co/paste/rwfx9
https://ghostbin.co/paste/4kazu
https://ghostbin.co/paste/mqdya
https://ghostbin.co/paste/a5yyd
https://ghostbin.co/paste/zoufu
https://ghostbin.co/paste/t6jho
https://ghostbin.co/paste/ve9tz
https://ghostbin.co/paste/ywm25
https://ghostbin.co/paste/33oae
https://ghostbin.co/paste/ngypr
https://ghostbin.co/paste/w5t6z
https://ghostbin.co/paste/kqzrx
https://ghostbin.co/paste/36k52
https://ghostbin.co/paste/yvs9q
https://ghostbin.co/paste/x68w4