Created
September 4, 2015 15:12
-
-
Save shadeslayer/6921548400ebc44fdf09 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (KrfbConfig::allowPamAuth()) { | |
static unsigned char fixedkey[8] = {23,82,107,6,35,78,88,7}; | |
rfbDesKey(fixedkey, DE1); | |
unsigned char passwd; | |
unsigned char *encPasswd = (unsigned char*)encryptedPassword.data(); | |
rfbDes(encPasswd, &passwd); | |
kDebug() << passwd; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment