Skip to content

Commit

Permalink
describe bug fix
Browse files Browse the repository at this point in the history
describe bug fix
  • Loading branch information
shadowabi committed Jun 11, 2024
1 parent dab4b88 commit 51f47a9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ Flags:
--logLevel string 设置日志等级 (Set log level) [trace|debug|info|warn|error|fatal|panic] (default "info")
-o, --output string 输入结果文件输出的位置 (Enter the location of the scan result output) (default "./result.txt")
-p, --port string 输入需要被扫描的端口,逗号分割 (Enter the port to be scanned, separated by commas (,))
--prefix string 输入需要被枚举的服务名称 (Input Service Name)
--prefix string 输入枚举云服务的前缀 (Enter the prefix for enumerating the cloud service)
-s, --service string 输入需要被枚举的服务名称 (Input Service Name)
--suffix string 输入需要被枚举的服务名称 (Input Service Name)
--suffix string 输入枚举云服务的后缀 (Enter a suffix for enumerating cloud services)
-t, --timeout int 输入每个 http 请求的超时时间 (Enter the timeout period for every http request) (default 2)
-u, --url string 输入目标地址 (Input [domain|url])
```
Expand Down
22 changes: 11 additions & 11 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,21 @@ oss.example.com
```
Usage:
EndpointSearch [flags]
EndpointSearch [flags]
Flags:
-f, --file string 从文件中读取目标地址 (Input filename)
-h, --help help for EndpointSearch
--logLevel string 设置日志等级 (Set log level) [trace|debug|info|warn|error|fatal|panic] (default "info")
-o, --output string 输入结果文件输出的位置 (Enter the location of the scan result output) (default "./result.txt")
-p, --port string 输入需要被扫描的端口,逗号分割 (Enter the port to be scanned, separated by commas (,))
--prefix string 输入需要被枚举的服务名称 (Input Service Name)
-s, --service string 输入需要被枚举的服务名称 (Input Service Name)
--suffix string 输入需要被枚举的服务名称 (Input Service Name)
-t, --timeout int 输入每个 http 请求的超时时间 (Enter the timeout period for every http request) (default 2)
-u, --url string 输入目标地址 (Input [domain|url])
-f, --file string 从文件中读取目标地址 (Input filename)
-h, --help help for EndpointSearch
--logLevel string 设置日志等级 (Set log level) [trace|debug|info|warn|error|fatal|panic] (default "info")
-o, --output string 输入结果文件输出的位置 (Enter the location of the scan result output) (default "./result.txt")
-p, --port string 输入需要被扫描的端口,逗号分割 (Enter the port to be scanned, separated by commas (,))
--prefix string 输入枚举云服务的前缀 (Enter the prefix for enumerating the cloud service)
-s, --service string 输入需要被枚举的服务名称 (Input Service Name)
--suffix string 输入枚举云服务的后缀 (Enter a suffix for enumerating cloud services)
-t, --timeout int 输入每个 http 请求的超时时间 (Enter the timeout period for every http request) (default 2)
-u, --url string 输入目标地址 (Input [domain|url])
```
EndpointSearch 同样支持手动覆盖配置参数,-e 参数默认为配置中的 CloudEndpoint,-p 参数为配置中的 PortList

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

0 comments on commit 51f47a9

Please sign in to comment.