Author Topic: airolib and sqlite  (Read 6103 times)

ltdan

  • Guest
on: June 20, 2012, 12:13:59 PM

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

  • Guest
Reply #1 on: June 20, 2012, 01:31:01 PM
just recomplie aircrack with sqlite

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

extract and cd into the aircrack folder

Code: [Select]
make sqlite=true
sudo make sqlite=true install

« Last Edit: June 20, 2012, 01:37:42 PM by r083rt »



ltdan

  • Guest
Reply #2 on: June 21, 2012, 09:53:28 AM
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

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #3 on: June 21, 2012, 10:29:30 AM
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...
Code: [Select]
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...
« Last Edit: June 21, 2012, 10:42:49 AM by weVeg »

una voce libera è sempre liberatrice
under_r00t


ltdan

  • Guest
Reply #4 on: June 21, 2012, 10:59:26 AM
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
« Last Edit: June 21, 2012, 12:42:09 PM by ZEROF »



weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #5 on: June 21, 2012, 12:07:48 PM
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
Code: [Select]
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!!
« Last Edit: June 21, 2012, 12:18:16 PM by weVeg »

una voce libera è sempre liberatrice
under_r00t


ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #6 on: June 21, 2012, 12:22:07 PM
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

Code: [Select]
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

Code: [Select]
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

  • Guest
Reply #7 on: June 21, 2012, 12:35:17 PM
thanks weVeg and ZEROF

make sure you have all these installed

Code: [Select]
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

« Last Edit: June 21, 2012, 12:49:55 PM by r083rt »



ltdan

  • Guest
Reply #8 on: June 21, 2012, 11:43:37 PM
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

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #9 on: June 21, 2012, 11:57:42 PM
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...
« Last Edit: June 21, 2012, 11:59:52 PM by weVeg »

una voce libera è sempre liberatrice
under_r00t


ltdan

  • Guest
Reply #10 on: June 22, 2012, 03:48:58 AM
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

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #11 on: June 22, 2012, 11:26:59 AM
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.
« Last Edit: June 22, 2012, 11:30:36 AM by ZEROF »


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


weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #12 on: June 22, 2012, 04:50:07 PM
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

  • Guest
Reply #13 on: June 23, 2012, 12:27:12 AM
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
« Last Edit: June 23, 2012, 12:32:57 AM by r083rt »



ltdan

  • Guest
Reply #14 on: June 25, 2012, 03:47:31 AM
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
« Last Edit: April 26, 2013, 08:05:54 PM by ltdan »