Hi, I think this is the best place for this. Basically I need two things: 1 is a command that will work on CentOS 5, that creates a wordlist and stores it in a .txt file like this: aa ab ac etc... I want it so I can change what kind of wordlist is created, i.e. just letters or letters and numbers... how can this be done? Also, if possible, a command that will create random strings (like the wordlist) but hash them in MD5 and insert into a database. If anybody could write the commands I'd be very grateful!
Hi, I've found one now. It's in perl, wordlist generator it's called. But there is one more thing I need doing! Would you be able to code something like this up: I have a text file (on my server). It's contents are like this: hello hello2 hello3 All underneath eachother. I want to make the server read all of these lines, then put each one into an array (kind of line in php). Then, I want it to hash each array in md5 and then insert the hash with the array into a MySQL database. Is that possible? I've used PHP, but when the files very large it doesn't want to do it.
use fgets() to pull each line one by one. or use ini_set to increase the memory your script can use. I'd rethink storing a raw php array in a DB. There's probably a better way