I am taking cs50 on edx and I am currently on pset2, crack. I want to find a dictionary file that has a fair (maybe over 50,000?) amount of words in it to encrypt and compare them with the hashed password I am getting from the user. I want to crack their password through brute force.
I have tried /usr/share/dict/words, but the function fopen() returns NULL and it seems that the file doesn't exist; Could someone suggest a different file? And please give me the adress?