When running SQLDict on Backtrack Linux it is possible to run into an issue where SQLDict crashes when loading the password file. The issue appears to be that the SQLDict executable is expecting the password file to have a file ending on it no matter what it is and if not it causes SQLDict and Wine to crash on BT5 r3. Below the error is displayed along with a work around for the problem.
SQLDict Crashes When Loading Password File:
SQLDict Crash Error Text: The program SQLDict.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience.
This error occurs right at the moment when attempting to load the password file or wordlist. The issue relates to the password file also known as wordlist not having a file ending so a file named “test” would fail no matter the contents and a file with the same contents named “test.txt” will succeed. I initially thought it might be specific file endings only but confirmed that was not the case when I was able to use “test.some” and it worked without issue.
SQLDict: Load Password File On Backtrack Linux
In the example image above the test and test.txt files have the exact same contents. The test file crashes every time and the test.txt file works every time. If you happen to run into this issue simply move the wordlist to filename.txt using the below syntax.
Rename Password File On Backtrack Linux For SQLDict:
- root@bt:/pentest/database/sqlbrute# cp -p /root/wordlists/PASSWORD-LIST-FILENAME /root/wordlists/PASSWORD-LIST-FILENAME.lst
Replace PASSWORD-LIST-FILENAME with the name of the password file or wordlist you are using to rename the password list to something that can be used by SQLDict.exe and you should no longer experience the crash. I personally prefer .lst or .txt for all of my wordlists but any file ending will work to resolve this issue.