mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 21:03:52 -07:00
error usage fix
This commit is contained in:
parent
6dab048257
commit
62b9899fc7
1 changed files with 2 additions and 0 deletions
2
hydra.c
2
hydra.c
|
@ -3343,6 +3343,8 @@ int main(int argc, char *argv[]) {
|
|||
tmpptr++;
|
||||
}
|
||||
} else if (index(hydra_options.server, '/') != NULL) {
|
||||
if (cmdtarget == NULL)
|
||||
bail("You seem to mix up \"service://target:port/options\" syntax with \"target service options\" syntax. Read the README on how to use hydra correctly!");
|
||||
if (strstr(cmdtarget, "://") != NULL) {
|
||||
tmpptr = index(hydra_options.server, '/');
|
||||
if (tmpptr != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue