Commit 4675710 1 parent c51d4d4 commit 4675710 Copy full SHA for 4675710
File tree 3 files changed +47
-4
lines changed
3 files changed +47
-4
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,49 @@ docker build -t fenjing .
64
64
docker run -it -p 11451:11451 --net host fenjing webui -h 0.0.0.0
65
65
```
66
66
67
+ 然后开始使用:
68
+
69
+ ### webui
70
+
71
+ 你可以直接在webui里指定参数并自动攻击
72
+
73
+ ![ webui-example] ( assets/webui-example.png )
74
+
75
+ 这里攻击的是一个GET参数:name
76
+
77
+ 在左边填入并点击开始分析,然后在右边输入命令就行了
78
+
79
+ ### scan
80
+
81
+ 在终端可以用scan功能,猜测某个页面的参数并自动攻击:
82
+
83
+ ` python -m fenjing scan --url 'http://xxxx:xxx/yyy' `
84
+
85
+ ### crack
86
+
87
+ 也可以用crack功能,手动指定参数进行攻击:
88
+
89
+ ` python -m fenjing crack --url 'http://xxxx:xxx/yyy' --detect-mode fast --inputs aaa,bbb --method GET `
90
+
91
+ 这里提供了aaa和bbb两个参数进行攻击,并使用` --detect-mode fast ` 加速攻击速度
92
+
93
+ ### crack-request
94
+
95
+ 还可以将HTTP请求写进一个文本文件里(比如说` req.txt ` )然后进行攻击
96
+
97
+ 文本文件内容如下:
98
+
99
+ ``` http
100
+ GET /?name=PAYLOAD HTTP/1.1
101
+ Host: 127.0.0.1:5000
102
+ Connection: close
103
+
104
+ ```
105
+
106
+ 命令如下:
107
+
108
+ ` python -m fenjing crack-request -f req.txt --host '127.0.0.1' --port 5000 `
109
+
67
110
## 支持的绕过规则
68
111
69
112
### 关键字符绕过:
Original file line number Diff line number Diff line change 1
- ## 注意
2
-
3
- 不要使用windows的cmd跑脚本,要不然就会像[ 这位] ( https://github.com/Marven11/Fenjing/issues/3 ) 一样出问题
4
-
5
1
## 启动webui
6
2
7
3
webui不支持自定义Headers和Cookie等特性,如果需要更灵活的使用方式请直接使用命令行或者作为库调用
@@ -23,6 +19,10 @@ webui不支持自定义Headers和Cookie等特性,如果需要更灵活的使
23
19
- ` python -m fenjing crack-path --url 'http://xxx.xxx/hello/' `
24
20
- 只需要提供路径的前缀即可
25
21
22
+ 从文本文件中读取HTTP请求:
23
+ - ` python -m fenjing crack-request -f req.txt --host '127.0.0.1' --port 5000 `
24
+ - 需要提供HTTP请求文件的路径、目标的IP和端口
25
+
26
26
通用设置
27
27
- 指定请求间隔:` python -m fenjing crack --url 'http://xxx.xxx' --method GET --inputs name --interval 0.1 `
28
28
- 指定请求时使用的UA:` python -m fenjing crack --url 'http://xxx.xxx' --method GET --inputs name --user-agent 'Aaa/1.1' `
You can’t perform that action at this time.
0 commit comments