Closed GoogleCodeExporter closed 9 years ago
sqlite has no (tcp) server of it's own. It' strictly filesystem-based.
If you want to access mydb.db from 192.168.0.1, you need to mount the
remote-filesystem to the local one. Use NFSv4 and beware locking issues....
Original comment by lukas.l...@gmail.com
on 3 Nov 2009 at 1:06
using sshfs also works,
mounted server/pathofmydb in client /mnt/ssh
pyrit -u sqlite:///mydb.db batch on the server +
pyrit -u sqlite:////mnt/ssh/mydb.db batch on the client =
works togheter, but
when one finish the other not, and the database was malformed:
sqlalchemy.exc.DatabaseError: (DatabaseError) database disk image is malformed
u'SELECT essids.essid AS essids_essid, sum(passwords."numElems") AS sum_1 \nFROM
essids LEFT OUTER JOIN results ON essids.essid_id = results.essid_id LEFT OUTER
JOIN
passwords ON passwords._key = results._key GROUP BY essids.essid' []
Original comment by masterzorag
on 3 Nov 2009 at 3:44
This is probably due to locking/caching issues in sshfs. NFS may also fail you
(see
sqlite faq (5)).
You should use a 'real' database-server if you want to use Pyrit over the
network.
See http://pyrit.wordpress.com/2009/10/18/network-is-coming-back/ on how to
setup
Postgresql for that.
Original comment by lukas.l...@gmail.com
on 3 Nov 2009 at 4:02
Original issue reported on code.google.com by
masterzorag
on 3 Nov 2009 at 12:50