Pagina 1 di 1

[risolto]errore di compilazione di rainbowcrack

Inviato: venerdì 1 agosto 2008, 15:04
da Raff0Z
ho provato a installare(compilare) rainbowcrack e mi da quest errore

Codice: Seleziona tutto

raff0z@raff0z-laptop:~$ cd '/home/raff0z/Scrivania/varie/rainbowcrack-1.2-src/src' 
raff0z@raff0z-laptop:~/Scrivania/varie/rainbowcrack-1.2-src/src$ make -f makefile.linux
g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O3 -o rtgen
ChainWalkContext.cpp:14:26: error: openssl/rand.h: Nessun file o directory
ChainWalkContext.cpp: In member function ‘void CChainWalkContext::GenerateRandomIndex()’:
ChainWalkContext.cpp:348: error: ‘RAND_bytes’ was not declared in this scope
HashAlgorithm.cpp:9:25: error: openssl/des.h: Nessun file o directory
HashAlgorithm.cpp:10:25: error: openssl/md5.h: Nessun file o directory
HashAlgorithm.cpp:11:25: error: openssl/sha.h: Nessun file o directory
HashAlgorithm.cpp:16: error: ‘des_key_schedule’ has not been declared
HashAlgorithm.cpp: In function ‘void setup_des_key(unsigned char*, int&)’:
HashAlgorithm.cpp:18: error: ‘des_cblock’ was not declared in this scope
HashAlgorithm.cpp:18: error: expected `;' before ‘key’
HashAlgorithm.cpp:20: error: ‘key’ was not declared in this scope
HashAlgorithm.cpp:30: error: ‘des_set_key’ was not declared in this scope
HashAlgorithm.cpp: In function ‘void HashLM(unsigned char*, int, unsigned char*)’:
HashAlgorithm.cpp:45: error: ‘des_key_schedule’ was not declared in this scope
HashAlgorithm.cpp:45: error: expected `;' before ‘ks’
HashAlgorithm.cpp:47: error: ‘ks’ was not declared in this scope
HashAlgorithm.cpp:48: error: ‘des_cblock’ was not declared in this scope
HashAlgorithm.cpp:48: error: expected primary-expression before ‘)’ token
HashAlgorithm.cpp:48: error: expected primary-expression before ‘)’ token
HashAlgorithm.cpp:48: error: ‘DES_ENCRYPT’ was not declared in this scope
HashAlgorithm.cpp:48: error: ‘des_ecb_encrypt’ was not declared in this scope
HashAlgorithm.cpp: In function ‘void HashMD5(unsigned char*, int, unsigned char*)’:
HashAlgorithm.cpp:53: error: ‘MD5’ was not declared in this scope
HashAlgorithm.cpp: In function ‘void HashSHA1(unsigned char*, int, unsigned char*)’:
HashAlgorithm.cpp:58: error: ‘SHA1’ was not declared in this scope
make: *** [rtgen] Error 1
raff0z@raff0z-laptop:~/Scrivania/varie/rainbowcrack-1.2-src/src$ 
qualche suggerimento?

ho ubuntu 8.04(installato con wubi da windows)

Re: errore di compilazione di rainbowcrack

Inviato: venerdì 1 agosto 2008, 20:52
da Raff0Z
risolto ho installato :
libssl-dev e libcurl4-openssl-dev

e funge :P