
Ich bin auf MacOS High Sierra und versuche zu bauen john the ripper bleeding-jumbo
. Wenn ich mich im src
Ordner befinde und ausführe, ./configure && make
erhalte ich die folgende Meldung
configure: error: JtR requires OpenSSL and OpenSSL-devel being installed. Install if not installed.
Try using --disable-pkg-config and possibly helping configure find oSSL by providing hints in CFLAGS and LDFLAGS
See `config.log' for more details
Der Befehl which openssl
liefert
/usr/bin/openssl
openssl
ist installiert, aber es scheint, als ob es es nicht finden kann, außerdem scheint das Entwicklungspaket zu fehlen. Wie kann ich das umgehen? Ich konnte auch keine funktionierenden Hinweise zur Installation von openssl-devel finden. Es gibt einige Informationen zur Installation openssl
über Brew, aber das funktioniert nicht.
Antwort1
Also habe ich eine Lösung gefunden, um dieses Problem zu umgehen.
Aus früheren Versuchen brew link openssl --force
sagte mir
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
Nachdem Sie also den Rat in derMailinglisteIch habe ausgeführt
export CFLAGS='-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib'
danach habe ich versucht, erneut zu konfigurieren
./configure --disable-pkg-config
Das hat mich hinter die SSL-Probleme gebracht
Antwort2
FürCentosBenutzer:
libssl
und libssl-dev
sind für Ubuntu-Benutzer.
Installation OpenSSL
und OpenSSL-devel
Bibliotheken.
yum install -y openssl openssl-devel
dann machen Sie eine saubere Neuinstallation vonJTR.
yum -y install wget gpgme
yum -y group install "Development Tools"
cd ~
wget http://www.openwall.com/john/k/john-1.9.0-jumbo-1.tar.xz
wget http://www.openwall.com/john/k/john-1.9.0-jumbo-1.tar.xz.sign
wget http://www.openwall.com/signatures/openwall-signatures.asc
gpg --import openwall-signatures.asc
gpg --verify john-1.9.0-jumbo-1.tar.xz.sign
tar xvfJ john-1.9.0-jumbo-1.tar.xz
cd john-1.9.0-jumbo-1/src
./configure && make
Und zum Schluss testenJTR:
cd ../run/
./john --test