Fixed Realtime output for resolver

master
Ice3man543 2018-06-16 19:08:53 +05:30
parent a860af4217
commit 4f475aeb5d
1 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,12 @@ func consume(args ...interface{}) interface{} {
// We have a wildcard ip
return ""
}
return ips[0]
}
if !state.Silent {
if state.Verbose {
fmt.Printf("\n[%sRESOLVED%s] %s : %s", helper.Info, helper.Reset, target, ips[0])
}
}
return ips[0]
}