INNER CODE UNIT · Python
size
faiyazahmad07/xss_vibes · main.py:219
size = int(len(arr) / 2)
if not threads or threads == 1:
print(Fore.WHITE + f"[+] LOADING PAYLOAD FILE payloads.json")
dbs = open("payloads.json")
dbs = json.load(dbs)
#print(dbs)
new_dbs = []
#print(firewall)
if firewall:
print(Fore.GREEN + f"[+] FILTERING PAYLOADS FOR {firewall.upper()}")
try:
for i in range(0,len(dbs)):
if dbs[i]['waf'] == firewall:
#print(1)
new_dbs.append(dbs[i])
#size = len(dbs)
except Exception as e:
print(e)