Git Product home page Git Product logo

Comments (7)

ZerBea avatar ZerBea commented on June 23, 2024

First of all, I'll close this report, because it is not a hcxtools bug, but more a question that can be discussed here:
https://github.com/ZerBea/hcxdumptool/discussions

Second, cap2hccapx is a tool that belongs to hashcat-utils and not to hcxtools
https://hashcat.net/wiki/doku.php?id=hashcat_utils
It converts EAPOL MESSAGE PAIRs to outdated hashcat 2500 binary format (hccapx).

This old binary hccapx format (hash mode 2500/2501) has been replaced by a new HEX ASCII format (hash mode 22000/22001).
https://hashcat.net/wiki/doku.php?id=cracking_wpawpa2

from hcxtools.

smarandache1990 avatar smarandache1990 commented on June 23, 2024

Sorry, I was gonna close this myself as I came across your reply to another user a few years ago here:
https://hashcat.net/forum/thread-10544-post-54362.html#pid54362

from hcxtools.

smarandache1990 avatar smarandache1990 commented on June 23, 2024

@ZerBea would you be able to point me in the right direction about how the MessagePair is produced and what the significants of it is. I know it has something to do with communicating the best way to handle the hash to hashcat. But I'm not sure why https://hashcat.net/cap2hashcat/ produces a different MessagePair than hcxpcapngtool.

┌──(brien㉿kali)-[~/Downloads]
└─$ hcxpcapngtool corp_question1-01.cap -o 21680_hash.hc22000


┌──(brien㉿kali)-[~/Downloads]
└─$ cat 21680_hash.hc22000                 
WPA*02*92a9fe85d5656281517162c33c0f62b6*cc40d0a4d096*48e244a7c4fb*434f52502d57494649*062267437c90d9185d010b9dabdbbae1b014e4ee435b93e5cdfea39b79eadd4a*0103007502010a000000000000000000015a494f36fadc4671749191c507b538920e7b1a42f01fc9faed572e61c5e035ed000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001630140100000fac040100000fac040100000fac020000*82
WPA*02*b7703fd2171bec7933ffc900faa6eb5b*cc40d0a4d096*80822381a9c8*434f52502d57494649*09f8fed1b3f740126b61ff3a9a2da482712ccbfd73d4e555fefe50568faf7075*0103007502010a0010000000000000000321c9245f339ac3d486b85a9f8f3bc0092befdecd2859411acab4941f31c94de4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001630140100000fac040100000fac040100000fac020c00*80

And this is from https://hashcat.net/cap2hashcat/

┌──(brien㉿kali)-[~/Downloads]
└─$ cat 2168043_1708303118.hc22000         
WPA*02*92a9fe85d5656281517162c33c0f62b6*cc40d0a4d096*48e244a7c4fb*434f52502d57494649*062267437c90d9185d010b9dabdbbae1b014e4ee435b93e5cdfea39b79eadd4a*0103007502010a000000000000000000015a494f36fadc4671749191c507b538920e7b1a42f01fc9faed572e61c5e035ed000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001630140100000fac040100000fac040100000fac020000*02
WPA*02*b7703fd2171bec7933ffc900faa6eb5b*cc40d0a4d096*80822381a9c8*434f52502d57494649*09f8fed1b3f740126b61ff3a9a2da482712ccbfd73d4e555fefe50568faf7075*0103007502010a0010000000000000000321c9245f339ac3d486b85a9f8f3bc0092befdecd2859411acab4941f31c94de4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001630140100000fac040100000fac040100000fac020c00*00

Offline MESSAGEPAIR:
MESSAGEPAIR=82
MESSAGEPAIR=80

Online MESSAGEPAIR:
MESSAGEPAIR=02
MESSAGEPAIR=00

from hcxtools.

ZerBea avatar ZerBea commented on June 23, 2024

https://hashcat.net/cap2hashcat/index.pl
is running an older version:
hcxpcapngtool 6.3.1 reading from 2183173_1708361180.cap...

compared to;
https://github.com/ZerBea/hcxtools
hcxpcapngtool 6.3.2-53-g2836d94 reading from wpa-Induction.pcap...

I've made a lot of changes in the meantime, e.g.:
80c151f

from hcxtools.

smarandache1990 avatar smarandache1990 commented on June 23, 2024

I see, thanks!!

from hcxtools.

ZerBea avatar ZerBea commented on June 23, 2024

That shouldn't be a problem, because latest hcxtools is always in sync with latest hashcat or JtR.

from hcxtools.

smarandache1990 avatar smarandache1990 commented on June 23, 2024

Yeah, I'm able to use either one and they both give me the same expected password so there is no issue there. I was just wondering why it was. I probably wouldn't have noticed it but just for fun and created an MD5 hash of both, expecting to see the same hash, but they were different and that's when I noticed the MessagePair values

from hcxtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.