head 1.4; access; symbols pkgsrc-2013Q2:1.3.0.38 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.36 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.34 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.32 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.30 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.28 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.26 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.24 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.22 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.20 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.18 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.16 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.14 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.12 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.10 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.8 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.6 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.24 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.22 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.18 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.16 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.14 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.12 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.10 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.6 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2013.09.20.23.10.12; author joerg; state dead; branches; next 1.3; commitid 9cwBF1Goc5H2qe6x; 1.3 date 2008.10.30.14.52.14; author bad; state Exp; branches; next 1.2; 1.2 date 2006.02.05.00.18.29; author adrianp; state dead; branches; next 1.1; 1.1 date 2005.04.29.22.17.13; author rillig; state Exp; branches; next ; desc @@ 1.4 log @Update to hydra-7.5 since the old version doesn't build with newer libssh. Too many changes to list indivually. Adjust license to AGPLv3. @ text @$NetBSD: patch-ae,v 1.3 2008/10/30 14:52:14 bad Exp $ --- hydra-gtk/src/callbacks.c.orig 2005-09-22 17:19:27.000000000 +0200 +++ hydra-gtk/src/callbacks.c 2008-10-30 14:05:58.000000000 +0100 @@@@ -69,21 +69,6 @@@@ options[0] = HYDRA_BIN; - /* get the target, or target list */ - widget = lookup_widget(GTK_WIDGET(wndMain), "radioTarget1"); - if ( gtk_toggle_button_get_active((GtkToggleButton *) widget) ){ - widget = lookup_widget(GTK_WIDGET(wndMain), "entTarget"); - options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); - } else { - options[i++] = "-M"; - widget = lookup_widget(GTK_WIDGET(wndMain), "entTargetFile"); - options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); - } - - /* get the service */ - widget = lookup_widget(GTK_WIDGET(wndMain), "entProtocol"); - options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); - /* get the port */ widget = lookup_widget(GTK_WIDGET(wndMain), "spnPort"); j = gtk_spin_button_get_value_as_int((GtkSpinButton *) widget); @@@@ -284,6 +269,21 @@@@ } } + /* lastly, get the target, or target list */ + widget = lookup_widget(GTK_WIDGET(wndMain), "radioTarget1"); + if ( gtk_toggle_button_get_active((GtkToggleButton *) widget) ){ + widget = lookup_widget(GTK_WIDGET(wndMain), "entTarget"); + options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); + } else { + options[i++] = "-M"; + widget = lookup_widget(GTK_WIDGET(wndMain), "entTargetFile"); + options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); + } + + /* get the service */ + widget = lookup_widget(GTK_WIDGET(wndMain), "entProtocol"); + options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); + /* clean up proxy settings */ unsetenv("HYDRA_PROXY_HTTP"); unsetenv("HYDRA_PROXY_CONNECT"); @ 1.3 log @Fix hydra-gtk/src/callbacks.c to put server and service last on the command line as hydra(1) expects. Makes xhydra work again. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 5.2 > Release 5.2 > ########### > * Again again some fixed for the ssh2 module. This is the last try. If it > finally does not work reliable, I am throwing out that library! > Thanks to bykhe@@mymail.ch for the patch > * Added a new module: VMWare-Auth! Thanks to david.maciejak@@gmail.com! > > > Release 5.1 > ########### > * Again some fixed for the ssh2 module. Sorry. And still it might not work > in all occasions. The libssh is not as mature as we all wish it would be :-( > * HYDRA_PROXY_AUTH was never used ... weird that nobody reported that. fixed. > * Fixed bug in the base64 encoding function > * Added an md5.h include which is needed since openssl 0.9.8 > * Added an enhacement to the FTP module, thanks to piotr_sobolewski@@o2.pl > * Fixed a bug when not using passwords and just -e n/s > > > Release 5.0 > ########### > ! THIS IS A THC - TAX - 10TH ANNIVERSARY RELEASE ! HAVE FUN ! > * Increadible speed-up for most modules :-) > * Added module for PC-Anywhere, thanks to david.maciejak(at)kyxar.fr! > * Added module for SVN, thanks to david.maciejak(at)kyxar.fr! > * Added --disable-xhydra option to configure, thanks to david.maciejak(at)kyxar. > fr! > - he is becoming the top supporter :-) > * Added module for SIP (VoIP), thanks to gh0st(at)staatsfeind.org > * Added support for newer sap r/3 rfcsdk > * Added check to the telnet module to work with Cisco AAA > * Fix for the VNC module, thanks to xmag > * Small enhancement to the mysql plugin by pjohnson(at)bosconet.org > > > Release 4.7 > ########### > * Updated ssh2 support to libssh v0.11 - you *must* use this version if > you want to use ssh2! download from http://www.0xbadc0de.be/?part=libssh > This hopefully fixes problems on/against Sun machines. > After fixing, I also received a patch from david maciejak - thanks :-) > * Added an attack module for rlogin and rsh, thanks to > david.maciejak(at)kyxar.fr! > * Added an attack module for the postgres database, thanks to > diaul(at)devilopers.org! (and again: david maciejak sent on in as well) > * JoMo-Kun sent in an update for his smbnt module. cool new features: > win2k native mode, xp anonymous account detection, machine name as password > * Hopefully made VNC 3.7 protocol versions to work. please report. > * Switched http and https service module to http-head, http-get and > https-get, https-head. Some web servers want HEAD, others only GET > * An initial password for cisco-enable is now not required anymore. Some > people had console access without password, so this was necessary. > * Fixed a bug in xhydra which did not allow custom ports > 100 > ! Soon to come: v5.0 - some cool new features to arrive on your pentest > machine! @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2005/04/29 22:17:13 rillig Exp $ d3 5 a7 7 Needed for ISO C90 compliance. --- hydra-teamspeak.c.orig Thu Jan 6 16:39:55 2005 +++ hydra-teamspeak.c Tue Apr 26 12:16:41 2005 @@@@ -14,11 +14,6 @@@@ start_teamspeak(int s, unsigned long int char *login, *pass; char buf[100]; d9 10 a18 4 - if (strlen(login = hydra_get_next_login()) == 0) - login = empty; - if (strlen(pass = hydra_get_next_password()) == 0) - pass = empty; d20 21 a40 7 struct team_speak { char header[16]; unsigned long crc; @@@@ -35,6 +30,11 @@@@ start_teamspeak(int s, unsigned long int char login[29]; }; struct team_speak teamspeak; d42 7 a48 7 + if (strlen(login = hydra_get_next_login()) == 0) + login = empty; + if (strlen(pass = hydra_get_next_password()) == 0) + pass = empty; memset(&teamspeak, 0, sizeof(struct team_speak)); @ 1.1 log @Added compatibility patch for ISO C90. Approved by wiz. @ text @d1 1 a1 1 $NetBSD$ @