qweasdzxc17 / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

pyrit and sqlalchemy keep throwing warnings when using sqlite #134

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
pyrit r238 with sqlalchemy r6902

pyrit eval
/usr/local/lib/python2.6/dist-packages/cpyrit/storage.py:743:
SADeprecationWarning: The Binary type has been renamed to LargeBinary.
  sql.Column('essid', sql.Binary(32), nullable=False),
/usr/local/lib/python2.6/dist-packages/cpyrit/storage.py:753:
SADeprecationWarning: The Binary type has been renamed to LargeBinary.
  sql.Column('collection_buffer', sql.Binary(2**24-1), \
/usr/local/lib/python2.6/dist-packages/cpyrit/storage.py:765:
SADeprecationWarning: The Binary type has been renamed to LargeBinary.
  sql.Column('results_buffer', sql.Binary(2**24 - 1), \
Pyrit 0.3.1-dev (svn r242) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Connecting to storage at 'sqlite:////home/root/pyrit.db'...  connected.
Passwords available: 0

ESSID 'MYWIFI' : 0 (0.00%)

problem fixed with

743c743
<                         sql.Column('essid', sql.Binary(32), nullable=False),

---
>                         sql.Column('essid', sql.LargeBinary(32),
nullable=False),
753c753
<                         sql.Column('collection_buffer',
sql.Binary(2**24-1), \

---
>                         sql.Column('collection_buffer',
sql.LargeBinary(2**24-1), \
765c765
<                         sql.Column('results_buffer', sql.Binary(2**24 - 1), \

---
>                         sql.Column('results_buffer',
sql.LargeBinary(2**24 - 1), \

seems to work ok after changing those lines

Original issue reported on code.google.com by lsell...@gmail.com on 4 Apr 2010 at 5:17

GoogleCodeExporter commented 8 years ago
fixed in r282

Original comment by lukas.l...@gmail.com on 19 Oct 2010 at 5:00