Add ips flag to scan (#861)

* add scan -ips flag

* fix usage
This commit is contained in:
Tomoya Amachi
2019-07-04 18:42:12 +09:00
committed by Kota Kanbe
parent 836e4704f8
commit 8a37de0686
3 changed files with 9 additions and 0 deletions

View File

@@ -356,6 +356,10 @@ func (l *base) detectDeepSecurity() (fingerprint string, err error) {
}
func (l *base) detectIPSs() {
if !config.Conf.DetectIPS {
return
}
ips := map[config.IPS]string{}
fingerprint, err := l.detectDeepSecurity()