mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
rtsp support 200 ok for auth check
This commit is contained in:
parent
584be39d13
commit
354d9734af
1 changed files with 1 additions and 3 deletions
|
@ -104,8 +104,6 @@ int32_t start_rtsp(int32_t s, char *ip, int32_t port, unsigned char options, cha
|
|||
} else {
|
||||
create_core_packet(1, ip, port);
|
||||
|
||||
printf("[DEBUG] checking for auth type\n");
|
||||
|
||||
if (use_Digest_Auth(lresp) == 1) {
|
||||
char aux[500] = "", dbuf[500] = "", *result = NULL;
|
||||
char *pbuffer = hydra_strcasestr(lresp, "WWW-Authenticate: Digest ");
|
||||
|
@ -156,7 +154,7 @@ int32_t start_rtsp(int32_t s, char *ip, int32_t port, unsigned char options, cha
|
|||
return 1;
|
||||
}
|
||||
|
||||
if ((is_NotFound(lresp))) {
|
||||
if (is_NotFound(lresp) || is_Authorized(lresp)) {
|
||||
free(lresp);
|
||||
hydra_completed_pair_found();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue