diff --git a/CHANGELOG.md b/CHANGELOG.md index 2eab4d6..6007a2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,21 +5,23 @@ 1. 增加 `-l` 参数,存活主机探测模式,仅打印存活主机(不去重) 增强: 1. 增强扫描时间统计的显示方式 + 2. 增强 `-p` 端口 - 范围解析,并校验有效值 + 3. 调整了默认 timeout 时间为 1524 毫秒 + 4. 增加了默认扫描端口 + 修复: + 1. 修复 `-p` 时,不会优先扫描常用端口的问题 ### v1.1.2: 新特征: 1. 增加 `-sp` 参数,打印默认扫描端口列表 - 修复: 1. 修复 help 信息内容 ### v1.1.1 新特征: 1. 扫描进度信息中追加了估算剩余时间信息 - 增强: 1. 增加默认端口: 1024,6868,8182,9080,9999 - 修复: 1. 修复使用 `-p xx` 时,不会覆盖默认端口的逻辑问题 diff --git a/README.md b/README.md index 368d230..f23afab 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Version -1.1.1 - [版本修改日志](CHANGELOG.md) +1.2.0 - [版本修改日志](CHANGELOG.md) @@ -36,7 +36,7 @@ $ ./mx1014 10010000000011.1110000001.111.111......1111111111111111.......... 10twelve0111... .10001. .. 100011... 1001 MX1014 by L - .001 1001 Version 1.1.1 + .001 1001 Version 1.2.0 .1. ...1. @@ -50,21 +50,22 @@ Target Example: github.com:22,443,8443 Options: - -p Ports Default port ranges. (Default is common ports - -ap Ports Append default ports - -i File Target input from list - -t Int The Number of Goroutine (Default is 256) - -T Int TCP Connect Timeout (Default is 1014ms) - -o File Output file path - -r Scan in import order - -u UDP spray - -e Echo mode (TCP needs to be manually) - -c Allow display of closed ports (Only TCP) - -d Str Specify Echo mode data (Default is "%port%\n") - -D Int Progress Bar Refresh Delay (Default is 5s) - -a Int Too many filtered, Discard the host (Default is 1014) - -A Disable auto disable - -v Verbose mode + -p Ports Default port ranges. (Default is common ports) + -ap Ports Append default ports + -i File Target input from list + -t Int The Number of Goroutine (Default is 256) + -T Int TCP Connect Timeout (Default is 1514ms) + -o File Output file path + -r Scan in import order + -u UDP spray + -e Echo mode (TCP needs to be manually) + -c Allow display of closed ports (Only TCP) + -d Str Specify Echo mode data (Default is "%port%\n") + -D Int Progress Bar Refresh Delay (Default is 5s) + -a Int Too many filtered, Discard the host (Default is 1014) + -A Disable auto disable + -v Verbose mode + -sp Only show default ports ``` 2. 简单扫描数十个常用默认端口 @@ -170,13 +171,16 @@ $ ./mx1014 -A 192.168.1.134:1-65535 $ ./mx1014 -c 192.168.1.134:1-65535 ``` +6. 根据 TCP 探测存活主机 +```ruby +$ ./mx1014 -l -p 80 192.168.1.134 +``` + ## TODO * 代码逻辑优化 - * 增加 nmap -PT 等存活探测功能 - ## License diff --git a/mx1014.go b/mx1014.go index a6391d2..3cd969a 100644 --- a/mx1014.go +++ b/mx1014.go @@ -437,7 +437,7 @@ func usage() { 10010000000011.1110000001.111.111......1111111111111111.......... 10twelve0111... .10001. .. 100011... 1001 MX1014 by L - .001 1001 Version 1.1.2 + .001 1001 Version 1.2.0 .1. ...1.