当前位置: 移动技术网 > 网络运营>安全>工具 > patator暴力破解工具使用教程

patator暴力破解工具使用教程

2018年04月10日  | 移动技术网网络运营  | 我要评论
大家好,patator是一个python语言写的破解工具,支持很多协议,恩,ZIP居然也有
咱们首先看这里:
                 |  Required for  |                        URL                         | Version |
--------------------------------------------------------------------------------------------------
paramiko         | SSH            | http://www.lag.net/paramiko/                       | 1.7.7.1 |
--------------------------------------------------------------------------------------------------
pycurl           | HTTP           | http://pycurl.sourceforge.net/                     |  7.19.0 |
--------------------------------------------------------------------------------------------------
openldap         | LDAP           | http://www.openldap.org/                           |  2.4.24 |
--------------------------------------------------------------------------------------------------
impacket         | SMB            | http://oss.coresecurity.com/projects/impacket.html | svn#414 |
--------------------------------------------------------------------------------------------------
cx_Oracle        | Oracle         | http://cx-oracle.sourceforge.net/                  |   5.0.4 |
--------------------------------------------------------------------------------------------------
mysql-python     | MySQL          | http://sourceforge.net/projects/mysql-python/      |   1.2.3 |
--------------------------------------------------------------------------------------------------
psycopg          | PostgreSQL     | http://initd.org/psycopg/                          |   2.4.1 |
--------------------------------------------------------------------------------------------------
pycrypto         | VNC            | http://www.dlitz.net/software/pycrypto/            |     2.3 |
--------------------------------------------------------------------------------------------------
pydns            | DNS            | http://pydns.sourceforge.net/                      |   2.3.4 |
--------------------------------------------------------------------------------------------------
pysnmp           | SNMP           | http://pysnmp.sf.net/                              | 4.1.16a |
--------------------------------------------------------------------------------------------------
IPy              | NETx keywords  | https://github.com/haypo/python-ipy                |    0.75 |
--------------------------------------------------------------------------------------------------
unzip            | ZIP passwords  | http://www.info-zip.org/                           |     6.0 |
--------------------------------------------------------------------------------------------------
Java             | keystore files | http://www.oracle.com/technetwork/java/javase/     |    6u29 |
--------------------------------------------------------------------------------------------------
python           |                | http://www.python.org/                             |   2.6.6 |
--------------------------------------------------------------------------------------------------
 
恩,从这里可以看出,他需要的PYTHON版本是2.6.6
咱们选择一个模块来安装破解吧 选SSH吧。
paramiko | SSH | http://www.lag.net/paramiko/ | 1.7.7.1 |
他需要安装paramiko 1.7.7.1版本的,那咱们去下载来安装起来
root@Dis9Team:/tmp# wget http://www.lag.net/paramiko/download/paramiko-1.7.7.1.zip
root@Dis9Team:/tmp# unzip paramiko-1.7.7.1.zip
root@Dis9Team:/tmp# cd paramiko-1.7.7.1
root@Dis9Team:/tmp/paramiko-1.7.7.1# chmod +x setup.py
root@Dis9Team:/tmp/paramiko-1.7.7.1# python test.py
............................................................................................................ 4s 4s ......... 1s 0s ......... 1s ......... 2s ......... ........ .........  .........  ...
----------------------------------------------------------------------
Ran 109 tests in 44.546s
 
OK
root@Dis9Team:/tmp/paramiko-1.7.7.1# python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/paramiko
copying paramiko/transport.py -> build/lib.linux-i686-2.7/paramiko
copying paramiko/dsskey.py -> build/lib.linux-i686-2.7/paramiko
 ----  省略---
byte-compiling /usr/local/lib/python2.7/dist-packages/paramiko/util.py to util.pyc
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/paramiko-1.7.7.1.egg-info
root@Dis9Team:/tmp/paramiko-1.7.7.1#
恩paramiko 安装号了,下面看看SSH模块能用了不?
root@Dis9Team:/home/brk/desktop# python patator_v0.3.py ssh_login --help
Usage:
ssh_login host=10.0.0.1 user=root password=FILE0 0=passwords.txt -x ignore:mesg='Authentication failed.' -x ignore,reset,retry:mesg='No existing session' -x reset:code=0
 
Module options:
  host          : hostnames or subnets to target
  port          : ports to target [22]
  user          : usernames to test
  password      : passwords to test
  auth_type     : auth type to use [password|keyboard-interactive]
  persistent    : use persistent connections [1|0]
 
* Allowed format in ()
* Allowed values in [] with the default value always listed first
 
Syntax:
 -x actions:conditions
 
    actions    := action[,action]*
    action     := "ignore" | "retry" | "quit" | "reset"
    conditions := condition=value[,condition=value]*
    condition  := "code" | "size" | "mesg" | "fgrep" | "egrep"
 
    ignore      : do not report
    retry       : try payload again
    quit        : terminate execution now
    reset       : close current connection in order to reconnect for next probe
 
    code        : match status code
    size        : match size (N or N-M or N- or -N)
    mesg        : match message
    fgrep       : search for string
    egrep       : search for regex
 
