Update ms17010.go

This commit is contained in:
影舞者 2021-10-14 15:51:52 +08:00 committed by GitHub
parent 21180c3da8
commit 10d4b19897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,9 +129,6 @@ func MS17010Scan(info *common.HostInfo) error {
//} else{fmt.Printf("\033[33m%s\tMS17-010\t(%s)\033[0m\n", ip, os)} //} else{fmt.Printf("\033[33m%s\tMS17-010\t(%s)\033[0m\n", ip, os)}
result := fmt.Sprintf("[+] %s\tMS17-010\t(%s)", ip, os) result := fmt.Sprintf("[+] %s\tMS17-010\t(%s)", ip, os)
common.LogSuccess(result) common.LogSuccess(result)
if common.SC != "" {
MS17010EXP(info)
}
// detect present of DOUBLEPULSAR SMB implant // detect present of DOUBLEPULSAR SMB implant
trans2SessionSetupRequest[28] = treeID[0] trans2SessionSetupRequest[28] = treeID[0]
trans2SessionSetupRequest[29] = treeID[1] trans2SessionSetupRequest[29] = treeID[1]