mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2802] Add check for UTF-16 BOM #1795
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1795
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Sep 30, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2802
Originally assigned to: @magnumripper on GitHub.
Provided we don't add a performance hit, we should detect UTF-16 BOM and bail out with an informative message.
github.com/magnumripper/JohnTheRipper@91bd304258 (commitcomment-24667963)@magnumripper commented on GitHub (Sep 30, 2017):
And I do mean bail out. If given UTF-16 or UCS-2 input, it's likely going downhill very fast so luser should get to reconsider.
@gbakeman commented on GitHub (Sep 30, 2017):
Powershell users, be warned.
@magnumripper commented on GitHub (Sep 30, 2017):
Right! And emphasize from that quote: "which isn't useful" 😆 What the heck are Microsoft thinking? Oh, I know: "all systems in the world run our cuckoo system so let's get crazy and break any standard known to man. Yet again."
@magnumripper commented on GitHub (Sep 30, 2017):
That's a good link BTW, with some solutions. And still caveats: PowerShell, as of v5.1, invariably creates UTF-8 files with a (pseudo) BOM, which is customary only in the Windows world.
@gbakeman commented on GitHub (Oct 1, 2017):
Heh... That's sad too, because Powershell was supposed to be the ultimate replacement for Command Prompt. Yet here it is using some weird kind of encoding.
@magnumripper commented on GitHub (Oct 12, 2017):
See #2812 for later events