Skip to content

Commit 51f47a9

Browse files
committed
describe bug fix
describe bug fix
1 parent dab4b88 commit 51f47a9

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ Flags:
101101
--logLevel string 设置日志等级 (Set log level) [trace|debug|info|warn|error|fatal|panic] (default "info")
102102
-o, --output string 输入结果文件输出的位置 (Enter the location of the scan result output) (default "./result.txt")
103103
-p, --port string 输入需要被扫描的端口,逗号分割 (Enter the port to be scanned, separated by commas (,))
104-
--prefix string 输入需要被枚举的服务名称 (Input Service Name)
104+
--prefix string 输入枚举云服务的前缀 (Enter the prefix for enumerating the cloud service)
105105
-s, --service string 输入需要被枚举的服务名称 (Input Service Name)
106-
--suffix string 输入需要被枚举的服务名称 (Input Service Name)
106+
--suffix string 输入枚举云服务的后缀 (Enter a suffix for enumerating cloud services)
107107
-t, --timeout int 输入每个 http 请求的超时时间 (Enter the timeout period for every http request) (default 2)
108108
-u, --url string 输入目标地址 (Input [domain|url])
109109
```

README_CN.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,21 @@ oss.example.com
8181
```
8282
Usage:
8383
84-
EndpointSearch [flags]
84+
EndpointSearch [flags]
8585
8686
8787
Flags:
8888
89-
-f, --file string 从文件中读取目标地址 (Input filename)
90-
-h, --help help for EndpointSearch
91-
--logLevel string 设置日志等级 (Set log level) [trace|debug|info|warn|error|fatal|panic] (default "info")
92-
-o, --output string 输入结果文件输出的位置 (Enter the location of the scan result output) (default "./result.txt")
93-
-p, --port string 输入需要被扫描的端口,逗号分割 (Enter the port to be scanned, separated by commas (,))
94-
--prefix string 输入需要被枚举的服务名称 (Input Service Name)
95-
-s, --service string 输入需要被枚举的服务名称 (Input Service Name)
96-
--suffix string 输入需要被枚举的服务名称 (Input Service Name)
97-
-t, --timeout int 输入每个 http 请求的超时时间 (Enter the timeout period for every http request) (default 2)
98-
-u, --url string 输入目标地址 (Input [domain|url])
89+
-f, --file string 从文件中读取目标地址 (Input filename)
90+
-h, --help help for EndpointSearch
91+
--logLevel string 设置日志等级 (Set log level) [trace|debug|info|warn|error|fatal|panic] (default "info")
92+
-o, --output string 输入结果文件输出的位置 (Enter the location of the scan result output) (default "./result.txt")
93+
-p, --port string 输入需要被扫描的端口,逗号分割 (Enter the port to be scanned, separated by commas (,))
94+
--prefix string 输入枚举云服务的前缀 (Enter the prefix for enumerating the cloud service)
95+
-s, --service string 输入需要被枚举的服务名称 (Input Service Name)
96+
--suffix string 输入枚举云服务的后缀 (Enter a suffix for enumerating cloud services)
97+
-t, --timeout int 输入每个 http 请求的超时时间 (Enter the timeout period for every http request) (default 2)
98+
-u, --url string 输入目标地址 (Input [domain|url])
9999
```
100100
EndpointSearch 同样支持手动覆盖配置参数,-e 参数默认为配置中的 CloudEndpoint,-p 参数为配置中的 PortList
101101

cmd/rootCmd.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ func init() {
9191
RootCmd.Flags().StringVarP(&define.File, "file", "f", "", "从文件中读取目标地址 (Input filename)")
9292
RootCmd.Flags().StringVarP(&define.Url, "url", "u", "", "输入目标地址 (Input [domain|url])")
9393
RootCmd.Flags().StringVarP(&define.Service, "service", "s", "", "输入需要被枚举的服务名称 (Input Service Name)")
94-
RootCmd.Flags().StringVarP(&define.Prefix, "prefix", "", "", "输入需要被枚举的服务名称 (Input Service Name)")
95-
RootCmd.Flags().StringVarP(&define.Suffix, "suffix", "", "", "输入需要被枚举的服务名称 (Input Service Name)")
94+
RootCmd.Flags().StringVarP(&define.Prefix, "prefix", "", "", "输入枚举云服务的前缀 (Enter the prefix for enumerating the cloud service)")
95+
RootCmd.Flags().StringVarP(&define.Suffix, "suffix", "", "", "输入枚举云服务的后缀 (Enter a suffix for enumerating cloud services)")
9696
RootCmd.Flags().IntVarP(&define.TimeOut, "timeout", "t", 2, "输入每个 http 请求的超时时间 (Enter the timeout period for every http request)")
9797
RootCmd.Flags().StringVarP(&define.OutPut, "output", "o", "./result.txt", "输入结果文件输出的位置 (Enter the location of the scan result output)")
9898
RootCmd.Flags().StringVarP(&define.Port, "port", "p", "", "输入需要被扫描的端口,逗号分割 (Enter the port to be scanned, separated by commas (,))")

0 commit comments

Comments
 (0)