1 Star 0 Fork 0

埋藏酱油瓶/X-Recon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xr.py 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
joshkar 提交于 2024-04-30 16:39 . new changes
from module.banner import *
from module.core import start_proccess
from module.validate import http_checker
from module.setting import Change_MaxDepth
from module.xss_scan import *
import json
while True:
show_banner()
show_menu()
try:
original_menu = custom_input("HOME")
if original_menu == "1":
show_banner()
print("Ok. Give me a URL\n")
get_url = custom_input("GET-URL")
file_name = f"{http_checker(get_url,status='remove')}"
start_proccess(file_name,http_checker(get_url,status='set_http'))
elif original_menu == "2":
show_banner()
xss_files = find_scanned_files()
if not xss_files:
exit("No File For Scan")
else:
num_x = 0
print(" Select A file \n ")
for i in xss_files:
print(f"{Fore.WHITE} [{num_x}] {Fore.RED}{i}\n")
num_x +=1
xss_file_id = int(custom_input("GET-FILE"))
xss_file_id = "logs/"+xss_files[xss_file_id]
print("Testing XSS . . .")
start_scan(xss_file_id)
elif original_menu == "3":
show_banner()
Change_MaxDepth()
elif original_menu == "4":
exit("\n Goodbye :) ")
except KeyboardInterrupt:
exit("\n Goodbye :) ")
except ValueError:
exit("\n Please Enter a Number")
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/secrole/X-Recon.git
git@gitee.com:secrole/X-Recon.git
secrole
X-Recon
X-Recon
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385