Kismet Wireless

Kismet Forums

 

Posted by:thrashor
Subject:Problem compiling plugin-ptw on BT5R1
Date:16:41:23 03/10/2011

Hi,

I just grabbed the latest source and compiled and installed kismet into /opt on BackTrack 5 R1 so that I could compile plugin-ptw and use it as I do in BT4. However, when I "make" from the plugin-ptw directory or "make plugins" from the kismet source directory, I get the following:

PLUGIN: plugin-ptw/
make[1]: Entering directory `/usr/src/kismet/plugin-ptw'
g++ -I/usr/include/ncurses -I/usr/include -I/usr/src/kismet -g -fPIC -c aircrack-crypto.cc -o aircrack-crypto.o
In file included from aircrack-crypto.cc:24:
aircrack-crypto.h:12:26: error: openssl/hmac.h: No such file or directory
aircrack-crypto.h:13:25: error: openssl/sha.h: No such file or directory
aircrack-crypto.h:15:25: error: openssl/rc4.h: No such file or directory
aircrack-crypto.h:16:25: error: openssl/aes.h: No such file or directory
aircrack-crypto.cc: In function ‘int encrypt_wep(unsigned char*, int, unsigned char*, int)’:
aircrack-crypto.cc:74: error: ‘RC4_KEY’ was not declared in this scope
aircrack-crypto.cc:74: error: expected ‘;’ before ‘S’
aircrack-crypto.cc:76: error: ‘S’ was not declared in this scope
aircrack-crypto.cc:76: error: ‘RC4_set_key’ was not declared in this scope
aircrack-crypto.cc:77: error: ‘RC4’ was not declared in this scope
aircrack-crypto.cc: In function ‘void calc_pmk(char*, char*, unsigned char*)’:
aircrack-crypto.cc:168: error: ‘SHA_CTX’ was not declared in this scope
aircrack-crypto.cc:168: error: expected ‘;’ before ‘ctx_ipad’
aircrack-crypto.cc:169: error: expected ‘;’ before ‘ctx_opad’
aircrack-crypto.cc:170: error: expected ‘;’ before ‘sha1_ctx’
aircrack-crypto.cc:184: error: ‘ctx_ipad’ was not declared in this scope
aircrack-crypto.cc:184: error: ‘SHA1_Init’ was not declared in this scope
aircrack-crypto.cc:185: error: ‘SHA1_Update’ was not declared in this scope
aircrack-crypto.cc:190: error: ‘ctx_opad’ was not declared in this scope
aircrack-crypto.cc:196: error: ‘EVP_sha1’ was not declared in this scope
aircrack-crypto.cc:196: error: ‘HMAC’ was not declared in this scope
aircrack-crypto.cc:201: error: ‘sha1_ctx’ was not declared in this scope
aircrack-crypto.cc:203: error: ‘SHA1_Final’ was not declared in this scope
aircrack-crypto.cc:219: error: ‘sha1_ctx’ was not declared in this scope
aircrack-crypto.cc:221: error: ‘SHA1_Final’ was not declared in this scope
aircrack-crypto.cc: In function ‘void calc_mic(AP_info*, unsigned char*, unsigned char*, unsigned char*)’:
aircrack-crypto.cc:277: error: ‘HMAC_CTX’ was not declared in this scope
aircrack-crypto.cc:277: error: expected ‘;’ before ‘ctx’
aircrack-crypto.cc:303: error: ‘ctx’ was not declared in this scope
aircrack-crypto.cc:303: error: ‘HMAC_CTX_init’ was not declared in this scope
aircrack-crypto.cc:304: error: ‘EVP_sha1’ was not declared in this scope
aircrack-crypto.cc:304: error: ‘HMAC_Init_ex’ was not declared in this scope
aircrack-crypto.cc:310: error: ‘HMAC_Update’ was not declared in this scope
aircrack-crypto.cc:311: error: ‘HMAC_Final’ was not declared in this scope
aircrack-crypto.cc:313: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
aircrack-crypto.cc:317: error: ‘EVP_md5’ was not declared in this scope
aircrack-crypto.cc:317: error: ‘HMAC’ was not declared in this scope
aircrack-crypto.cc:321: error: ‘HMAC’ was not declared in this scope
aircrack-crypto.cc: In function ‘int calc_ptk(WPA_ST_info*, unsigned char*)’:
aircrack-crypto.cc:622: error: ‘EVP_sha1’ was not declared in this scope
aircrack-crypto.cc:622: error: ‘HMAC’ was not declared in this scope
aircrack-crypto.cc:628: error: ‘EVP_md5’ was not declared in this scope
aircrack-crypto.cc:628: error: ‘HMAC’ was not declared in this scope
aircrack-crypto.cc:630: error: ‘EVP_sha1’ was not declared in this scope
aircrack-crypto.cc:630: error: ‘HMAC’ was not declared in this scope
aircrack-crypto.cc: In function ‘int decrypt_ccmp(unsigned char*, int, unsigned char*)’:
aircrack-crypto.cc:1137: error: ‘AES_KEY’ was not declared in this scope
aircrack-crypto.cc:1137: error: expected ‘;’ before ‘aes_ctx’
aircrack-crypto.cc:1169: error: ‘aes_ctx’ was not declared in this scope
aircrack-crypto.cc:1169: error: ‘AES_set_encrypt_key’ was not declared in this scope
aircrack-crypto.cc:1170: error: ‘AES_encrypt’ was not declared in this scope
make[1]: *** [aircrack-crypto.o] Error 1
make[1]: Leaving directory `/usr/src/kismet/plugin-ptw'

I'm not a C guy so I don't really know what to look for. Any ideas?

-thrashor


Reply to this message