.

cracking wpa2 - how to start from bottom of wordlist

<<

hurtl0cker

User avatar

Jr. Member
Jr. Member

Posts: 73

Joined: Thu Nov 18, 2010 10:09 am

Location: WWW

Post Mon Jan 14, 2013 8:24 am

cracking wpa2 - how to start from bottom of wordlist

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).
Last edited by hurtl0cker on Mon Jan 14, 2013 8:26 am, edited 1 time in total.
“Knowing is not enough; we must apply. Willing is not enough: we must do.”
- Bruce Lee
<<

caissyd

User avatar

Hero Member
Hero Member

Posts: 894

Joined: Thu Dec 31, 2009 11:20 am

Location: Ottawa, Canada

Post Mon Jan 14, 2013 8:33 am

Re: cracking wpa2 - how to start from bottom of wordlist

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.
OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
(aka H1t.M0nk3y)
<<

rattis

User avatar

Hero Member
Hero Member

Posts: 1172

Joined: Mon Jul 27, 2009 1:25 pm

Post Mon Jan 14, 2013 9:45 am

Re: cracking wpa2 - how to start from bottom of wordlist

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.
OSWP, Sec+
<<

dynamik

Recruiters
Recruiters

Posts: 1119

Joined: Sun Nov 09, 2008 11:00 am

Location: Mile High City

Post Tue Jan 15, 2013 10:59 pm

Re: cracking wpa2 - how to start from bottom of wordlist

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.
The day you stop learning is the day you start becoming obsolete.
<<

caissyd

User avatar

Hero Member
Hero Member

Posts: 894

Joined: Thu Dec 31, 2009 11:20 am

Location: Ottawa, Canada

Post Wed Jan 16, 2013 9:26 am

Re: cracking wpa2 - how to start from bottom of wordlist

You're kidding me?

tac is the reverse of cat. How clever!
Thanks ajohnson
OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
(aka H1t.M0nk3y)
<<

lorddicranius

User avatar

Sr. Member
Sr. Member

Posts: 448

Joined: Thu Mar 03, 2011 3:54 am

Post Wed Jan 16, 2013 12:42 pm

Re: cracking wpa2 - how to start from bottom of wordlist

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
GSEC, eCPPT, Sec+
<<

hurtl0cker

User avatar

Jr. Member
Jr. Member

Posts: 73

Joined: Thu Nov 18, 2010 10:09 am

Location: WWW

Post Fri Jan 18, 2013 10:38 am

Re: cracking wpa2 - how to start from bottom of wordlist

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.
“Knowing is not enough; we must apply. Willing is not enough: we must do.”
- Bruce Lee
<<

m0wgli

User avatar

Sr. Member
Sr. Member

Posts: 308

Joined: Fri Jul 20, 2012 3:34 pm

Post Fri Jan 18, 2013 4:39 pm

Re: cracking wpa2 - how to start from bottom of wordlist

H1t M0nk3y wrote: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.

lorddicranius wrote: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).
Security + | OSWP | eCPPT (Silver & Gold) | CSTA

Return to Wireless

Who is online

Users browsing this forum: No registered users and 1 guest

cron
.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software