增加通达信的服务IP地址,通过对客户端抓包获取

This commit is contained in:
钱纯净
2024-11-04 23:25:45 +08:00
parent 5b22791bff
commit 97788e2e45
2 changed files with 78 additions and 11 deletions

View File

@@ -3,10 +3,53 @@ package main
import (
"github.com/injoyai/logs"
"github.com/injoyai/tdx"
"time"
)
func main() {
c, err := tdx.Dial("122.51.120.217:7709")
logs.PanicErr(err)
<-c.Done()
ips := []string{
"124.71.187.122",
"122.51.120.217",
"111.229.247.189",
"124.70.199.56",
"124.70.176.52",
"124.70.133.119",
"123.60.84.66",
"123.60.73.44",
"123.60.70.228",
"123.60.186.45",
"123.40.164.122",
"123.249.15.60",
"122.51.232.182",
"121.36.81.195",
"121.36.54.217",
"121.36.225.169",
"120.46.186.223",
"119.97.185.59",
"118.25.98.114",
"116.205.183.150",
"116.205.171.132",
"116.205.163.254",
"111.230.186.52",
"110.41.4.4",
"110.41.2.72",
"110.41.154.219",
"110.41.147.114",
}
for _, v := range ips {
start := time.Now()
c, err := tdx.Dial(v + ":7709")
if err != nil {
logs.Err(err)
continue
}
logs.Debug(v, ":", time.Now().Sub(start))
c.Close()
}
//c, err := tdx.Dial("124.70.199.56:7709")
//logs.PanicErr(err)
//<-c.Done()
}