-
Notifications
You must be signed in to change notification settings - Fork 13
/
laravel-debugbar.py
63 lines (52 loc) · 1.47 KB
/
laravel-debugbar.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
import os, requests, time
from multiprocessing.dummy import Pool as ThreadPool
from multiprocessing import Pool
import threading
import sys
from colorama import Fore, Style
def screen_clear():
_ = os.system('cls')
bl = Fore.BLUE
wh = Fore.WHITE
gr = Fore.GREEN
red = Fore.RED
res = Style.RESET_ALL
yl = Fore.YELLOW
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0'}
def debugbar (star):
if "://" in star:
star = star
else:
star = "http://" + star
star = star.replace('\n', '').replace('\r', '')
url = star + "/"
check = requests.get(url, headers=headers, timeout=3)
resp = check.text
try:
if "PhpDebugBar.DebugBar" in resp:
print(f"Debugbar {gr}OK{res} => {star}\n")
mrigel = open("found.txt", "a")
mrigel.write(f'{star}/_debugbar/open?method=POST&max=1000&offset=0\n')
else:
print(f"{red}Not Found{res} Debugbar => {star}\n")
except:
pass
def filter(star):
try:
debugbar(star)
except:
pass
def main():
print(f'''{gr}[ DEBUDBAR CHECKER ] | [ BY XNXXVIDOES ]''')
list = input(f"{gr}Give Me Your List.txt/{red}XNXXVIDOES> {gr}${res} ")
star = open(list, 'r').readlines()
try:
ThreadPool = Pool(50)
ThreadPool.map(filter, star)
ThreadPool.close()
ThreadPool.join()
except:
pass
if __name__ == '__main__':
screen_clear()
main()