airolib and sqlite

Started by ltdan, June 20, 2012, 01:13:59 PM

Previous topic - Next topic

ltdan


what do i do to fix the error after the following commands:

airolib-ng Mike.db --import essid /root/Public/Mikessid

airolib-ng Mike.db --import passwd /root/Public/password.lst

airolib-ng Mike.db --batch

airolib-ng Mike.db --verify

aircrack-ng -r Mike.db /root/Public/Mikez-01.cap


on the last command i get the sqlite error, and not sure why
ran updates, got the latest aircrack suite etc.

Error: Aircrack-ng wasn't compiled with sqlite support

the notes i could find online were all few years old
and i have sqlite installed, not sure what to do

any suggestions appreciated thanks, LT



r083rt

#1
just recomplie aircrack with sqlite

http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz

extract and cd into the aircrack folder


make sqlite=true
sudo make sqlite=true install



ltdan

I don't know why i'm having a hard time with this,
here's what i've done
sql lite is installed
i went into synaptic, uninstalled aircrack-ng

downloaded the latest,
put it in the root folder
opened terminal:
ls
cd to the tar
tar -zxvf aircrack-ng-1.1.tar.gz
make sqlite=true
make sqlite=true install

i'm goofen something up, coz when i do the install it's like half the files aren't there compared to the install with synaptic

can i just cd to a directory after synaptic installs it
or what directory can i cd into to do make sqlite=true
make sqlite=true install

appreciate it thank you
LT


weVeg

#3
hi ltdan, look this error Error: Aircrack-ng wasn't compiled with sqlite support , tell you that aircrack not support sqlite, so just compile it with support...

sudo apt-get remove --purge aircrack-ng
download aircrack
untar it (before to Change Directory inside it ;) )
cd aircrack-ng
make sqlite=true
sudo make sqlite=true install

hope i help you!

ps: to compile everythings you want, you need at  least: build-essential, header and kernel sources...
una voce libera è sempre liberatrice
under_r00t

ltdan

#4
Errors from terminal.

http://pastebin.com/cTHHnZWt

EDIT by ZEROF: I made pastebin for errors from terminal because if you post like this it's take a lot of space :)

i got the headers, kernel, build essential, did apt distr update/upgrade even, i have no idea what in the world or how i'm making this so complex, which it ain't
lemme know if i need to post screen shots, so far, this is about the closest i've come to really being able to make tables just using the aircrack suite and not pyrit or cowpatty etc
like to just hang with the aircrack suite

do appreciate the help
so for brain farten
sincerely, LT

weVeg

#5
you need libsqlite-dev  and openssl-dev
http://www.aircrack-ng.org/doku.php?id=install_aircrack#linux
and there is a bug on gcc look this http://mydata-center.com/wordpress/?p=40
this is the issue
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -I/usr/local/include -DHAVE_SQLITE -Iinclude   -c -o aircrack-ng.o aircrack-ng.c
cc1: warnings being treated as errors

gcc treat warnings as errors and stop to compile, you can comment -Werror or follow the link below! check your gcc versione!!
una voce libera è sempre liberatrice
under_r00t

ZEROF

Hi,

If i remeber well, you are missing few steps ..

1.Make database
2.Import dictionary file
3.Import essid
4.Check database
5.Cleaning
6.Batch
7.General check

airolib-ng wpacrack --import passwd /root/test.txt
airolib-ng wpacrack --import essid /root/essid.txt
airolib-ng wpacrack --stats
airolib-ng wpacrack --clean all
airolib-ng wpacrack --batch
airolib-ng wpacrack --verify all


After this your you can use database with aircrack-ng

aircrack-ng -r wpacrack out-01.cap

And try veweg and r083rt solutions.

P.S. If you remove aircrack-ng (purge) BackBox package you will remove few dependency, because of that you need to install them.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

r083rt

#7
thanks weVeg and ZEROF

make sure you have all these installed


sudo apt-get install libssl-dev
sudo apt-get install libsqlite-dev
sudo apt-get install openssl-dev
sudo apt-get install build-essential
sudo apt-get install gcc-4.4


Sorry itdan I presumed you had these installled as these are required for the likes of hydra ,ncrack etc etc

also check out your procedure i.e ZEROF's example to make sure you are doing the required steps when you have complied aircrack


ltdan

purged it, installed dependencies, grabbed the ones off the net that can't be downloaded via cli,
open ssl,
i grabbed gcc, still getting the error,
all i want to do is to make some rainbow tables and get to using them
i've also tried the svn download but server not going, maybe coz bt
switched it or something, since got AC, anyway,
i'm on skype: allen-sec and yahoo: allensecz
will load teamview, love backbox,
beer is on me you help me pull my head out of the gutter on this one
thank you
and i appreciate the replies, i took the notez down,

weVeg

#9
Quote from: ltdan on June 22, 2012, 12:43:37 AM
purged it, installed dependencies, grabbed the ones off the net that can't be downloaded via cli,
open ssl,
i grabbed gcc, still getting the error,
all i want to do is to make some rainbow tables and get to using them
i've also tried the svn download but server not going, maybe coz bt
switched it or something, since got AC, anyway,
i'm on skype: allen-sec and yahoo: allensecz
will load teamview, love backbox,
beer is on me you help me pull my head out of the gutter on this one
thank you
and i appreciate the replies, i took the notez down,

hi ltdan, in this case post all that you have done, all command, all the error, the version and your config...
we will check together! don't forget anything, everything is important...
una voce libera è sempre liberatrice
under_r00t

ltdan

http://imagebin.org/217414

http://imagebin.org/217415

was able to get past the sqlite error

not sure how i did that
or if dun it right

now at these errors

thanx

lt

ZEROF

#11
Hi,

You don't use BBox and this is BBox support forum, not aircrack-ng, ubuntu or how to hack forum, hm. Run help commande maybe some changes have been made in last aircrack-ng version. And move *.cap file to root folder.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

weVeg

sorry but where is the error? i see only use problem.... read man or run help.... and as zerof told you, you don't use bbox...
una voce libera è sempre liberatrice
under_r00t

r083rt

#13
itdan you have some got some neck !!!

the fact your not even using the backbox distro and your looking for help , your really taking the piss


1) how the hell do you expect things to get sorted for you when you are not even using the backbox distro ?
2) people are not here to fix problems in all distros this is a backbox dedicated forum
3) if you want a pentesting distro use backbox not an ordinary ubuntu or other distro that you have configured
4) you fail at failing

r083rt

ltdan

#14
yes it is backbox, just a themed backbox with some tweaks, i set it up to just log in as root,

I'm decent on linux, and i have to be goofen up somewhere in my recompiling aircrack suite, so i'll
check around the forums etc see what i'm doing wrong, aircrack has been out a while,
i'm not sure why it's got a "bug" like this in their latest release, don't mean to sound
disrespectful on aircrack,

for all the suggestions, replies, and posts thank you, your time is appreciated, your help etc.
backbox is hands down the best i've ever used, so again, thanx



LT