0.0
No commit activity in last 3 years
No release in over 3 years
it's easy to crack password by dict
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

~> 2.7.4
~> 2.1.2
 Project Readme

PasswordCrack

crack password by dicts all the dicts has created .This program will auto download the password dict which you specified.

example dict_name:week_password_sample You could see all the dicts on: https://github.com/luaxlou/week_password/tree/master/dicts

Features

  • single thread md5 crack
  • check password is week

Demo page

http://tools.luaxlou.com/md5 http://tools.luaxlou.com/weekpassword

Installation

Add this line to your application's Gemfile:

gem 'password_crack'

And then execute:

$ bundle

Or install it yourself as:

$ gem install password_crack

if you catch some errors like this when install:

extconf.rb:156:in `main': C++11 is not supported by the compiler. (RuntimeError)

please see this:masamitsu-murase/seven_zip_ruby#11

Usage

      md5Password = 'e10adc3949ba59abbe56e057f20f883e'
      cracker = PasswordCrack::Md5Cracker.new 
      dict_name = 'week_password_sample' #all dict names:see https://github.com/luaxlou/week_password/tree/master/dicts
      result = cracker.crack md5Password,dict_name
      expect(result).to eq('123456')

      md516Password = '49ba59abbe56e057'
      result = cracker.crack md516Password,dict_name
      expect(result).to eq('123456')


      dict_name = 'number_1_to_6'
      result = cracker.crack md5Password,dict_name
      expect(result).to eq('123456')
 
      password = '12345679'
      cracker = PasswordCrack::Cracker.new 
      
      expect('week_password_sample').to eq(cracker.check_is_week(password))

      password = '1234569' 
      
      expect(nil).to eq(cracker.check_is_week(password))
      
      password1 = '20140501'
    
      expect('birthday').to eq(cracker.check_is_week(password1))


      password1 = 'lana'
    
      expect('words').to eq(cracker.check_is_week(password1))

Command line Usage

$ password_crack
creack password by dicts

Usage:
    password_crack <crypted_password> [options]
Example:
    password_crack e10adc3949ba59abbe56e057f20f883e
where [options] are:
  -d, --dict=<s>     dict name (default: week_password_sample)
  -c, --crypt=<s>    crypt type  (default: md5)
  -h, --help         Show this message

$ password_crack e10adc3949ba59abbe56e057f20f883e
"crack success! result is:123456"
$ password_is_week
check passwrod is week

Usage:
    password_is_week <password>
Example:
    password_is_week 12345679
  -h, --help    Show this message

$ password_is_week 12345679
"passowrd(12345679) is week,found in dict <week_password_sample>"
$ password_is_week 1234569
"passowrd(1234569) is strong now,just now."

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/luaxlou/password_crack.

License

The gem is available as open source under the terms of the MIT License.