const zeroPad = num => ‘00000000’.slice(String(num).length) + num; What a bad way to declare a function. Starting with the word 'function' will make the code much more readable. Arrow functions are supposed to be used as a small callbacks, not to obfuscate the meaning of the code.
Be careful what you copy: Invisibly inserting usernames into text
41–50 of 200 posts
Re: Be careful what you copy: Invisibly inserting usernames into text
#42Re: Be careful what you copy: Invisibly inserting usernames into text
#43Where can I find a full list of zero-width characters?
It looks like there are just four: https://en.wikipedia.org/wiki/Zero_width
Re: Be careful what you copy: Invisibly inserting usernames into text
#44Re: Be careful what you copy: Invisibly inserting usernames into text
#45Zero-width characters are invisible, `non-printing' characters that are not displayed by the majority of applications. F*or exam*ple, I've ins*erted 10 ze*ro-width spa*ces in*to thi*s sentence, c*an you tel**l? (Hint: paste the sentence into Diff Checker to see the locations of the characters!). These characters can be used to `fingerprint' text for certain users. Above is what paragraph looks like in text-only brows…
Re: Be careful what you copy: Invisibly inserting usernames into text
#46const zeroPad = num => ‘00000000’.slice(String(num).length) + num; What a bad way to declare a function. Starting with the word 'function' will make the code much more readable. Arrow functions are supposed to be used as a small callbacks, not to obfuscate the meaning of the code.
Re: Be careful what you copy: Invisibly inserting usernames into text
#47First line explains it's a spoiler and for what, hundreds of invisible characters, actual spoiler.
That way FB would just show the first line followed by "read more"
Re: Be careful what you copy: Invisibly inserting usernames into text
#48Re: Be careful what you copy: Invisibly inserting usernames into text
#49Source Code: https://github.com/umpox/zero-width-detection
Re: Be careful what you copy: Invisibly inserting usernames into text
#50Earlier quoted context omitted.
How do you synthetically alter the frequencies of letters?
The easiest is again to do synonym/word/punctuation replacement but with the intent of altering the letter frequency instead of embedding information directly. It's effectively a compression scheme built on-top of synonym replacement using "extra" available information to pack more bits in less words. This means even sentence long quotes in summary form are enough to compromise someone.
And I don't quite get how you can encode that much information in a sentence without it being completely garbled.