For example, to ignore all redirects to the home page:
... -x ignore:code=302,fgrep='Location: /home.html'
 
 -e tag:encoding
 
    tag        := any unique string (eg. T@G or _@@_ or ...)
    encoding   := "sha1" | "md5" | "hex" | "b64"
 
    sha1        : hash in sha1
    md5         : hash in md5
    hex         : encode in hexadecimal
    b64         : encode in base64
 
For example, to encode every password in base64:
... host=10.0.0.1 user=admin password=_@@_FILE0_@@_ -e _@@_:b64
 
Options:
  -h, --help           show this help message and exit
 
  Execution:
    -x arg             actions and conditions, see Syntax above
    --start=N          start from offset N in the wordlist product
    --stop=N           stop at offset N
    --resume=r1[,rN]*  resume previous run
    -e arg             encode everything between two tags, see Syntax above
    -C str             delimiter string in combo files (default is ':')
    -X str             delimiter string in conditions (default is ',')
 
  Optimization:
    --rate-limit=N     wait N seconds between tests (default is 0)
    --rate-reset=N     reset module every N tests (default is 0: never reset)
    --failure-delay=N  wait N seconds after a failure (default is 0.5)
    --max-retries=N    skip payload after N failures (default is 5) (-1 for
                       unlimited)
    -t N, --threads=N  number of threads (default is 10)
 
  Logging:
    -l DIR             save output and response data into DIR
    -L SFX             automatically save into DIR/yyyy-mm-dd/hh:mm:ss_SFX
                       (DIR defaults to '/tmp/patator')
 
  Debugging:
    -d, --debug        enable debug messages
root@Dis9Team:/home/brk/desktop#
恩,能用了,用法都很简单,我就不细细的说了,能批量的。。
你想要破解什么按照说明安装相应的东西就成了

摘自 http://www.dis9.com/patator-brute-force-tool-tutorial.html

如对本文有疑问, 点击进行留言回复!!

相关文章:

  • 网络刺客2使用指南

    网络刺客2使用指南    “天行”推出网络刺客2已有一年,想当初此软件因其强大的功能被国内“黑”界推为惊世之作。我在得到它后,却有近半年时间在研究、寻找... [阅读全文]
  • 冰河”启示录

    冰河”启示录 作者: 陈经韬 前言:我经常在杂志和报刊上看到此类标题的文章,但大多是骗稿费的,没有任何技术含量.于是一气之下写了这编东西.本人声明如下:(一)... [阅读全文]
  • tfn2k使用方法和对策(3)

        tfn2k使用方法和对策(3) 作者:佳佳 本来想再分两次写完本文,后来发现佳佳要翻译的两篇文章 http://packetstorm... [阅读全文]
  • tfn2k使用方法和对策(2)

        tfn2k使用方法和对策(2) 作者:佳佳     佳佳继续上一次的文章,这一次是攻击测试。 测试环境:     共有5台机器,佳佳是... [阅读全文]
  • 火凤凰2.4使用教程

    今次给大家推荐的是阿风哥的作品:无赖小子。(way).说起来它普及的不广,但是面孔生疏的马儿更加隐蔽。不是众杀毒软件的众矢之的。好像不太容易被查杀。而且作者够仗... [阅读全文]
  • tfn2k使用方法和对策(1)

        tfn2k使用方法和对策(1) 作者:佳佳 今年年初,一些黑客使用DDoS向Yahoo,eBay等著名站点发起攻击,并且使y... [阅读全文]
  • 火凤凰2.0使用教程

    火凤凰是国产木马里最先使用反弹端口的木马,其避开防火墙的能力极其出色,DELPHI编写,功能较多但是不太好用,而且没有配置服务端的改变端口功能,相对而言比较危险... [阅读全文]
  • Nmap网络安全扫描器说明(5)

    Nmap网络安全扫描器说明(5) 作者:作者:Fyodor 译者:quack发布日期:2002-2-6上传日期:2002-2-6来源:不详扫描范例-------... [阅读全文]
  • Nmap网络安全扫描器说明(3)

    Nmap网络安全扫描器说明(3) 作者:作者:Fyodor 译者:quack发布日期:2002-2-6上传日期:2002-2-6来源:不详常规选项-------... [阅读全文]
  • 不需要任何密码就能达到进入中有冰河的机器!!!

    不需要任何密码就能达到进入中有冰河的机器!!!小飞刀 [[冰河第一站]]冰河出现到现在,使用得如此之广,影响如此之大。 却万万没有人想到冰河服务端竟然存在着如此... [阅读全文]
验证码:
移动技术网