Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分代码判断逻辑问题 #9

Open
chaserw opened this issue Sep 28, 2022 · 2 comments
Open

部分代码判断逻辑问题 #9

chaserw opened this issue Sep 28, 2022 · 2 comments

Comments

@chaserw
Copy link

chaserw commented Sep 28, 2022

dnslog.go 58行

if string(body) == "[]"{
		return ""

从历史更改记录上看,之前这里直接返回[],后来改为返回"",但是其他位置判断逻辑未修改导致部分判断逻辑存在问题,例如detect.go 155行

	if  record == "[]" || record == Utils.NETWORK_NOT_ACCESS{
		fmt.Println("["+url+"] :"+"[-] 目标没有开启 AutoType")
		autoTypeStatus = false
	}else{
		fmt.Println("["+url+"] :"+"[*] 目标开启了 AutoType ")
		autoTypeStatus = true
	}
@GG-o1
Copy link

GG-o1 commented Sep 28, 2022

+1

@a1phaboy
Copy link
Owner

是的,当时为了适配83版本dnslog会产生报错,从而能够确定版本的问题,只修改了部分代码逻辑,我会收集使用当中的一些问题,在国庆期间修改一版

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants