|
Title: cracking wpa2 - how to start from bottom of wordlist Post by: hurtl0cker on January 14, 2013, 07:24:10 AM I have been trying to crack WPA using aircrack-ng dictionary based attack. I have a huge word list and I'd like to know if there is a way to start from bottom of the wordlist, like starting with last word in file to the first. Is there any tool or technique that will let me create a copy of the same dictionary but in reverse order.
(And I do own the access point I am trying to gain access into. This question is just out of curiosity because I couldn't finish entire dictionary in one go, it stopped at around 90%, it'd be better to start from bottom). Title: Re: cracking wpa2 - how to start from bottom of wordlist Post by: H1t M0nk3y on January 14, 2013, 07:33:54 AM You can always cut your wordlist, keep only the last 10% and start a fresh cracking session.
Also, it would probably be easier to invert your wordlist using a small python script. Let me know if you need help on this. Title: Re: cracking wpa2 - how to start from bottom of wordlist Post by: chrisj on January 14, 2013, 08:45:55 AM Some tools let you resume failed or interupted attacks. Depending if your word list is sorted or not already, then you might be able to do a sort -r.
Title: Re: cracking wpa2 - how to start from bottom of wordlist Post by: ajohnson on January 15, 2013, 09:59:52 PM tac wordlist.txt > wordlist-reversed.txt
You could also use tail -n <number> with the number of lines from the end of the file you want to include. Title: Re: cracking wpa2 - how to start from bottom of wordlist Post by: H1t M0nk3y on January 16, 2013, 08:26:10 AM You're kidding me?
tac is the reverse of cat. How clever! Thanks ajohnson Title: Re: cracking wpa2 - how to start from bottom of wordlist Post by: lorddicranius on January 16, 2013, 11:42:53 AM tac - that's awesome!
I wonder if there are other commands that do things "backwards". 'bottom' instead of 'top' maybe? Although I don't see much of a benefit in that one hah Title: Re: cracking wpa2 - how to start from bottom of wordlist Post by: hurtl0cker on January 18, 2013, 09:38:40 AM Thanks for all the answers.
Tac worked like charm!! I ended up writing a small python script that could invert the word list. 'split' does a good job in breaking down a large dictionary into small chunks. Title: Re: cracking wpa2 - how to start from bottom of wordlist Post by: m0wgli on January 18, 2013, 03:39:37 PM tac is the reverse of cat. How clever! Agreed. In a similiar vein, I like how the less command can be remembered (less > more): http://en.wikipedia.org/wiki/Less_%28Unix%29 I've always remembered it because of this. I wonder if there are other commands that do things "backwards". 'bottom' instead of 'top' maybe? Although I don't see much of a benefit in that one hah In terms of doing things backwards there is the rev command, for top there is the head command, and for bottom there is the tail command (as already mentioned by ajohnson).
Powered by SMF 1.1.18 |
SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com |