mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
xhydra -q support patch
This commit is contained in:
parent
4a1c774531
commit
32ccf4ae15
3 changed files with 18 additions and 3 deletions
|
@ -228,6 +228,12 @@ int hydra_get_options(char *options[]) {
|
|||
options[i++] = "-F";
|
||||
}
|
||||
|
||||
/* Do not print messages about connection errors */
|
||||
widget = lookup_widget(GTK_WIDGET(wndMain), "chkNoErr");
|
||||
if (gtk_toggle_button_get_active((GtkToggleButton *) widget)) {
|
||||
options[i++] = "-q";
|
||||
}
|
||||
|
||||
/* get additional parameters */
|
||||
widget = lookup_widget(GTK_WIDGET(wndMain), "entProtocol");
|
||||
tmp = (char *) gtk_entry_get_text((GtkEntry *) widget);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue