diff --git a/attack.go b/attack.go index 900464a..5cd367d 100644 --- a/attack.go +++ b/attack.go @@ -134,6 +134,8 @@ func (s *Scanner) DetectAuthMethods(targets []Stream) []Stream { authMethod = "basic" case authDigest: authMethod = "digest" + default: + authMethod = "unknown:" + string(targets[i].AuthenticationType) } s.term.Debugf("Stream %s uses %s authentication method\n", GetCameraRTSPURL(targets[i]), authMethod)