phrasendrescher 介绍

phrasen|drescher (p|d) 是一个模块化的和多进程短语破解工具。它有很多的插件,但一个简单的插件API接口只允许开发一个新的简单插件。

资料来源:http://www.leidecker.info/projects/phrasendrescher/index.shtml
phrasendrescher 首页
phrasendrescher 源代码版本库

Author: Nico Leidecker
License: 3-clause BSD

pd – 密码破解工具

root@kali:~# pd -h
phrasen|drescher 1.2.2 - the passphrase cracker
Copyright (C) 2008 Nico Leidecker; http://www.leidecker.info

Usage: pd plugin [options]

 Available plugins:
   enc-file  mssql  pkey  http-raw  ssh

 General Options:
   h           : print this message
   v           : verbose mode
   i from[:to] : incremental mode beginning with word length `from'
                 and going to `to'
   d file      : run dictionary based with words from `file'
   w number    : number of worker threads (default is one)
   r rules     : specify rewriting rules for the dictionary mode:
                   A = all characters upper case
                   F = first character upper case
                   L = last character upper case
                   W = first letter of each word to upper case
                   a = all characters lower case
                   f = first character lower case
                   l = last character lower case
                   w = first letter of each word to lower case
                   D = prepend digit
                   d = append digit
                   e = 1337 characters
                   x = all rules

 Environment Variables:
   PD_PLUGINS : the directory containing plugins
                (current is /usr/lib/phrasendrescher)
   PD_CHARMAP : the characters for the incremental mode are
                taken from a character list. A customized list
                can be specified in the environment variable

pd 用法示例

使用SSH的暴力破解插件(SSH)和一个密码单词表(-d passes.txt)对目标服务器(-t 192.168.1.202),显示详细的输出(-v)

root@kali:~# pd ssh -d passes.txt -t 192.168.1.202 -v
phrasen|drescher 1.2.2 - the passphrase cracker
Copyright (C) 2008 Nico Leidecker; http://www.leidecker.info

[ssh] Trying host 192.168.1.202:22...
[ssh]   Fingerprint: C1 D3 4E 15 1F C0 EE 45 1A EC 7E EC D6 6A 02 7C
[ssh]   Authentication mechanisms: publickey,password (using: password)
[ssh] Complete List of targets:
[ssh]   192.168.1.202:22
[ssh] Users:
[ssh]   root

plugin ssh loaded. Running now (1 workers)...
--------------------------------------------------
mode: dictionary (passes.txt)