nagyistoce / fern-wifi-cracker

Automatically exported from code.google.com/p/fern-wifi-cracker
1 stars 0 forks source link

Database Problem #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Running fern
2. Cracking a wlan, acquiring a key
3. Inserting a key in the DB manually

What is the expected output? What do you see instead?

No items are added to the DB

What version of the product are you using? On what operating system?

Fern 1.5, Ubuntu 11.10 updated as of now.
All dependencies are met according to Fern.

Please provide any additional information below.

Original issue reported on code.google.com by leonardo...@gmail.com on 29 Jan 2012 at 2:20

GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "/usr/local/bin/Fern-Wifi-Cracker/core/database.py", line 101, in save_changes
    set_key_entries(access_point,mac_address,encryption,key,channel)       # Write enrties to database
  File "/usr/local/bin/Fern-Wifi-Cracker/core/functions.py", line 25, in set_key_entries
    query.execute("insert into keys values ('%s','%s','%s','%s','%s')"%(str(arg),str(arg1),str(arg2),str(arg3),str(arg4)))
sqlite3.OperationalError: table keys has 4 columns but 5 values were supplied

Original comment by wat...@gmail.com on 3 Jun 2012 at 5:26

GoogleCodeExporter commented 9 years ago
Bug has been fixed.. Thanks for the report :)

Original comment by saviob...@rocketmail.com on 3 Jun 2012 at 6:50