Show unknown auth types in logs (#345)
Co-authored-by: Ullaakut <brendan.le-glaunec@epitech.eu>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user