Blackyeezy / reaver-wps

Automatically exported from code.google.com/p/reaver-wps
0 stars 0 forks source link

Reaver.db sqlite database unreadable on Ubuntu 12.04. (AWUS036H & Thinkpad T61p) #555

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Reaver 1.4 r116 on Ubuntu 12.04 64-bit, fully updated.  Laptop: Thinkpad T61p.  
Wireless device: Alfa AWUS036H.

I have run "wash -i mon0 -s" and it's output looks sensible.  It produces a 
reaver.db file in /usr/local/etc/reaver.  Using emacs to read that file shows 
that it contains data, but any attempt to read it as an sqlite database 
produces errors.  From the command line "sqlite3" I get:

BEGIN TRANSACTION;
/**** ERROR: (26) file is encrypted or is not a database *****/
ROLLBACK; -- due to errors

I have tried the gui interfaces (packages sqlitebrowser & sqliteman), along 
with Firefox's sqlite manager plugin.  They all tell me the file is corrupted 
or unreadable.

This behavior is produced whether I ^C out of wash and view the database, or 
try to view it while wash is running.  

Original issue reported on code.google.com by devr...@gmail.com on 11 Sep 2013 at 6:09

GoogleCodeExporter commented 8 years ago
sorry but I did not understand what the purpose of accessing this file. db?

Original comment by deltomaf...@gmail.com on 12 Sep 2013 at 12:20

GoogleCodeExporter commented 8 years ago
From reaver-1.4/docs/README.WASH (in the .tar.gz or the source from svn):

The reaver.db SQLite database contains three tables:

history         This table lists attack history, including percent complete and 
recovered WPA keys
survey          This table is re-populated each time wash is run with detailed 
access point information
status          This table is used to indicate the overall status of wash/reaver

Original comment by devr...@gmail.com on 12 Sep 2013 at 5:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Well, I'm glad it works for you, but it doesn't work for me, and this appears 
to be a bug.  That's why I'm reporting it.  It's not for your edification.  
It's so that the problem can be corrected.

Original comment by devr...@gmail.com on 13 Sep 2013 at 9:59

GoogleCodeExporter commented 8 years ago
ok, sorry...
at the beginning of the file reaver.db have string:
"SQLite format 3" 

cat reaver.db

Original comment by deltomaf...@gmail.com on 14 Sep 2013 at 3:47