Skip to content

Commit

Permalink
v2.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
wjlin0 committed Apr 21, 2024
1 parent a6a11dd commit c5f0420
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ go install -v github.com/wjlin0/pathScan/v2/cmd/pathScan@latest
```
下载准备运行的[二进制文件](https://github.com/wjlin0/pathScan/releases/latest)

- [macOS-arm64](https://github.com/wjlin0/pathScan/releases/download/v2.0.6/pathScan_2.0.6_macOS_arm64.zip)
- [macOS-arm64](https://github.com/wjlin0/pathScan/releases/download/v2.0.7/pathScan_2.0.7_macOS_arm64.zip)

- [macOS-amd64](https://github.com/wjlin0/pathScan/releases/download/v2.0.6/pathScan_2.0.6_macOS_amd64.zip)
- [macOS-amd64](https://github.com/wjlin0/pathScan/releases/download/v2.0.7/pathScan_2.0.7_macOS_amd64.zip)

- [linux-amd64](https://github.com/wjlin0/pathScan/releases/download/v2.0.6/pathScan_2.0.6_linux_amd64.zip)
- [linux-amd64](https://github.com/wjlin0/pathScan/releases/download/v2.0.7/pathScan_2.0.7_linux_amd64.zip)

- [windows-amd64](https://github.com/wjlin0/pathScan/releases/download/v2.0.6/pathScan_2.0.6_windows_amd64.zip)
- [windows-amd64](https://github.com/wjlin0/pathScan/releases/download/v2.0.7/pathScan_2.0.7_windows_amd64.zip)

- [windows-386](https://github.com/wjlin0/pathScan/releases/download/v2.0.6/pathScan_2.0.6_windows_386.zip)
- [windows-386](https://github.com/wjlin0/pathScan/releases/download/v2.0.7/pathScan_2.0.7_windows_386.zip)


# 用法
Expand All @@ -44,7 +44,7 @@ go install -v github.com/wjlin0/pathScan/v2/cmd/pathScan@latest
pathScan -h
```
```yaml
pathScan 2.0.6 Go 扫描、信息收集工具
pathScan 2.0.7 Go 扫描、信息收集工具

Usage:
pathScan [flags]
Expand Down
3 changes: 3 additions & 0 deletions pkg/input/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ func NewTarget(target string, methods []string, headers map[string]interface{},
for _, path := range paths {

if magicPath != "" && path != "/" {
if !strings.HasPrefix(path, "/") {
path = "/" + path
}
path = magicPath + path
} else if magicPath != "" && path == "/" {
path = magicPath
Expand Down
2 changes: 1 addition & 1 deletion pkg/runner/banner.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
/ .__/\_,_/ \__//_//_//___/ \__/ \_,_//_//_/
/_/
`
Version = `2.0.6`
Version = `2.0.7`
userName = "wjlin0"
pathScanMatchRepoName = "pathScan-match"
pathScanRepoName = "pathScan"
Expand Down

0 comments on commit c5f0420

Please sign in to comment.