Ettercap/ettercap — pull request #54 by kholia (2012-12-08 13:01:09+00:00)
Title: Implement dissector for MongoDB authentication traffic

Hi,

I have implemented a dissector for MongoDB authentication traffic

Sample pcap files for testing: http://openwall.info/wiki/_media/john/MongoDB-pcaps.tar.gz

```

$ ettercap -Tq -r mongodb-longusername-longpassword-2.pcap
longusername-192.168.2.7-48968:$mongodb$1$longusername$86336266301fb552$1abe48bac6ad0bf567ab51b094f026a9
Login to 192.168.2.2-27017 as longusername failed!

$ cat hash
longusername-192.168.2.7-48968:$mongodb$1$longusername$86336266301fb552$1abe48bac6ad0bf567ab51b094f026a9

✗ ../run/john hash
Loaded 1 password hash (MongoDB system / network MD5 [32/64])
longpassword (longusername-192.168.2.7-48968
```

Please review.

Thanks,
Dhiru