Skip to content

Commit

Permalink
优化帮助信息
Browse files Browse the repository at this point in the history
  • Loading branch information
lcvvvv committed Feb 20, 2021
1 parent 2b705e2 commit c54ec4e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
21 changes: 10 additions & 11 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/config/configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var defaultConfig = `
"Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; fr) Presto/2.9.168 Version/11.52"
],
"top": 400,
"threads": 200,
"threads": 400,
"httpCode": [
200,
301,
Expand Down
4 changes: 2 additions & 2 deletions app/params/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ func checkParams() {
if params.threads != 0 {
//验证threads参数
}
if params.threads != 3 {
//验证threads参数
if params.timeout != 3 {
//验证timeout参数
}
if params.httpCode != "" {
if !checkIntsParam(params.httpCode) {
Expand Down
12 changes: 6 additions & 6 deletions app/params/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const logo = `
|#.#/|#|___ |#| /###\ |##\|#|
|##| \#####\|#| /#/_\#\ |#.#.#|
|#.#\_____|#||#|____/#/###\#\|#|\##|
|#|\#\#####/ \#####/#/ v1.2\#\#| \#|
轻量资产测绘工具 by:kv2
|#|\#\#####/ \#####/#/ v1.12#\#| \#|
轻量级资产测绘工具 by:kv2
`

Expand All @@ -33,14 +33,14 @@ const help = `
optional arguments:
-h , --help show this help message and exit
-t , --target 直接扫描指定对象,支持IP、URL、IP/[16-32]、file:/tmp/target.txt
-p , --port 扫描指定端口,默认会扫描
-p , --port 扫描指定端口,默认会扫描TOP400,支持:80,8080,8088-8090
-o , --output 将扫描结果保存到文件
--top 扫描WooYun统计开放端口前x个,最高支持1000个
--proxy 设置代理{socks5/socks4/https/http}://IP:port
--threads 线程参数
--proxy 设置代理(socks5|socks4|https|http)://IP:Port
--threads 线程参数,默认线程4000
--http-code 指定会记录的HTTP状态码,逗号分割,默认会记录200,301,302,403,404
--path 指定请求访问的目录,逗号分割,慎用!
--host 指定所有请求的头部HOST值,慎用!
--host 指定所有请求的头部HOSTS值,慎用!
--timeout 设置超时时间,默认3秒钟,单位为秒!
`
Expand Down

0 comments on commit c54ec4e

Please sign in to comment.