Update check.go

使用毫秒作为随机数种子,避免生成的ceye子域名相同
This commit is contained in:
U21H2 2022-07-03 23:07:25 +08:00 committed by GitHub
parent 8e1db5995e
commit 4b596180a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,7 +221,7 @@ func doSearch(re string, body string) map[string]string {
func newReverse() *Reverse {
letters := "1234567890abcdefghijklmnopqrstuvwxyz"
randSource := rand.New(rand.NewSource(time.Now().Unix()))
randSource := rand.New(rand.NewSource(time.Now().UnixNano()))
sub := RandomStr(randSource, letters, 8)
//if true {
// //默认不开启dns解析