joswr1ght / asleap

Asleap - Cisco LEAP and Generic MS-CHAPv2 Dictionary Attack
GNU General Public License v2.0
84 stars 21 forks source link

Embed a DES implementation rather than relying on lib(x)crypt #7

Open zackw opened 3 years ago

zackw commented 3 years ago

Fixes #5 and #6 (the latter appears to be a duplicate). Also eliminates the dependency on libcrypto (the embedded MD4 implementation is used unconditionally), cleans up the code a little and the Makefiles a whole lot.

I copied the DES implementation over from libxcrypt, since that's the one that I have conveniently to hand. It was originally written for NetBSD and is therefore 3-clause BSD licensed, which I hope is OK.

Note: this compiles cleanly on one computer but has not been tested at all beyond that.