From bcb8933261938e8f18f915aa37a7b3d579721d13 Mon Sep 17 00:00:00 2001 From: baryy100 Date: Mon, 8 Jul 2024 10:17:09 +0300 Subject: [PATCH] Show unknown auth types in logs (#345) Co-authored-by: Ullaakut --- attack.go | 2 ++ 1 file changed, 2 insertions(+) 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)