From 8e58889728d90066c26e4196bc78970455bb459b Mon Sep 17 00:00:00 2001 From: Jeff McJunkin Date: Sun, 27 Aug 2023 15:33:35 -0700 Subject: [PATCH] Update hydra.py: Add cmake dependency --- modules/vulnerability-analysis/hydra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/vulnerability-analysis/hydra.py b/modules/vulnerability-analysis/hydra.py index c6583bd1..637880ab 100644 --- a/modules/vulnerability-analysis/hydra.py +++ b/modules/vulnerability-analysis/hydra.py @@ -20,13 +20,13 @@ INSTALL_LOCATION="hydra" # DEPENDS FOR DEBIAN INSTALLS -DEBIAN="libssl-dev libssh-dev libidn11-dev libpcre3-dev libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev firebird-dev ldap-utils ruby-dev" +DEBIAN="libssl-dev libssh-dev libidn11-dev libpcre3-dev libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev firebird-dev ldap-utils ruby-dev cmake" # DEPENDS FOR FEDORA INSTALLS FEDORA="openssl-devel pcre-devel ncpfs-devel postgresql-devel libssh-devel subversion-devel libncurses-devel" # COMMANDS TO RUN AFTER -AFTER_COMMANDS="echo installing hydra,cd {INSTALL_LOCATION},git clone http://git.libssh.org/projects/libssh.git libssh,cd libssh,mkdir build,cd build,cmake -DWITH_SSH1=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..,make -j4,make install,cd ../../,./configure,make -j4,make install" +AFTER_COMMANDS="cd {INSTALL_LOCATION},git clone http://git.libssh.org/projects/libssh.git libssh,cd libssh,mkdir build,cd build,cmake -DWITH_SSH1=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..,make -j4,make install,cd ../../,./configure,make -j4,make install" # THIS WILL CREATE AN AUTOMATIC LAUNCHER FOR THE TOOL LAUNCHER="hydra"