Skip to content

Commit

Permalink
Show unknown auth types in logs (#345)
Browse files Browse the repository at this point in the history
Co-authored-by: Ullaakut <[email protected]>
baryy100 and Ullaakut authored Jul 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 73542f9 commit bcb8933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions attack.go
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit bcb8933

Please sign in to comment.