1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 18:08:20 +00:00
hashcat/tools/install_modules.sh
R. Yushaev b5a7e967c1 Add support for Open Document Format 1.1
Contains a kernel for the ODF 1.1 encryption implemented in OpenOffice.
The algorithm uses a SHA-1 checksum, a PBKDF2-HMAC-SHA1 key derivation
with 1024 iterations and Blowfish-CFB encryption.

Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py

You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18600 --example-hashes'.

You can leave the filename prefix if you use the --username option to
process those hashes.

 - Add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
 - Tests: add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
2018-12-14 13:23:52 +01:00

71 lines
2.3 KiB
Bash
Executable File

#!/bin/bash
##
## Author......: See docs/credits.txt
## License.....: MIT
##
## Test suite installation helper script
# Sum of all exit codes
ERRORS=0
cpan install Authen::Passphrase::LANManager \
Authen::Passphrase::MySQL323 \
Authen::Passphrase::NTHash \
Authen::Passphrase::PHPass \
Convert::EBCDIC \
Crypt::CBC \
Crypt::DES \
Crypt::Digest::RIPEMD160 \
Crypt::Digest::Whirlpool \
Crypt::ECB \
Crypt::Eksblowfish::Bcrypt \
Crypt::GCrypt \
Crypt::Mode::ECB \
Crypt::MySQL \
Crypt::OpenSSH::ChachaPoly \
Crypt::PBKDF2 \
Crypt::RC4 \
Crypt::Rijndael \
Crypt::ScryptKDF \
Crypt::Skip32 \
Crypt::Twofish \
Crypt::UnixCrypt_XS \
Digest::BLAKE2 \
Digest::CMAC \
Digest::CRC \
Digest::GOST \
Digest::HMAC \
Digest::HMAC_MD5 \
Digest::Keccak \
Digest::MD4 \
Digest::MD5 \
Digest::Perl::MD5 \
Digest::SHA \
Digest::SHA1 \
Digest::SHA3 \
Digest::SipHash \
JSON \
MIME::Base32 \
MIME::Base64 \
Net::DNS::RR::NSEC3 \
Net::DNS::SEC \
Text::Iconv \
;
ERRORS=$((ERRORS+$?))
pip2 install pygost
ERRORS=$((ERRORS+$?))
echo
if [ $ERRORS -eq 0 ]; then
echo '[ OK ] All commands were successful'
exit 0
else
echo '[ FAIL ] Some commands were not successful'
exit 1
fi