Debian
在 Kali 上安裝 John the Ripper Jumbo 時出現問題 - libssl-devdependecy
我正在嘗試在我的 Kali 盒子上安裝John the Ripper Jumbo。由於某種原因,我最近在備用筆記型電腦上作為主機作業系統安裝的 Kali 版本似乎沒有 NTLM 雜湊支持(而我作為 VM 安裝的另一個較舊的安裝版本)。我收到以下消息:
root@kali:~/Downloads/john-1.8.0-jumbo-1/src# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether to compile using MPI... no checking for gcc... gcc ... checking for byte ordering according to target triple... little checking for OPENSSL... no configure: error: in `/root/Downloads/john-1.8.0-jumbo-1/src': 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
如果我嘗試安裝 OpenSSL-devel (
libssl-dev
我相信在 Debian 上),它會給出以下資訊:root@kali:~/Downloads/john-1.8.0-jumbo-1/src# aptitude install libssl-dev The following NEW packages will be installed: libssl-dev{b} The following partially installed packages will be configured: hal libmtp-common poppler-data xpdf 0 packages upgraded, 1 newly installed, 0 to remove and 12 not upgraded. Need to get 1,593 kB of archives. After unpacking 5,074 kB will be used. The following packages have unmet dependencies: libssl-dev : Depends: libssl1.0.0 (= 1.0.1e-2+deb7u14) but 1.0.1j-1 is installed. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) libssl-dev [Not Installed] Accept this solution? [Y/n/q/?] The following partially installed packages will be configured: hal libmtp-common poppler-data xpdf No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.
但是,我仍然有同樣的問題
./configure
。我包括輸出
apt-cache
以防萬一這會有所幫助。root@kali:~# apt-cache policy libssl-dev libssl1.0.0 libssl-dev: Installed: (none) Candidate: 1.0.1e-2+deb7u14 Version table: 1.0.1e-2+deb7u14 0 500 http://security.kali.org/kali-security/ kali/updates/main i386 Packages 1.0.1e-2+deb7u13 0 500 http://http.kali.org/kali/ kali/main i386 Packages libssl1.0.0: Installed: 1.0.1j-1 Candidate: 1.0.1j-1 Version table: *** 1.0.1j-1 0 100 /var/lib/dpkg/status 1.0.1e-2+deb7u14 0 500 http://security.kali.org/kali-security/ kali/updates/main i386 Packages 1.0.1e-2+deb7u13 0 500 http://http.kali.org/kali/ kali/main i386 Packages
如何安裝 OpenSSL-devel?
您
libssl1.0.0
從某個apt
不知道的地方安裝了 1.0.1j-1 版本(因此在 的輸出中缺少 URLapt-cache policy
)。如果要安裝libssl-dev
,則需要:
- 從您獲得的任何地方
libssl-dev
安裝與您安裝的副本匹配的版本libssl1.0.0``libssl1.0.0
- 降級
libssl1.0.0
以匹配可用的可用libssl-dev
版本要降級,請回答
n
的aptitude
問題,它應該(最終)建議降級libssl1.0.0
。或者,您可以通過說aptitude install libssl-dev libssl1.0.0=1.0.1e-2+deb7u14
降級不應引入任何安全風險,安全更新中可用的版本已修補。