Skip to content

Releases: zan8in/afrog

v3.0.7 Dream a dream for you.

11 Jun 01:53
Compare
Choose a tag to compare

新增 OOB 平台:recvsuit,使用命令:-oob revsuit
afrog-config.yaml 新增配置:
image

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

03 Jun 06:40
Compare
Choose a tag to compare
  • 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

30 Apr 08:06
Compare
Choose a tag to compare

修复一个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 追梦

13 Apr 02:39
Compare
Choose a tag to compare
  • 新增 -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

16 Mar 02:55
Compare
Choose a tag to compare

新增了 -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 反连大更新

27 Feb 08:21
Compare
Choose a tag to compare

反连功能大更新

  • 新增 -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:
    - ""

Release 3.0.0 人生如戏.戏如梦

18 Feb 08:25
Compare
Choose a tag to compare

就是换了个大版本号,啥也没怎么动,就是这么任性 ^_^

【新增 】Repeat 函数,重复一个字符串多次,并返回重复后的字符串。用法: repeat("a", 8179) 返回一个由字符 "a" 重复 8179 次组成的字符串。
【优化】可恨的Windows命令行不支持漂亮的进度条,所以我只能简化显示。

v2.9.9

09 Jan 06:44
Compare
Choose a tag to compare

【BUG】修复 proxy 命令中的 BUG,解决在使用 HTTP 代理进行 HTTPS 请求时因 user canceled 操作而导致 afrog 未能接收到响应的问题。

Fix the BUG in the proxy command, addressing the issue where afrog fails to receive a response due to user cancellation during the use of HTTP proxy for HTTPS requests.

v2.9.8

06 Jan 09:15
Compare
Choose a tag to compare

【新增】引入 ysoserial 函数,用于生成 Java 反序列化 payload。例如,可通过以下方式生成适用于 DNSLog 验证的 payload:
ysoserial("URLDNS", reverseHost, "base64")。有关详细使用方法,请参考 PoC:CVE-2023-49070CVE-2021-29200
【新增】引入 aesCBC 函数。有关详细使用方法,请参考 PoC:CVE-2023-20888

PoCs 1286

[New] Introducing the ysoserial function for generating Java deserialization payloads. For instance, generate a payload for DNSLog verification using the following syntax:
ysoserial("URLDNS", reverseHost, "base64"). Refer to the PoC for detailed usage instructions: CVE-2023-49070CVE-2021-29200.
[New] Introducing the aesCBC function. For detailed usage instructions, please refer to the PoC: CVE-2023-20888

v2.9.7

03 Jan 06:27
Compare
Choose a tag to compare

【优化】调整反连平台优先级逻辑,确保自建Eye反连平台具有最高优先权,其次是Ceye反连平台,最后是eyes.sh反连平台。
【优化】花里胡哨的进度条,看起来炫,实际并没什么卵用。

【Optimization】Refine the priority logic of the reverse connection platforms, ensuring that the self-built Eye reverse connection platform takes precedence, followed by the Ceye reverse connection platform, and finally, the eyes.sh reverse connection platform.
【Optimization】Fancy progress bars that may look flashy but don't actually serve much purpose.