基于Python3的漏洞检测工具 ( Python3 插件式框架 )
发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,[TOC]Python3 漏洞检测工具 -- lancelance, a simple version of the vulnerability detection framework based o
千家信息网最后更新 2025年12月03日基于Python3的漏洞检测工具 ( Python3 插件式框架 )
[TOC]
Python3 漏洞检测工具 -- lance
lance, a simple version of the vulnerability detection framework based on Python3.
基于Python3的简单版漏洞检测框架 -- lance
可以自定义poc或exp插件,可以指定要加载的poc或exp。
代码已经上传到Github : https://github.com/b4zinga/lance
screenshot
requirements
python3
关键代码
def loadPlugin(url, poc=None): """load all plugins. """ if "://" not in url: url = "http://" + url url = url.strip("/") print("[*] Target url: %s" % url) plugin_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))),"plugins") if not os.path.isdir(plugin_path): print("[!] %s is not a directory! " % plugin_path) raise EnvironmentError print("[*] Plugin path: %s " % plugin_path) items = os.listdir(plugin_path) if poc: print("[*] Loading %s plugins." % poc) for item in items: if item.endswith(".py") and not item.startswith('__'): plugin_name = item[:-3] if poc in plugin_name: print("[*] Loading plugin: %s" % plugin_name) module = importlib.import_module("plugins." + plugin_name) try: result = module.run(url) if result: print("[+] " + result) else: print("[-] Not Vulnerable %s " % plugin_name) except: print("[!] ConnectionError ") else: continue else: for item in items: if item.endswith(".py") and not item.startswith('__'): plugin_name = item[:-3] print("[*] Loading plugin: %s" % plugin_name) module = importlib.import_module("plugins." + plugin_name) try: result = module.run(url) if result: print("[+] " + result) else: print("[-] Not Vulnerable %s " % plugin_name) except: print("[!] ConnectionError ") print("[*] Finished")usage
please run python3 lance.py -h for help.
root@kali:~/lance# python3 lance.py usage: python lance.pylance. By b4zinga@outlook.comoptional arguments: -h, --help show this help message and exitTarget: -u URL target url.Module: -m module poc or exp to be loaded. defaul is all.documents
说明文档 : https://github.com/b4zinga/lance/blob/master/README.md
Guide : https://github.com/b4zinga/lance/blob/master/docs/Guide.md
ChangeLog : https://github.com/b4zinga/lance/blob/master/docs/ChangeLog.md
TODOList : https://github.com/b4zinga/lance/blob/master/docs/TODOList.md
Any advice or sugggestions
Please mail to b4zinga@outlook.com
代码已经上传到Github : https://github.com/b4zinga/lance
代码
漏洞
检测
工具
插件
框架
关键
文档
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
软件服务器
网络安全管理机构和责任人
美世家连接数据库出现异常
找不到远程服务器管理工具
网络安全事项的句子
崂山区苹果软件开发
win服务器安装oracle
服务器的dns地址
广州粤菜自助扫码点餐软件开发
网络安全班会策划案怎么写
数据库课程设计煤气公司
web服务器安全管理制度
访问公司服务器
短地址服务器
传统网络技术与云计算网络技术
数据库插入图片安卓不显示
cdn服务器架构
真的能学会软件开发吗
山东网络安全法律法规
教育软件开发名称及价格
电信公司做软件开发文档吗
网络安全对抗题库
ctf网络安全大赛楚慧杯
国旗下讲话网络安全小学
win7服务器管理器在
英国网络安全专业最强的大学
普陀区营销软件开发销售
多语言数据库设计
山东网络安全法律法规
最好用邮件服务器