All Projects → CTF-MissFeng → Bayonet

CTF-MissFeng / Bayonet

bayonet是一款src资产管理系统,从子域名、端口服务、漏洞、爬虫等一体化的资产管理系统

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Bayonet

Playwright Sharp
.NET version of the Playwright testing and automation library.
Stars: ✭ 459 (-50.38%)
Mutual labels:  chromium
Headless Chrome Crawler
Distributed crawler powered by Headless Chrome
Stars: ✭ 5,129 (+454.49%)
Mutual labels:  chromium
Ublock
uBlock Origin's manifesto.
Stars: ✭ 27,838 (+2909.51%)
Mutual labels:  chromium
Rattlesnakeos Stack
Build your own privacy and security focused Android OS in the cloud.
Stars: ✭ 490 (-47.03%)
Mutual labels:  chromium
Hstspreload.org
🔒 Chromium's HSTS preload list submission website.
Stars: ✭ 548 (-40.76%)
Mutual labels:  chromium
Silver
Mass scan IPs for vulnerable services
Stars: ✭ 588 (-36.43%)
Mutual labels:  shodan
Playwright Python
Python version of the Playwright testing and automation library.
Stars: ✭ 5,583 (+503.57%)
Mutual labels:  chromium
Cef2go
Go lang bindings for the Chromium Embedded Framework (CEF)
Stars: ✭ 780 (-15.68%)
Mutual labels:  chromium
Fav Up
IP lookup by favicon using Shodan
Stars: ✭ 550 (-40.54%)
Mutual labels:  shodan
My Shodan Scripts
Collection of Scripts for shodan searching stuff.
Stars: ✭ 679 (-26.59%)
Mutual labels:  shodan
Chrlauncher
Small and very fast portable launcher and updater for Chromium.
Stars: ✭ 491 (-46.92%)
Mutual labels:  chromium
Playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
Stars: ✭ 31,513 (+3306.81%)
Mutual labels:  chromium
Reconspider
🔎 Most Advanced Open Source Intelligence (OSINT) Framework for scanning IP Address, Emails, Websites, Organizations.
Stars: ✭ 621 (-32.86%)
Mutual labels:  shodan
Nwjs Ffmpeg Prebuilt
FFmpeg prebuilt binaries for NW.js / Chromium
Stars: ✭ 465 (-49.73%)
Mutual labels:  chromium
Cuprite
Headless Chrome/Chromium driver for Capybara
Stars: ✭ 743 (-19.68%)
Mutual labels:  chromium
Qzoneexport
QQ空间导出助手,用于备份QQ空间的说说、日志、私密日记、相册、视频、留言板、QQ好友、收藏夹、分享、最近访客为文件,便于迁移与保存
Stars: ✭ 456 (-50.7%)
Mutual labels:  chromium
Chromium Web Store
Allows adding extensions from chrome web store on ungoogled-chromium. Also adds semi-automatic extension updating.
Stars: ✭ 574 (-37.95%)
Mutual labels:  chromium
Cef4delphi
CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
Stars: ✭ 785 (-15.14%)
Mutual labels:  chromium
Blui
Rich HTML UI engine for UE4
Stars: ✭ 753 (-18.59%)
Mutual labels:  chromium
Html Pdf Chrome
HTML to PDF converter via Chrome/Chromium
Stars: ✭ 629 (-32%)
Mutual labels:  chromium

项目更新

Watchdog是bayonet优化版,重新优化了web、数据库模型,加入了多节点部署等功能,详情请查看:

https://github.com/CTF-MissFeng/Watchdog

简介

Bayonet是整合多款安全工具并以web形式展现,它辅助渗透测试人员对IT资产进行资产管理。

遇到问题,请查看lssues是否有解决方案

功能点

  • 子域名扫描:oneforall
  • 端口服务扫描:shodan+异步socket+nmap(ip数据库、CDN判断)
  • URL可用探测
  • 驱动浏览器爬虫采集数据:crawlergo
  • 被动漏洞扫描:xray

安装说明

  • Python3.7以上(推荐Python3.8)
  • 数据库(推荐postgres)
  • chromium浏览器
以Ubuntu16.04为例
  • 1、安装Python3.8以及相关编译环境(dev之类),这里推荐使用miniconda安装,并安装requirements.txt文件所需模块

  • 2、安装postgresql数据库,可将源换成国内源进行快速安装,完成后创建一个空数据库。

  • 3、安装chromium浏览器

sudo apt-get install chromium-browser
  • 4、安装nmap

使用说明

  • 1、修改config.py文件,填入数据库链接项shodan api项,其他选项选填(环境不一致需要更改选项,如nmap路径、chromium浏览器路径等,具体看配置文件)

index

  • 2、执行sh bayonet.sh脚本启动所有模块(注意,如果python3不是默认的python命令,请修改脚本为python3

index

  • 3、登录web,添加一个主域名任务,等待片刻,刷新下,就会执行子域名扫描任务

如果是服务器搭建,则访问http://服务器外网ip,如果为本机搭建则访问http://127.0.0.1 默认用户名密码:root/[email protected]

index

index

  • 4、扫描器子域名需要一定时间,可查看日志观察进度(logs目录下是各个模块运行日志)

index

  • 5、当子域名、端口扫描、url探测都开始工作了,会在web中显示各模块结果,现在进入扫描任务管理,选择要扫描的URL进行扫描

index

  • 6、当选择了一个URL进行安全扫描,爬虫模块启动开始驱动浏览器进行爬取,爬取完后,xray开启工作进行漏洞扫描

index

  • 7、当xray扫描进行中,如果有漏洞会实时存入数据库中,刷新漏洞管理可看到,当点击提交按钮,说明此漏洞已复现或提交给SRC(会在已提交漏洞模块中保存),若误报可删除此漏洞。

index

docker使用

$ docker search bayonet  # 查看该项目docker镜像
missfeng/bayonet    bayonet项目docker镜像

$ docker pull missfeng/bayonet:v1.2  # 拉取镜像

$ docker run -itd --name bayonet -p 5000:80 missfeng/bayonet:v1.2  # 后台启动容器

$ docker ps  # 查看已启动的容器
822374ab6f7d        bayonet:v1.2

$ docker exec -it 8223 bash  # 进入容器中 8223是容器ID:822374ab6f7d简写

# /etc/init.d/postgresql start  # 启动数据库

# cd /root/bayonet/   # 进入项目目录

# vim config.py   # 编辑配置文件,找到 shodan_api,填入该参数值;其他配置可自己配置

# sh bayonet.sh  # 启动脚本

访问本机地址: http://127.0.0.1
默认用户名密码:root/[email protected]

更新日志

2020年3月16日

bayonet V1.1版本完成。添加并完善了:

  • 1: 去除w13scan被动扫描器,添加xray被动扫描器
  • 2: 主域名任务可重复扫描
  • 3: 修复BUG
2020年3月04日

bayonet V1.1版本完成。添加并完善了:

  • 1:加入了WAF、CDN、ip归属地识别,进行自动跳过,节约了扫描时间
  • 2:加入了异步socket常规端口探测功能、nmap探测功能、防止shodan探测不完整
  • 3:数据表进行了关联,新增且优化了web页面设计
  • 4:爬虫采集到的子域名再次入库,URL探测支持二级目录扫描
  • 5:子域名、端口扫描、URL扫描、爬虫模块整合到一个项目以便关联
  • 6:修复了一些bug

尚未添加功能:

  • 端口服务漏洞扫描
2020年2月13日

bayonet V1.0版本完成,基本连接了这几个工具模块到一起

演示

index

index

index

index

index

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].