xhydra -q support patch

This commit is contained in:
van Hauser 2014-11-22 19:51:58 +01:00
commit 32ccf4ae15
3 changed files with 18 additions and 3 deletions

View file

@ -6,8 +6,7 @@ Release 8.1-pre
* Added patch from Ander Juaristi which adds h/H header options for http-form-*, great work, thanks!
* Fixed for cisco-enable if an intial Login/Password is used (thanks to joswr1te for reporting)
* Added patch by tux-mind for better MySQL compilation and an Android patches and Makefile. Thanks!
* Added xhydra gtk patch by Petar Kaleychev to support -e r reverse login attempt, thanks!
* Added xhydra gtk patch by Petar Kaleychev to support -h and -U help output and -f/-F options, thanks!
* Added xhydra gtk patches by Petar Kaleychev to support -h, -U, -q and -e r options, thanks!
* Added patch for teamspeak to better identify server errors and auth failures (thanks to Petar Kaleychev)
* Fixed a crash in the cisco module (thanks to Anatoly Mamaev for reporting)
* Small fix for HTTP form module for redirect pages where a S= string match would not work (thanks to mkosmach for reporting)

View file

@ -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);

View file

@ -119,6 +119,7 @@ GtkWidget *create_wndMain(void) {
GtkWidget *label32;
GtkWidget *label31;
GtkWidget *chkExitF;
GtkWidget *chkNoErr;
GtkWidget *label30;
GtkWidget *label3;
GtkWidget *vbox4;
@ -681,7 +682,7 @@ GtkWidget *create_wndMain(void) {
gtk_widget_show(frame13);
gtk_table_attach(GTK_TABLE(table4), frame13, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
table10 = gtk_table_new(4, 2, FALSE);
table10 = gtk_table_new(5, 2, FALSE);
gtk_widget_set_name(table10, "table10");
gtk_widget_show(table10);
gtk_container_add(GTK_CONTAINER(frame13), table10);
@ -726,6 +727,14 @@ GtkWidget *create_wndMain(void) {
(GtkAttachOptions) (GTK_EXPAND), 0, 0);
gtk_tooltips_set_tip (tooltips, chkExitF, "Enable this to stop all attacking processes once a valid login/password pair is found (global)", NULL);
chkNoErr = gtk_check_button_new_with_mnemonic ("Do not print messages about connection errors");
gtk_widget_set_name (chkNoErr, "chkNoErr");
gtk_widget_show (chkNoErr);
gtk_table_attach (GTK_TABLE (table10), chkNoErr, 0, 2, 4, 5,
(GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK),
(GtkAttachOptions) (GTK_EXPAND), 0, 0);
gtk_tooltips_set_tip (tooltips, chkNoErr, "Do not print messages about connection errors", NULL);
label30 = gtk_label_new("Performance Options");
gtk_widget_set_name(label30, "label30");
gtk_widget_show(label30);
@ -1111,6 +1120,7 @@ GtkWidget *create_wndMain(void) {
GLADE_HOOKUP_OBJECT(wndMain, label32, "label32");
GLADE_HOOKUP_OBJECT(wndMain, label31, "label31");
GLADE_HOOKUP_OBJECT(wndMain, chkExitF, "chkExitF");
GLADE_HOOKUP_OBJECT(wndMain, chkNoErr, "chkNoErr");
GLADE_HOOKUP_OBJECT(wndMain, label30, "label30");
GLADE_HOOKUP_OBJECT(wndMain, label3, "label3");
GLADE_HOOKUP_OBJECT(wndMain, vbox4, "vbox4");