Last active
March 17, 2018 21:43
-
-
Save FrankHassanabad/a8b75ad5691b8f638d57931eaf93d2cf to your computer and use it in GitHub Desktop.
Crib drag example 2
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
encryptedPhoneNumbers.forEach((encryptedPhoneNumber) => { | |
const xor = xorStrings(encryptedPhoneNumber, exactMatch); | |
const output = xorPlainTextWithCrib(xor, inputPhoneNum); | |
printPlain(output); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From: https://github.com/FrankHassanabad/nodejs-cribdrag/blob/master/src/examples/phone.ts#L52
For:
https://medium.com/@fhbro/crib-dragging-plain-text-attack-5a61a0bcd80d