Skip to content

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

Description

@chaserw

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
	}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions