ok so i've been lurking for a while and now i happen to be getting pretty good with aircrack/cowpatty etc. I can crack wep and the usual wpa's simple now.
So we all know about the att 2wire routers....I was wondering how to crack those WPA keys. I started the run wordlists (on my own uverse 2wire with default key) . All failed. then i found ok so most 2wire's have 10 digit hex keys. (my att uverse 2wire has a sticker on the bottom)
I then compiled this script to create my wordlist
Code:
//made by karabaja4
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
char format[10];
unsigned long long last = 0;
unsigned long long i;
if ((argc != 2) || (atoi(argv[1]) > 16)) {
printf("\n hex wordlist generator - by karabaja4\n\n");
printf(" usage: ./hwg n > wordlist.txt\n");
printf(" n - number of digits (max 16)\n\n");
exit(0);
}
sprintf(format, "%s%s%s", "%0", argv[1], "llx\n"); //linux (gcc)
//sprintf(format, "%s%s%s", "%0", argv[1], "I64x\n"); //windows (mingw)
for (i = 0; i < atoi(argv[1]); i++)
last = ((last + 1) * 16) - 1;
for (i = 0; i < last; i++) printf(format, i);
printf(format, last);
return 0; //hooray!
}
Code:
./hwg n > wordlist.txt
script credit user karabaja 4
now i will run gemk against this and the ssid, then the hash against the captured 4 way handshake.
So in theory, eventually in time this will crack the 2WIRE's with the default 10 digit hex key.
I'm going to try running it against my handshake this weekend when i have more time.