Skip to content

L-codes/pwcrack-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0x00 pwcrack-framework

简体中文 | English

pwcrack-framework 是一个用Ruby编写的密码自动破解框架,目前提供了 23 个在线破解和 40 个离线破解接口,支持 63 种算法破解

项目地址:https://github.com/L-codes/pwcrack-framework

0x01 Features

  • Ruby3.1+ (tested with Ruby 3.2.1)
  • 支持Linux/OSX/Windows平台运行
  • 支持在线和离线的进行破解密码明文
  • 支持自动分析密文算法调用插件破解
  • 提供简单DSL编写框架插件
  • 配置 java 环境扩展,支持更多算法, 可安装 gem install rjb

0x02 Installing

$ git clone https://github.com/L-codes/pwcrack-framework
$ cd pwcrack-framework
$ bundle install

# banner view
$ ./pwcrack banner


                                             
          "$$$$$$''  'M$  '$$$@m            
        :$$$$$$$$$$$$$$''$$$$'               
       '$'    'JZI'$$&  $$$$'                
                 '$$$  '$$$$                 
                 $$$$  J$$$$'                
                m$$$$  $$$$,                
                $$$$@  '$$$$_         pwcrack-framework
             '1t$$$$' '$$$$<               
          '$$$$$$$$$$'  $$$$          version 1.22.0
               '@$$$$'  $$$$'                
                '$$$$  '$$$@                 
             'z$$$$$$  @$$$                  
                r$$$   $$|                   
                '$$v c$$                     
               '$$v $$v$$$$$$$$$#            
               $$x$$$$$$$$$twelve$$$@$'      
             @$$$@L '    '<@$$$$$$$$`        
           $$                 '$$$           
                                             

    [ Github ] https://github.com/L-codes/pwcrack-framework

                       [ Plugin Count ] 

         Online Plugin: 23        Offline Plugin: 40
                   supporting algorithms: 63

                  [ Algorithm Plugin Count ] 

            md5: 21          serv_u: 21            sha1: 13
        dedecms: 10          md5_16: 10           mysql:  8
         sha256:  7            ntlm:  7          sha512:  7
         mysql3:  6             md4:  4              lm:  4
         sha384:  3           mssql:  2        qiyuesuo:  1
      navicat12:  1       navicat11:  1       mobaxterm:  1
    mac_osx_vnc:  1        lsrunase:  1     landray_ekp:  1
  juniper_type9:  1           jboss:  1        interlib:  1
        h3c_imc:  1      h3c_huawei:  1         h3c_cvm:  1
        grafana:  1             gpp:  1         foxmail:  1
       foxmail6:  1        flashfxp:  1      finereport:  1
     finalshell:  1       filezilla:  1       druid_rsa:  1
     dongao_rc4:  1       whirlpool:  1          sha224:  1
      ripemd320:  1       ripemd256:  1       ripemd160:  1
      ripemd128:  1            mdc2:  1             md2:  1
      dahan_jis:  1       d3des_vnc:  1       cisco_vpn:  1
    cisco_type7:  1          xshell:  1            xftp:  1
      websphere:  1     uportal2800:  1          trswcm:  1
        sxd_sdc:  1          signer:  1       seeyon_nc:  1
seeyon_analyze_icloud:  1       seeyon_a8:  1    securecrt_v2:  1
      securecrt:  1        richmail:  1       qizhi_php:  1
         zfsoft:  1


# Install in Termux
$ pkg install git ruby ruby-dev clang make libffi-dev
$ gem install bundler
$ git clone https://github.com/L-codes/pwcrack-framework
$ cd pwcrack-framework
$ bundle update --bundler

0x03 Example usage

Examples 1

examples1

Examples 2

examples2

Examples 3

examples3

Examples 4

examples4

0x04 Plugin Development DSL

#!/usr/bin/env ruby
#
# Plugin 80p
# Author L
#

plugin '80p' do
  web_server 'http://md5.80p.cn'
  supported_algorithm :md5, :md5_16, :sha1

  crack {
    r = post '/', {'decode': passwd}
    r.body.extract(/<font color="#FF0000">(.*?)<\/font>/)
  }
end

0x05 Local DB

 v1.4.0 之后版本,添加了本地的密码数据库(大多数为cmd5等需收费查询)
localdb 插件,会查询本地的数据库

初次使用或需要重建本地数据库,则执行如下命令
$ pwcrack initdb

也可以自定义字典进行创建数据库
$ pwcrack initdb my_dict.txt

 v1.9.8 之后版本,添加了 add  updatedb 功能
新增明文到 data/words.txt 则使用
$ pwcrack add <word...>

更新 data/words.txt 中新增的明文记录到数据库则使用
$ pwcrack updatedb

localdb

0x06 Problem

  • 遇到收费的password也可以提交Issues,共同完善localdb
  • 如在使用过程中发现bug或有好的建议,欢迎提交IssuesPull Requests