Releases: zan8in/afrog
v3.1.1
v3.1.0
Changelog
- 增强 afrog 漏洞报告,新增响应时间显示功能,以便用户更直观地评估目标系统的响应速度。
- 在启动afrog时,若未执行OOB POC扫描,则不会进行OOB存活性的探测。
- 2cfd555 在yaml模板规则,在type中增加https标头,区别http标头。
- Enhance the afrog vulnerability report by adding a response time display feature, enabling users to more intuitively evaluate the response speed of the target system.
- When initiating afrog, if the OOB POC scan is not performed, then the detection of OOB viability will not be conducted.
v3.0.9 【从21世纪安全撤离】
【BUG】修复了 -t 命令中自动将路径(path)全部转换为小写的错误(BUG)。
[BUG] The bug that automatically converted all paths to lowercase in the -t command has been fixed.
v3.0.8
v3.0.7 Dream a dream for you.
新增 OOB 平台:recvsuit,使用命令:-oob revsuit
afrog-config.yaml 新增配置:
token: 密钥(参考 revsuit 教程)
dns_domain: 记录 dns log 的域名
http_url: 记录 http log 的 url
api_url: revsuit 的验证接口(参考 revsuit 教程)
官网:https://github.com/Li4n0/revsuit
教程:稍后加入 wiki
v3.0.6 Dream a dream for you
- afrog 已更新了 POC 扫描逻辑,现在先扫描普通 POC,然后再扫描 OOB POC。这是因为 OOB POC 的并发扫描需要单独配置,并且速率远低于普通 POC。
-oob-rate-limit/-orl
设定 OOB POC 的每秒最大请求量,默认为 25;-oob-concurrency/-oc
则设置 OOB POC 的最大并发执行数量,默认为 25。- 修复了一个导致 ceye 验证接口不稳定时漏报的 BUG。
- 将 SQLite3 数据表的 ID 修改为雪花算法,以支持分布式系统。
- 首次使用 afrog 并指定 config 配置文件时,SQLite3 未初始化表,导致插入操作报错的 BUG。
- afrog has updated the POC scanning logic, which now scans regular POCs first and then OOB POCs. This is because concurrent scanning for OOB POCs requires separate configuration and operates at a significantly lower rate than regular POCs.
- The -oob-rate-limit/-orl sets the maximum number of requests per second for OOB POCs, defaulting to 5, while -oob-concurrency/-oc configures the maximum concurrent execution count for OOB POCs, defaulting to 2.
- A bug that caused missed reports when the ceye verification interface was unstable has been fixed.
- The IDs of SQLite3 data tables have been modified to use the Snowflake algorithm to support distributed systems.
- When afrog was used for the first time with a specified config file, SQLite3 did not initialize the tables, resulting in errors for insert operations. This bug has been addressed.
v3.0.5
修复一个BUG,该BUG导致在Linux环境内使用 -ap 命令时,指定路径全部转为小写,从而无法正常工作。
Fix a bug where the -ap command cannot be used due to all specified paths being converted to lowercase within the Linux environment.
v3.0.3 追梦
- 新增 -header 命令,用于自定义 header 头在所有 http 请求中,使用示例:
-header '"Cookie: PHPSESSION=xxxxx","Authorization: yyyyyyyyyy","Token: zzzzz"'
- 命令 -cookie 已废弃
- Introduce the '-header' command for customizing header in all HTTP requests, with usage examples.
-header '"Cookie: PHPSESSION=xxxxx","Authorization: yyyyyyyyyy","Token: zzzzz"'
- The command '-cookie' has been deprecated.
v3.0.2
新增了 -config
参数,用于自定义 afrog-config.yaml 文件的目录。需要注意的是,每次执行扫描时都必须指定 -config
参数来指定目录,否则将读取默认位置的 afrog-config.yaml 配置文件。
We have added the -config
parameter to support customizing the directory for the afrog-config.yaml file. Please note that it is necessary to specify the -config
parameter each time you perform a scan; otherwise, the default afrog-config.yaml configuration file will be read.
Release 3.0.1 反连大更新
反连功能大更新
- 新增 -oob 参数,指定扫描使用的反连平台,默认 ceyeio,目前支持平台:ceyeio、dnslogcn、alphalog(自搭建)、eyes(自搭建)。陆续还会增加新的反连平台支持,欢迎推荐反连平台。
afrog -t example.com -oob dnslogcn - 新增 oob 功能,代替旧版 reverse(将废弃)。 具体用法:
id: oob-demo
set:
oob: oob()
oobHTTP: oob.HTTP // http://xxxxxx.dnslog.cn
oobDNS: oob.DNS // xxxxxx.dnslog.cn
rules:
r0:
request:
method: GET
path: /?url={{oobHTTP}}
expression: oobCheck(oob, oob.ProtocolHTTP, 3)
r1:
request:
method: POST
path: /test
body: cmd=ping+{{oobDNS}}
expression: oobCheck(oob, oob.ProtocolDNS, 3)
expression: r0() || r1()
oob()
: 声明一个 oob 对象
oobHTTP
: 获取 http 协议信息 http://xxxxxx.dnslog.cn/
oobDNS
: 获取 dns 协议信息 xxxxxx.dnslog.cn
oobCheck(oob, oob.ProtocolDNS, 3)
:检查反连结果,参数1是 oob 对象,参数2是检查的协议 http 或 dns,参数3是验证请求延时访问时间(秒)
- 废弃 reverse.jndi 相关功能,由 oob.DNS 代替
新版反连示例
afrog -t example.com -oob dnslogcn // 使用 dnslog.cn
afrog -t example.com -oob alphalog // 使用 alphalog ,需自搭建反连服务
afrog -t example.com -oob xray // 使用 xray 反连,需自搭建反连服务
afrog -t example.com // 默认使用 ceyeio
注意事项
随着新版本的发布,所有历史 PoC 的 newReverse() 方法均已升级为新版的 oob() 方法。为确保兼容性和功能完整性,我们强烈建议所有用户尽快升级至 3.0.1 版本。否则,之后的版本可能无法支持旧版的反连功能。
新版 oob() 功能需要修改 afrog-config.yaml 配置文件
afrog-config.yaml 会自动创建在 c:/users/yourname/.config/afrog/afrog-config.yaml ,linux系统是 ~/.config/afrog/afrog-config.yaml 文件。
afrog-config.yaml 配置如下:
server: :16868
reverse:
ceye:
api-key: "your ceye api key"
domain: "your ceye"
dnslogcn:
domain: dnslog.cn
jndi:
jndi_address: ""
ldap_port: ""
api_port: ""
eye:
host: ""
token: ""
domain: ""
alphalog:
domain: yourdnslog.sh
api_url: "http://yourdnslog.sh/"
xray:
x_token: "xraytest"
domain: dnslogus.top
api_url: "http://x.1x.0.xx:8777"
webhook:
dingtalk:
tokens:
- ""
at_mobiles:
- ""
at_all: false
range: high,critical
cyberspace:
zoom_eyes:
- ""