I've got a textfile about 400mb with hashes and passwords like this:h73kdkf947gjsl489fjh74jkdl:lolpasswordAND like this:blabklabla@mail.com:lolpasswordNow, there's alot of lines and there's no way I will or can remove the hash or password one by one.Is there a command or script that will do this? Just filter away either just the hash/email or just the password, and then exporting this to a new .txt file? I'm working on a custom wordlist since I cannot find any good ones in my native language.
Filter/remove first part of line in textfile?
text processing
Seems like the passwords are separated by :If I understood you correctly, this command below would do your job.cut -d : -f 2 textfile > passwords.txt