Gophish: Password forgotten

Created on 6 Sep 2016  Â·  7Comments  Â·  Source: gophish/gophish

Hey, i forgot the pass i set, is there a way to change it in order to use all the stuff i had already set up??

Most helpful comment

Just as a reference for new users. This is how you can reset the admin password back to "gophish" in Centos and most Debian based distros such as Ubuntu:

§ yum install -y sqlite ||apt-get install -y sqlite3 libsqlite3-dev
§ sqlite3 gophish.db 'update users set hash="$2a$10$IYkPp0.QsM81lYYPrQx6W.U6oQGw7wMpozrKhKAHUBVL4mkm/EvAS" where username="admin";'

All 7 comments

You can edit the gophish.db file using a SQLite client and change the admin hash to the default hash found in models/models.go.

This changes the password to "gophish".

On Sep 6, 2016, at 11:28 AM, evanuz [email protected] wrote:

Hey, i forgot the pass i set, is there a way to change it in order to use all the stuff i had already set up??

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Perfect :D worked like a charm

Thanks!

worked out fine, thank you

I am not able to find the software
using SQL Lite pro, unable to recover
can anyone help me with step by steps

Just as a reference for new users. This is how you can reset the admin password back to "gophish" in Centos and most Debian based distros such as Ubuntu:

§ yum install -y sqlite ||apt-get install -y sqlite3 libsqlite3-dev
§ sqlite3 gophish.db 'update users set hash="$2a$10$IYkPp0.QsM81lYYPrQx6W.U6oQGw7wMpozrKhKAHUBVL4mkm/EvAS" where username="admin";'

hello guys,
I also forgot my gophish, i want to ask someone who can assist me on recover it

hi @jordan-wright I tried to go through on what you said on top but i can't understand how do you do that.. i would love if you could make some steps please, I thank you in advance to anyone will answer me..
a

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anonuser78 picture anonuser78  Â·  3Comments

JellyWelly picture JellyWelly  Â·  12Comments

gophish-test-user picture gophish-test-user  Â·  10Comments

Cycl0pe picture Cycl0pe  Â·  11Comments

kaizoku-oh picture kaizoku-oh  Â·  12Comments