美文网首页
[Ubuntu]安装Hydra 9.2并支持RDP协议暴破

[Ubuntu]安装Hydra 9.2并支持RDP协议暴破

作者: lalada | 来源:发表于2021-08-05 16:10 被阅读0次

前言

默认安装hydra工具,无法直接暴破RDP协议,如下所示,然后apt-get install hydra安装的,一般是8.6的老版本。

Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2021-08-05 02:43:54

[ERROR] Compiled without FREERDP support, modules not available!

环境说明


root@tide-mars:/hydra-install/thc-hydra-9.2# uname -a

Linux tide-mars 5.10.0-kali6-amd64 #1 SMP Debian 5.10.26-1kali2 (2021-04-01) x86_64 x86_64 x86_64 GNU/Linux

安装步骤

删除原始版本

如之前无法使用RDP协议暴破或者使用老版本,建议删除原来版本

  1. apt-get安装

apt-get remove hydra

  1. 源码安装

如果配置了--prefix,删除原来的安装包文件夹

安装依赖

If you use Ubuntu/Debian, this will install supplementary libraries needed for a few optional modules (note that some might not be available on your distribution):

  1. SSH等依赖

root@tide-mars:/hydra-install/thc-hydra-9.2# apt-get install libssl-dev libssh-dev libidn11-dev libpcre3-dev \

                  libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev \

                  firebird-dev libmemcached-dev libgpg-error-dev \

                  libgcrypt11-dev libgcrypt20-dev

  1. <font color= "#FF0000">FreeRDP依赖,Ubuntu下解决无法使用RDP暴破问题</font>

sudo apt install freerdp2-dev -y

安装配置


root@tide-mars:/# mkdir hydra-install

root@tide-mars:/# cd hydra-install

root@tide-mars:/hydra-install#  wget --no-check-certificate https://github.com/vanhauser-thc/thc-hydra/archive/v9.2.tar.gz

root@tide-mars:/hydra-install# tar -zxvf v9.2.tar.gz   得到thc-hydra-9.2文件夹

root@tide-mars:/hydra-install# ls

thc-hydra-9.2  v9.2.tar.gz

root@tide-mars:/hydra-install# cd thc-hydra-9.2/

root@tide-mars:/hydra-install/thc-hydra-9.2# ./configure --prefix=/usr/local/hydra

root@tide-mars:/hydra-install/thc-hydra-9.2# make

root@tide-mars:/hydra-install/thc-hydra-9.2# make install

root@tide-mars:/hydra-install/thc-hydra-9.2# make clean

验证成功


root@tide-mars:/hydra-install/thc-hydra-9.2# hydra -version

Hydra v9.2 (c) 2021 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).



[ERROR] unknown mode i for option -e, only supporting "n", "s" and "r"

image-20210805153655413

参考链接

https://github.com/vanhauser-thc/thc-hydra

https://blog.csdn.net/Dearggae/article/details/104054705

相关文章

网友评论

      本文标题:[Ubuntu]安装Hydra 9.2并支持RDP协议暴破

      本文链接:https://www.haomeiwen.com/subject/xkgmvltx.html