Skip to content

Commit d463429

Browse files
committed
port问题
1 parent ff6cc5c commit d463429

File tree

3 files changed

+40
-5
lines changed

3 files changed

+40
-5
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,51 @@
1515
</p>
1616

1717

18-
1918
## 📝 TODO
2019

20+
* [x] 添加支持CVE-2022-22947 (Spring Cloud Gateway RCE)
21+
* [ ] 添加支持
22+
* [ ] 自定义并发
23+
* [ ] 自定义输出日志位置
24+
* [ ] 自定义结果输出位置
25+
26+
………
27+
28+
29+
2130
---
2231
## 🐉 来龙去脉
2332

33+
为了学习一下golang,写了这款框架式的exp利用工具。
34+
35+
36+
37+
38+
2439
---
2540
## ⚡下载安装
41+
42+
[release](https://github.com/SummerSec/SpringExploit/releases)界面下载
43+
44+
45+
46+
47+
2648
---
2749
## 🎬 使用方法
2850

51+
![image-20220422190411847](https://cdn.jsdelivr.net/gh/SummerSec/Images/2022/03/19u419ec19u419ec.png)
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
2963

3064
## 🅱️ 免责声明
3165

cmd/commons/core/options.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,19 @@ func ParseOptions() *Options {
6060
v := "0.0.1"
6161

6262
if options.Version {
63-
ShowBanner(v)
63+
//ShowBanner(v)
6464
} else if url := options.Url; url != "" {
6565
options.Thread = 1
6666
options.File = ""
67-
ShowBanner(v)
67+
//ShowBanner(v)
6868
} else if options.File != "" {
6969
options.Url = ""
70-
ShowBanner(v)
70+
//ShowBanner(v)
7171
} else {
7272
ShowBanner(v)
7373
flag.PrintDefaults()
7474
}
75+
//ShowBanner(v)
7576
showVerbose(options)
7677
logs.SaveLogs(options.LogFile)
7778

cmd/commons/core/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func Start(u string, hashmap map[string]interface{}, i int, c chan int) {
7575
log.Errorln(err)
7676
return
7777
}
78-
target := r.Scheme + "://" + r.Host + r.Port() + r.Path
78+
target := r.Scheme + "://" + r.Host + r.Path
7979

8080
attack.Sevice(target, hashmap)
8181

0 commit comments

Comments
 (0)