shard
shard copied to clipboard
Issue with "weird" characters in passwords
My current facebook password includes a bunch of very unusual characters. For obvious reasons I'll just put a range of characters that might include additional characters not actually in my password.
~`¬|><@+=*&^%£{}[]()
I'm not sure what the problem is, the result to the post still includes login links. Does facebook sometimes show captchas or something alike?
I just noticed that if you haven't logged into Facebook for a while, you may redirected to a "2FA" screen.
The screen says "Please enter the code sent to your email"
when i add such characters to the password, i get an error saying "bash: !@: event not found". I try to add these characters "!@". apparently the program functions fine with the characters individually however when combined, the error is thrown. further testing shows me that the combination of any special characters throws an error
I wonder if this issue is because of the code or the way bash is handling program arguments. Does bug still happen when you store the credentials in a file with the format, "username":"password" and use the -f option?
Why not using tabulation character as a separator? Tab (ascii 9) can't be used in a login/pw, this will avoid to have to detect multiple quotes, single or double quotes, all usual quotes problems 🐞 "username":"password" becomes username[tab]password
This will also avoid the problem of new tld (http://www.iana.org/domains/root/db or https://www.icann.org/resources/pages/tlds-2012-02-25-en) or multiple-bytes languages (Chinese,Japanese...)
val emailregex = """[^@]+@[^\.].{2,3}"""
will not make it.
left-of-tab and right-of-tab would be easier. I don't know for multibytes.
I saw the problem in how the bash handled the special characters. It worked fine when credentials were in a document. Bash was not able to handle the special characters even when inbetween single or double quotes.
Sent from my iPhone
On Jul 23, 2016, at 4:34 PM, Stéphane Moureau [email protected] wrote:
This will also avoid the problem of new tld or multiple-bytes languages (Chinese,Japanese...)
val emailregex = """[^@]+@[^.].{2,3}"""
will not make it.
left-of-tab and right-of-tab would be easier. I don't know for multibytes.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.