Test debug mode in attack & remove unnecessary aliases & newlines

This commit is contained in:
Ullaakut
2020-05-04 08:37:26 +02:00
committed by Brendan Le Glaunec
parent 96928ac43c
commit 6486d04e61
3 changed files with 102 additions and 3 deletions
+1
View File
@@ -366,6 +366,7 @@ func (s *Scanner) validateStream(stream Stream) bool {
if s.debug {
s.term.Debugln("SETUP", attackURL, "RTSP/1.0 >", rc)
}
// If it's a 200, the stream is accessed successfully.
if rc == httpOK {
return true