mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 02:27:31 -07:00
three fixes
This commit is contained in:
parent
71b71f34f3
commit
b2e43fc82d
6 changed files with 35 additions and 5 deletions
|
@ -460,7 +460,7 @@ int start_http_form(int s, char *ip, int port, unsigned char options, char *misc
|
|||
}
|
||||
|
||||
//if the last status is still 3xx, set it as a false
|
||||
if (found != -1 && found == success_cond && redirected_flag == 0 && redirected_cpt >= 0) {
|
||||
if (found != -1 && found == success_cond && (redirected_flag == 0 || success_cond == 1) && redirected_cpt >= 0) {
|
||||
hydra_report_found_host(port, ip, "www-form", fp);
|
||||
hydra_completed_pair_found();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue