I think it is binary data
Hi
Anyone know how I can remove junk from word list files.
It seems I got some files where there are some wierd characters
so aircrack exitet with fread: Illegal seek
and I see on the screen wierd stuff like
%2RB˝ó etc..
I already can a pw-inspector -m 8 -M 63 on it to remove all short things
Anyone know how I can remove those junk characters ?
I think it is binary data
Yes; and BT4pf has some tools that can help.
For example:
Remove pesky carriage return characters from Windows .txt files:
This filters infile.txt removing all carriage returns (which is octal 015 on the ASCII chart) simply deleting them, writing to outfile.txtCode:tr -d '\015' < infile.txt > outfile.txt
You can play other games with the tr command, for example removing the space character from your wordlists(beware: a space character could appear in a WPA passphrase, so you may wish not to use this):
Where octal 040 is the space-bar ASCII character.Code:tr -d '\040' < infile.txt > outfile.txt
...and so on and so forth...
Simply use the man tr if you get stuck or care to investigate this powerful tool further.
Let us know how it goes for you.
You. Are. Doing. It. Wrong.
-Gitsnik
Surely it would be easier to use a regexp and perl -pe to remove any non-printable characters from each line, rather than hacking through tr with such complexity.
Seems like a far more efficient use of ones time.
Still not underestimating the power...
There is no such thing as bad information - There is truth in the data, so you sift it all, even the crap stuff.
You. Are. Doing. It. Wrong.
-Gitsnik