Backtrack 5r1 Aircrack
#1
I understand this is not directly hashcat related but this is the forum I spend most time on and to be honest I am more likely to get a decent answer here !

It is somewhat hashcat related though and I am sorry if I shouldn't ask on this forum.

Until now I have been using my copy of Backtrack 4 quite happily and I managed to update aircrack so I could use the –J option to make my hcap files.

I decided to make the change to Backtrack 5r1 this week and I must say I have had an awful lot of trouble since.

I have managed to struggle through most problems but I have been stuck on this one for some time, so much so I have not been posting here as much as I would normally like and that won’t do !!!!

My problem …

In Backtrack 4 I used to be able to copy the SVN of aircrack and save it to the desktop. I then opened the terminal in that directory and did, make then make install. Everything used to be so easy and it worked every time I upgraded.

Now when I have installed Backtrack 5r1 and tried to do the same I get errors and aircrack does not upgrade.

Here is what I get….

Code:
make -C src all
make[1]: Entering directory `/pentest/wireless/aircrack-ng/src'
make -C osdep
make[2]: Entering directory `/pentest/wireless/aircrack-ng/src/osdep'
Building for Linux
make[3]: Entering directory `/pentest/wireless/aircrack-ng/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/pentest/wireless/aircrack-ng/src/osdep'
make[2]: Leaving directory `/pentest/wireless/aircrack-ng/src/osdep'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2022  -Iinclude   -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:12:26: error: openssl/hmac.h: No such file or directory
crypto.h:13:25: error: openssl/sha.h: No such file or directory
crypto.h:15:25: error: openssl/rc4.h: No such file or directory
crypto.h:16:25: error: openssl/aes.h: No such file or directory
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function ‘calc_4pmk’:
sha1-sse2.h:140: warning: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: warning: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3979: warning: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/pentest/wireless/aircrack-ng/src'
make: *** [all] Error 2



make -C src install
make[1]: Entering directory `/pentest/wireless/aircrack-ng/src'
make -C osdep
make[2]: Entering directory `/pentest/wireless/aircrack-ng/src/osdep'
Building for Linux
make[3]: Entering directory `/pentest/wireless/aircrack-ng/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/pentest/wireless/aircrack-ng/src/osdep'
make[2]: Leaving directory `/pentest/wireless/aircrack-ng/src/osdep'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2022  -Iinclude   -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:12:26: error: openssl/hmac.h: No such file or directory
crypto.h:13:25: error: openssl/sha.h: No such file or directory
crypto.h:15:25: error: openssl/rc4.h: No such file or directory
crypto.h:16:25: error: openssl/aes.h: No such file or directory
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function ‘calc_4pmk’:
sha1-sse2.h:140: warning: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: warning: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3979: warning: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/pentest/wireless/aircrack-ng/src'
make: *** [install] Error 2

I have looked on the net and found many people having the same or similar problems. Unfortunately for me none of the fixes suggested seem to work and I don’t understand why. There was even a script posted here on this forum but it said I needed to comment out line 666 but that line number didn’t seem right to me and it didn’t work anyway.

I have downloaded many packages ssl lib’s open ssl etc and installed them all with no effect. I notice the error “openssl/aes.h: No such file or directory” but I have tried installing these and I would have thought they were already there as aircrack is pre installed in Backtrack 5 anyway.

I do have one additional complication and that is that I would like to be able to do this manually, meaning I would like to update everything myself without just connecting Backtrack to the internet.

Can some clever person please walk me through this ? I have made another fresh install of Backtrack 5r1 so I can start from a fresh. What do I need to download to be able to manually update aircrack ?

Thanks.


Messages In This Thread
Backtrack 5r1 Aircrack - by Hash-IT - 01-11-2012, 07:40 PM
RE: Backtrack 5r1 Aircrack - by radix - 01-11-2012, 08:28 PM
RE: Backtrack 5r1 Aircrack - by Hash-IT - 01-11-2012, 08:41 PM
RE: Backtrack 5r1 Aircrack - by radix - 01-11-2012, 08:43 PM
RE: Backtrack 5r1 Aircrack - by Hash-IT - 01-11-2012, 11:54 PM
RE: Backtrack 5r1 Aircrack - by restrictedbytes - 01-12-2012, 01:20 AM
RE: Backtrack 5r1 Aircrack - by Hash-IT - 01-12-2012, 01:48 AM
RE: Backtrack 5r1 Aircrack - by restrictedbytes - 01-12-2012, 03:51 AM
RE: Backtrack 5r1 Aircrack - by Hash-IT - 01-12-2012, 10:56 AM
RE: Backtrack 5r1 Aircrack - by radix - 01-18-2012, 06:51 AM