Skip to content

Latest commit

 

History

History
126 lines (100 loc) · 2.77 KB

README_zh.md

File metadata and controls

126 lines (100 loc) · 2.77 KB

Biu-framework 🚀

GitHub issues GitHub forks GitHub stars Python 3.x GitHub license

企业内网基础服务安全扫描框架

English Doc | 中文版说明文档

依赖

Python3.x

安装

pip install -r requirements.txt

用法

usage: biu.py [-h] [-f F] [-t T] [-r R] [-p P] [-ps PS] [-d D] [-T T]

Biu~

optional arguments:
  -h, --help  show this help message and exit
  -f F        目标文件: 每行一个ip或域名
  -t T        目标: example.com或233.233.233.233
  -r R        ip范围: 233.233.233.0/24
  -p P        插件名称
  -ps PS      插件搜索
  -d D        Debug
  -T T        超时时间

✨🍰✨支持扫描方式:

python biu.py -p elasticsearch -f target/elasticsearch.txt
python biu.py -p elastic -t 1.1.1.1:9200
python biu.py -p elastic -t 1.1.1.1
python biu.py -p elastic -r 1.1.1.0/24
python biu.py -p elastic,kibana -r 1.1.1.0/24
python biu.py -p elastic -t 1.1.1.1:9200 -d 1

快速扫描 🚀

Biu-framework -f 参数支持 masscan 结果文件(-oL)

masscan -p9200,5601 --rate=1000 10.10.0.0/16 -oL targets.txt
python biu.py -p elasticsearch,kibana -f targets.txt

扫描结果

扫描结果保存在 ./reports 目录下,格式: 2017.01.01_插件名称.txt

插件编写

插件格式

{
    "name":"", // 名字
    "method": "GET", // 发包方式
    "port": [8080], // 可能的端口
    "suffix":[""], // 目标的后缀,支持list格式
    "hits":[""] // 命中规则
}

或者

{
    "name": "",
    "method": "POST",
    "port": [
        8080
    ],
    "suffix": [
        "/",
        "/maybe"
    ],
    "data": {
        "username": "admin",
        "password": "admin"
    },
    "hits": [
        "success"
    ]
}

或者

{
    "name": "RabbitMQManagement_guest",
    "method": "AUTH",
    "port": [
        80,
        8080
    ],
    "suffix": [
        "/api/whoami"
    ],
    "data": [
        {
            "user": "guest",
            "pass": "guest"
        }
    ],
    "hits": [
        "\"tags\":\"administrator\""
    ]
}