Ettercap/ettercap — pull request #44 by kholia (2012-10-24 04:35:35+00:00)
Title: Make output compatible with JtR. Output hashes even if OpenSSL is missing

Hi,

After applying this patch, the output of pptp format is compatible with JtR.

```
$ ettercap -Tq -r ~/lulu-password-pptp.pcap

ettercap 0.7.5 copyright 2001-2012 Ettercap Development Team
Tunnel PPTP: 192.168.2.5 -> 192.168.2.2
PPP*MS-CHAP Password*lulu:$MSCHAPv2$BA75EB14EFBFBF25$ED8CC90FD40FAA2D6BCD0ABD0B1F562FD777DF6C5609C98B$lulu

✗ cat > pptp.stuff
PPP*MS-CHAP Password*lulu:$MSCHAPv2$BA75EB14EFBFBF25$ED8CC90FD40FAA2D6BCD0ABD0B1F562FD777DF6C5609C98B$lulu

✗ ../run/john pptp.stuff
Loaded 1 password hash (MSCHAPv2 C/R MD4 DES [32/64])
password (PPP*MS-CHAP Password*lulu)
guesses: 1 time: 0:00:00:00 DONE (Wed Oct 24 10:03:25 2012) c/s: 765 trying: clulu - pms

```

Sample .pcap files for testing: http://openwall.info/wiki/_media/john/pptp-caps.zip

Please review.