Skip to content

Database Password Resetter (aka. Gawker Mess Cleaner). A script that will find users in your database that been compromised by the Gawker hacked database and reset their passwords.

Notifications You must be signed in to change notification settings

appoxy/database_password_resetter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database Password Reset Script

Due to the Gawker password issue, we thought we'd share the script we're using to reset passwords for those users that are found in the Gawker list.

Brought to you by: Appoxy

IMPORTANT NOTICE: You will need the list of usernames and emails that were compromised in the Gawker hack.

Due to privacy/security concerns, we will not publish the username/email list to the public. We know this is kind of a pain, but we don't want to be the ones spreading spam love around.

You can get this list from us by filling out this form.

Support

If you need help with this script or resetting your database passwords, please contact us at [email protected].

Installation

You must have Ruby 1.9+ installed and install the following ruby gems:

gem install sequel nestful

To run script, type at command line:

ruby run_reset.rb -config config.yml

Config

Modify config.yml with the appropriate settings.

Database

database section is self explanatory.

Table

table section is also somewhat self explanatory.

One or both of the following must be present.

  • email_column: name of the column that contains the email addresses.
  • username_column: name of the column that contains usernames.

Options

  • do_reset: true if you want the script to generate a random password and set it. Default is false.
  • hash_password: if do_reset is true and this is true, the password will be hashed before being stored.
  • case_sensitive_match: if true, matching will be case sensitive. Default is false.

callbacks / webhooks

  • on_match_url will POST to this URL with the matching email address. This can be used to send out an email to the user with information on the reset. If do_reset is set above, the new password will also be send to this URL.

Advanced

To implement more advanced features, you'll need to write some code.

First thing is to write a class that extends PasswordReset.

Custom Password Hashing

Override hash_password method.

def hash_password(row)

row contains a hash of the database row.

About

Database Password Resetter (aka. Gawker Mess Cleaner). A script that will find users in your database that been compromised by the Gawker hacked database and reset their passwords.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages