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 username/password login? #1

Open
molly opened this issue Oct 13, 2021 · 2 comments
Open

Issue with username/password login? #1

molly opened this issue Oct 13, 2021 · 2 comments

Comments

@molly
Copy link
Owner

molly commented Oct 13, 2021

I haven't been able to successfully log in with username/password, with or without 2FA enabled.

@goshlanguage
Copy link

Sorry for the drive by but the description reminded me of an issue I've had with go get. When running against private repos, it will hang with a pending git auth request that is suppressed by default, unless GIT_TERMINAL_PROMPT=1 is set in the environment. Hoping maybe this might help, unless you've already tried it.

@asOmman1
Copy link

Try to make this changes at dorker.py:
<line 36>
else:
#client = github3.GitHub()
client = github3.GitHub(username=gh_user, password=gh_pass, token=gh_token)

   # client.login(
   #     username=gh_user,
   #     password=gh_pass,
   #     token=gh_token,
   #     two_factor_callback=two_factor,
   # )

    # Check if login worked

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

3 participants