Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with "weird" characters in passwords #9

Open
simonsmiley opened this issue Jul 12, 2016 · 6 comments
Open

Issue with "weird" characters in passwords #9

simonsmiley opened this issue Jul 12, 2016 · 6 comments

Comments

@simonsmiley
Copy link
Collaborator

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?

@WriteCodeEveryday
Copy link
Collaborator

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"

@ankushgoel27
Copy link

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

@philwantsfish
Copy link
Owner

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?

@TraderStf
Copy link

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

@TraderStf
Copy link

TraderStf commented Jul 23, 2016

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.

@ankushgoel27
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants