Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hydra.py: Add cmake dependency #609

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/vulnerability-analysis/hydra.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Loading