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

admin password: unable to login #1052

Closed
aponzar opened this issue Apr 26, 2018 · 9 comments
Closed

admin password: unable to login #1052

aponzar opened this issue Apr 26, 2018 · 9 comments
Labels

Comments

@aponzar
Copy link

aponzar commented Apr 26, 2018

Thanks for reaching out! We're happy to help resolve issues as quickly as possible.

Please use this template when creating a new issue. If you do not follow this template format, your issue may be closed without comment.

Before filing a new issue, please use the search bar at the top of the browser to search for similar issues. Also, please make sure you have read our documentation, which covers how to use Gophish.

What version of Gophish are you using?: 0.4.0

Brief description of the issue: Fresh installation and I am not able to login with admin/gophish

What are you expecting to see happen? : I expect to see the :3333 admin portal

What are you seeing happen? error: invalid username/password

If this question is related to email templates or landing pages not working as expected, please provide your template or landing page below:

Insert code here

Please provide any terminal output that may be relevant below: I attempted to run "sqlite3 gophish.db 'update users set hash="$2a$10$IYkPp0.QsM81lYYPrQx6W.U6oQGw7wMpozrKhKAHUBVL4mkm/EvAS" where username="admin";'" but receive the following: no such table: users

Insert output here

Please provide as many steps as you can to reproduce the problem:

  • Step 1 - Attempt to login
  • Step 2 -
@jordan-wright
Copy link
Collaborator

What do you see in the terminal when you start Gophish?

@aponzar
Copy link
Author

aponzar commented Apr 27, 2018 via email

@aponzar
Copy link
Author

aponzar commented Apr 27, 2018 via email

@jordan-wright
Copy link
Collaborator

Hey there! I'm afraid it looks like the image didn't upload correctly. Could you give it another shot (or upload it to something like imgur) and we can take a look?

@aponzar
Copy link
Author

aponzar commented May 1, 2018 via email

@aponzar
Copy link
Author

aponzar commented May 1, 2018 via email

@jordan-wright
Copy link
Collaborator

Hmm... it seems that the connection to the database isn't staying open. I'm not sure if that's related to Gophish being run as a service or not.

Are you using MySQL or SQLite? It's possible that if you're using MySQL that there is some kind of connection failure happening, so I'd verify that the db url you're using is correct (credentials, port, ip, etc.).

@jordan-wright
Copy link
Collaborator

Since there hasn't been any updates to this issue in a while, I'm going to go ahead and close it out. @aponzar let us know if you are still running into issues and we can continue troubleshooting.

Thanks again for getting in touch!

@aponzar
Copy link
Author

aponzar commented Jun 10, 2018 via email

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

No branches or pull requests

2 participants