2011-04-22 16:40:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2011/04/22 14:40:45 obache Exp $
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
#
|
|
|
|
|
2006-04-20 10:15:48 +02:00
|
|
|
DISTNAME= ${PKGNAME_NOREV}-src
|
2008-08-31 12:54:52 +02:00
|
|
|
PKGNAME= hydra-5.4
|
2011-04-22 16:40:40 +02:00
|
|
|
PKGREVISION= 8
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
CATEGORIES= security
|
2008-01-05 06:09:09 +01:00
|
|
|
MASTER_SITES= http://freeworld.thc.org/releases/
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
|
2009-07-17 20:00:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-01-05 06:09:09 +01:00
|
|
|
HOMEPAGE= http://freeworld.thc.org/thc-hydra/
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
COMMENT= Login password cracker
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= hydra-license
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
|
2010-02-25 18:55:48 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
GNU_CONFIGURE= YES
|
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!
2006-02-05 01:18:29 +01:00
|
|
|
BUILD_TARGET= all
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= build
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
SUBST_STAGE.build= post-patch
|
|
|
|
SUBST_FILES.build= Makefile.am configure hydra-gtk/src/main.c
|
2006-05-13 01:35:55 +02:00
|
|
|
SUBST_SED.build= -e "s|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g"
|
|
|
|
SUBST_SED.build+= -e "s|@PREFIX@|${PREFIX}|g"
|
|
|
|
SUBST_SED.build+= -e "s|uname|${UNAME}|g"
|
|
|
|
SUBST_SED.build+= -e "s|\\./hydra|${PREFIX}/bin/hydra|g"
|
2010-02-25 18:55:48 +01:00
|
|
|
SUBST_SED.build+= -e "s|LIBS=-lm|LIBS=-L${PREFIX}/lib -lm ${COMPILER_RPATH_FLAG}${PREFIX}/lib ${COMPILER_RPATH_FLAG}/usr/lib|g"
|
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!
2006-02-05 01:18:29 +01:00
|
|
|
SUBST_MESSAGE.build= Patching build files.
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
|
|
|
|
USE_OLD_DES_API= YES
|
|
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
2008-01-24 12:10:53 +01:00
|
|
|
BUILDLINK_API_DEPENDS.libssh+= libssh-0.11{,nb*}
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2006-05-13 01:35:55 +02:00
|
|
|
.include "options.mk"
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../security/libssh/buildlink3.mk"
|
|
|
|
|
|
|
|
pre-build:
|
2006-07-10 06:20:57 +02:00
|
|
|
${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
|
|
|
|
do-install:
|
2010-02-25 18:55:48 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hydra ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${DESTDIR}${PREFIX}/bin
|
THC-Hydra the best parallized login hacker is available: for Samba,
FTP, POP3, IMAP, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5,
PCNFS, Cisco and more. Includes SSL support and is part of Nessus.
2005-04-17 14:19:54 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|