Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qi4L/Struts2Scan-go

用golang实现的Struts2扫描工具
https://github.com/qi4L/Struts2Scan-go

Last synced: 13 days ago
JSON representation

用golang实现的Struts2扫描工具

Awesome Lists containing this project

README

        

用Golang重写[Struts2-Scan](https://github.com/HatBoy/Struts2-Scan)项目。

工具参数说明
```
Usage of main.exe:
-u url
you target, example: https://192.168.1.1
-c command
you want execute command, example: "whoami"
-n name
漏洞名,可选S2-001, S2-003, S2-005, S2-007, S2-008, S2-009, S2-012, S2-013, S2-015, S2-016, S2-019,
S2-029, S2-032, S2-033, S2-037, S2-045, S2-046, S2-048, S2-052, S2-053, S2-devMode, S2-057,allPoc(除了s2-052)
(单独使用POC | EXP 例: S2-001 | s2-001_Cmd | s2-001_WebPath)
-d data
POST , 需要使用的payload使用{exp}填充, 如: name=test&passwd={exp}
-t Type
指定contentType头
```

+ 一键检测

```
GolangStruts2.exe -u http://127.0.0.1 -n allPoc
```

+ 单个利用

```
GolangStruts2.exe -u http://127.0.0.1 -n S2-001 -c whoami
```