Skip to content
Snippets Groups Projects
Commit 52106983 authored by deuce's avatar deuce
Browse files

Add comment regarding Mystic password workaround.

parent abbc5293
No related branches found
No related tags found
No related merge requests found
......@@ -852,6 +852,12 @@ function inbound_auth_cb(pwd, bp)
log(LOG_WARNING, "CRAM-MD5 password mismatch for " + addr
+ format(" (expected: %s, received: %s)", expected, pwd[0]));
if (bp.mystic_detected) {
/*
* MysticBBS v1.12A39 at least has an issue when the CRYPT
* option is included after the CRAM-MD5 challenge. It appends
* three NULs to the end of the challenge data. If the remote told
* us it was Mystic, see if that matches.
*/
log(LOG_INFO, "Checking Mystic pass...");
bp.cram.challenge += '\x00\x00\x00';
expected = bp.getCRAM('MD5', cpw);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment