• Elvith Ma'for@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    I don’t want to dox myself, so a bit vague: No, in this case something strange is going on. The obfuscated passwords get a prefix before the hex string. Like e.g. Jetty uses “OBF:<obfuscated value>”. If I edit a file in Notepad++ that contains such a string, it displays the prefix as some… strange(probably cyrillic?) characters - that aren’t even in my (or the software vendor’s) local encoding. Sometimes some of the characters in the obfuscated string change as well, but not all.

    Most strange is, that the obfuscation command outputs the obfuscated string in a file in my local codepage - and everything is normal in VS Code, in regular Notepad, when printing the file on the command line,… But Notepad++ somehow fucks it up. I still guess that something is in that obfuscated string that either completely breaks Notepad++ or that Notepad++ is the only one correctly interpreting the byte sequence and all other editors are completely oblivious about some specific thing. ¯\_(ツ)_/¯

    And no, I already tried converting everything to ASCII only, letting Notepad++ or other editors display non-printable characters, converting everything to UTF-8 (with or w/o BOM),… Maybe I should try a hex dump?!