mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-02-23 01:15:40 +08:00
update
This commit is contained in:
parent
e1bd13a6ff
commit
f07427bf03
@ -83,12 +83,13 @@ func trace(ch chan Result, i int, cmin2 []string) {
|
|||||||
hasAS4809 = true
|
hasAS4809 = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 判断是否包含 AS4134 和 AS4809
|
||||||
if hasAS4134 && hasAS4809 {
|
if hasAS4134 && hasAS4809 {
|
||||||
// 同时包含 AS4134 和 AS4809 属于 CN2GT
|
// 同时包含 AS4134 和 AS4809 属于 CN2GT
|
||||||
asns = append(asns, "AS4809b")
|
asns = append([]string{"AS4809b"}, asns...)
|
||||||
} else if hasAS4809 {
|
} else if hasAS4809 {
|
||||||
// 仅包含 AS4809 属于 CN2GIA
|
// 仅包含 AS4809 属于 CN2GIA
|
||||||
asns = append(asns, "AS4809a")
|
asns = append([]string{"AS4809a"}, asns...)
|
||||||
}
|
}
|
||||||
tempText += fmt.Sprintf("%-15s ", ips[i])
|
tempText += fmt.Sprintf("%-15s ", ips[i])
|
||||||
for _, asn := range asns {
|
for _, asn := range asns {
|
||||||
|
@ -13,6 +13,6 @@ func main() {
|
|||||||
}()
|
}()
|
||||||
fmt.Println(Green("项目地址:"), Yellow("https://github.com/oneclickvirt/backtrace"))
|
fmt.Println(Green("项目地址:"), Yellow("https://github.com/oneclickvirt/backtrace"))
|
||||||
backtrace.BackTrace()
|
backtrace.BackTrace()
|
||||||
fmt.Println(Purple("同一目标地址显示多个线路时可能追踪IP地址已越过汇聚层,此时除去第一个线路信息,后续信息可能无效"))
|
fmt.Println(Yellow("准确线路自行查看详细路由,本测试结果仅作参考"))
|
||||||
fmt.Println(Purple("准确线路请查看详细的路由自行判断"))
|
fmt.Println(Yellow("同一目标地址多个线路时,可能检测已越过汇聚层,除了第一个线路外,后续信息可能无效"))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user