How can I tell pyrit to store its database on an external HDD? I figured out how to feed it with data from an external HDD but not how to move the entire database to it.
Any help is greatly appreciated :)
How can I tell pyrit to store its database on an external HDD? I figured out how to feed it with data from an external HDD but not how to move the entire database to it.
Any help is greatly appreciated :)
2 Responses
(Make a back up as always to all files involved)
###For Path Info###
#~sudo fdisk -l
--------------------------------------------------------------------------------------
###This Will Move MYSql Database To an External HDD###
Copy the sql database to the EXT. (/var/lib/mysql/)
You will get perms errors if you try and connect to sql at this point.
SO: Nav to and edit (/etc/mysql/my.conf)
datadir = /var/lib/mysql/
datadir = /media/DRIVENAME/mysql/ <---New Location
Save and exit
This puts your Mysql database onto your external HDD
--------------------------------------------------------------------------------------
###Make Pyrit Communicate###
Edit ./pyrit/config
Change
defaultstorage = file:// to
defaultstorage = mysql://username:password@localhost/pyrit
limitncpus = 0
rpcannounce = false
rpcannouncebroadcast = false
rpcknownclients =
rpcserver = false
workunitsize = 75000
Save and exit.
This tells Pyrit where the Sql is located
--------------------------------------------------------------------------------------
### Testing it###
#~ pyrit eval
If all went well you will not get any errors
-or-
###(No Database)
-#~ pyrit -r hs/Whateverxx-xx-xx-xx-xx-xx.cap -i /root/wpa.lst attackpassthrough
Underscore missing on attackxpassthrough
Share Your Thoughts