vanhauser-thc / thc-hydra

hydra
GNU Affero General Public License v3.0
9.77k stars 2.03k forks source link

make: *** [Makefile:89: install] Error 1 #952

Open Koutro44 opened 6 months ago

Koutro44 commented 6 months ago

koutro@GEORGE-DESKTOP:~$ cd thc-hydra koutro@GEORGE-DESKTOP:~/thc-hydra$ ./configure make make install

Starting hydra auto configuration ... Detected 64 Bit Linux OS

Checking for zlib (libz/zlib.h) ... ... zlib not found, gzip support disabled Checking for openssl (libssl/libcrypto/ssl.h/sha.h) ... ... NOT found, SSL support disabled Get it from http://www.openssl.org Checking for gcrypt (libgcrypt/gpg-error.h) ... ... gcrypt not found, radmin2 module disabled Checking for idn (libidn) ... ... NOT found, unicode logins and passwords will not be supported Checking for curses (libcurses/term.h) ... ... NOT found, color output disabled Checking for pcre2 (libpcre/pcre.h) ... ... NOT found, server response checks will be less reliable Checking for Postgres (libpq/libpq-fe.h) ... ... NOT found, module postgres disabled Checking for SVN (libsvn_client-1/libapr-1/libaprutil-1) ... ... NOT found, module svn disabled Checking for firebird (libfbclient) ... ... NOT found, module firebird disabled Checking for MYSQL client (libmysqlclient/math.h) ... ... NOT found, module Mysql will not support version > 4.x Checking for AFP (libafpclient) ... ... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway Checking for NCP (libncp/nwcalls.h) ... ... NOT found, module NCP disabled Checking for SAP/R3 (librfc/saprfc.h) ... ... NOT found, module sapr3 disabled Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp Checking for libssh (libssh/libssh.h) ... ... NOT found, module ssh disabled Get it from http://www.libssh.org Checking for Oracle (libocci/libclntsh/oci.h/libaio/liboci) ... ... NOT found, module Oracle disabled Get basic and sdk package from https://www.oracle.com/database/technologies/instant-client/downloads.html Checking for Memcached (libmemcached/memcached.h) ... ... NOT found, module memcached disabled Checking for Freerdp3 (libfreerdp3/freerdp.h/libwinpr3/winpr.h) ... ... NOT found, checking for freerdp2 module next... Checking for Freerdp2 (libfreerdp2/freerdp.h/libwinpr2/winpr.h) ... ... NOT found, module rdp disabled Checking for Mongodb (libmongoc-1.0/mongoc.h/libbson-1.0/bson.h) ... ... NOT found, module mongodb disabled Checking for smbclient (libsmbclient/libsmbclient.h) ... ... NOT found, module smb2 disabled Checking for GUI req's (pkg-config/gtk+-2.0) ... ... NOT found, optional anyway Checking for Android specialities ... ... strrchr() found Checking for secure compile option support in gcc ... Compiling... yes Linking... yes Checking for --allow-multiple-definition linker option ... yes

Hydra will be installed into .../bin of: /usr/local (change this by running ./configure --prefix=path)

Writing Makefile.in ... now type "make"

Now type make install

Now type make install strip hydra pw-inspector echo OK > /dev/null && test -x xhydra && strip xhydra || echo OK > /dev/null mkdir -p /usr/local/bin cp -f hydra-wizard.sh hydra pw-inspector /usr/local/bin && cd /usr/local/bin && chmod 755 hydra-wizard.sh hydra pw-inspector cp: cannot create regular file '/usr/local/bin/hydra-wizard.sh': Permission denied cp: cannot create regular file '/usr/local/bin/hydra': Permission denied cp: cannot create regular file '/usr/local/bin/pw-inspector': Permission denied make: *** [Makefile:89: install] Error 1

Goofygiraffe06 commented 6 months ago

Based on the specific log messages and your username

cp: cannot create regular file '/usr/local/bin/hydra-wizard.sh': Permission denied
cp: cannot create regular file '/usr/local/bin/hydra': Permission denied
cp: cannot create regular file '/usr/local/bin/pw-inspector': Permission denied

You need to run the command with sudo.

mickey-cyberkid commented 3 weeks ago

Using sudo should solve the issue just as @Goofygiraffe06 said.