05-23-2012, 02:47 PM
Hash-IT Wrote:Just a quick note, as I am testing WPA I am guessing I probably won't notice much of a speed reduction as WPA is such a slow algorithm anyway ?It's not about the algorithm, It's sed, It's probably the fastest text editor, although the command I gave seems too slow for it. I tried the following:
Code:
mp64 ?u?u?u?u?u?u?u?u | sed '/\([A-Z]\)\1\1/d' | hc64p -m2500 -n160 test.hccap
Hash-IT Wrote:Also I am guessing (again) that the "1\1" part is the number of repetitions ? So would "1\1\1" mean AAA ?I'll explain the sed command:
sed '/\([A-Z]\)\1\1/d'
'' = The script goes between these two quotes.
/ = A separator.
[A-Z] = Any single upper-case character.
\1 = Any occurrence of that same character.
d = Delete the whole line whenever that happens.
So yeah, \([A-Z]\)\1\1\1 will match AAAA. Note the fist character is the one which will be repeated.
Hash-IT Wrote:...oh one more question if you don't mind, am I able to do this on a windows computer, the sed part ?Of course, I'm doing this on Windows. Just download Cygwin binaries and add them to PATH, and you can always use them.
Hash-IT Wrote:Thanks again and I look forward to discussing this more with you.Me too, let me know how it goes.