Skip to content

Commit

Permalink
fix: 添加输出记录到文件的能力
Browse files Browse the repository at this point in the history
  • Loading branch information
XinRoom committed Feb 22, 2023
1 parent e33a54e commit bd21ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/go-portScan.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func run(c *cli.Context) error {
}
}
if sV {
fmt.Printf("%s:%d %s\n", ret.Ip, ret.Port, fingerprint.PortIdentify("tcp", ret.Ip, ret.Port))
myLog.Printf("%s:%d %s\n", ret.Ip, ret.Port, fingerprint.PortIdentify("tcp", ret.Ip, ret.Port))
}

wgPortIdentify.Done()
Expand Down

0 comments on commit bd21ebd

Please sign in to comment.