Author Topic: Question - using aircrack with crunch  (Read 727 times)

0 Members and 1 Guest are viewing this topic.

Offline elbananero

  • NULL
  • Posts: 1
  • Cookies: 0
    • View Profile
Question - using aircrack with crunch
« on: August 16, 2015, 05:50:01 pm »
I'm following a tutorial of how to use aircrack suite. I've already have the handshake.

In the last part of the tutorial it suggest doing this:

Code: [Select]
crunch 8 8 1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ  | aircrack-ng -b <SOME-MAC> -w - FILE.cap.cap

The screen that shows when doing that is different from what it shows when using cat:

cat dict | aircrack-ng -b <SOME-MAC> -w - FILE.cap.cap

                                 Aircrack-ng 1.2 beta3


                   [00:00:06] 11262 keys tested (1820.09 k/s)

#... etc

But when using crunch I get:

Code: [Select]
# crunch 8 8 1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ  | aircrack-ng -b <SOME-MAC> 2 -w - FILE.cap
Opening FILE.cap
Crunch will now generate the following amount of data: 1965060950264064 bytes
1874028158 MB
1830105 GB
1787 TB
1 PB
Crunch will now generate the following number of lines: 218340105584896
^CCrunch ending at ease wait...

What I'm saying is that I don't get the aircrack screen. Maybe this is because some bash limitation. Also, it's pretty strange... this it's supposed to generate 1800 TB!! So... how can that work? I mean, obviously crunch won't put all that into memory, so how is this supposed to work? Can aircrack process whathever is the input line by line, while crunch is generating them? Or aircrack gets executed once the whole list is generated... which is never, because it's too big.

Thanks!
« Last Edit: August 16, 2015, 05:52:11 pm by elbananero »

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Question - using aircrack with crunch
« Reply #1 on: August 16, 2015, 07:02:55 pm »
I'm following a tutorial of how to use aircrack suite. I've already have the handshake.

In the last part of the tutorial it suggest doing this:

Code: [Select]
crunch 8 8 1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ  | aircrack-ng -b <SOME-MAC> -w - FILE.cap.cap

The screen that shows when doing that is different from what it shows when using cat:

cat dict | aircrack-ng -b <SOME-MAC> -w - FILE.cap.cap

                                 Aircrack-ng 1.2 beta3


                   [00:00:06] 11262 keys tested (1820.09 k/s)

#... etc

But when using crunch I get:

Code: [Select]
# crunch 8 8 1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ  | aircrack-ng -b <SOME-MAC> 2 -w - FILE.cap
Opening FILE.cap
Crunch will now generate the following amount of data: 1965060950264064 bytes
1874028158 MB
1830105 GB
1787 TB
1 PB
Crunch will now generate the following number of lines: 218340105584896
^CCrunch ending at ease wait...

What I'm saying is that I don't get the aircrack screen. Maybe this is because some bash limitation. Also, it's pretty strange... this it's supposed to generate 1800 TB!! So... how can that work? I mean, obviously crunch won't put all that into memory, so how is this supposed to work? Can aircrack process whathever is the input line by line, while crunch is generating them? Or aircrack gets executed once the whole list is generated... which is never, because it's too big.

Thanks!
Stop copy pasting commands.
It's called piping, go look it up on google and come back here.
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline gray-fox

  • Knight
  • **
  • Posts: 208
  • Cookies: 52
    • View Profile
Re: Question - using aircrack with crunch
« Reply #2 on: August 16, 2015, 07:23:58 pm »
But when using crunch I get:

Code: [Select]
# crunch 8 8 1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ  | aircrack-ng -b &lt;SOME-MAC&gt; 2 -w - FILE.cap
Opening FILE.cap
Crunch will now generate the following amount of data: 1965060950264064 bytes
1874028158 MB
1830105 GB
1787 TB
1 PB
Crunch will now generate the following number of lines: 218340105584896
^CCrunch ending at ease wait...
Section at the beginning is part from Crunch's output so when you don't use crunch it naturally won't show.
Quote
cat dict | aircrack-ng -b &lt;SOME-MAC&gt; -w - FILE.cap.cap
Also the use of cat in here is useless when you can just "-w dict" in aircrack.
Quote
Can aircrack process whathever is the input line by line, while crunch is generating them? Or aircrack gets executed once the whole list is generated... which is never, because it's too big.
Have you tested running crunch without piping it to anything to see what it does then or have you let the aircrack actually get running after that start section of crunch to see how it starts testing the 'words'? When you use aircrack's "-w" option with "-" aircrack reads from stdin, which in this case are strings that crunch generates one by one. So yes, aircrack process those while crunch generates them. I would suggest you to read manpages of both Cruch and Aircrack. But before that study piping and stdin/stdout/stderr in linux.

edit:@proxx, your answer was better.[emoji14] Didn't noticed it before I post this.
« Last Edit: August 16, 2015, 07:26:45 pm by gray-fox »

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Question - using aircrack with crunch
« Reply #3 on: August 17, 2015, 12:52:48 am »
You don't want to crack that with aircrack a 1.8tb dictionary bruteforce using CPU only, that would take YEARS
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Question - using aircrack with crunch
« Reply #4 on: August 17, 2015, 04:39:51 am »
You don't want to crack that with aircrack a 1.8tb dictionary bruteforce using CPU only, that would take YEARS
sst lol.
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage