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

前言

默认安装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!

环境说明

[email protected]:/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“`

  2. 源码安装
    如果配置了–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等依赖
[email protected]:/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. FreeRDP依赖,Ubuntu下解决无法使用RDP暴破问题
sudo apt install freerdp2-dev -y

安装配置

[email protected]:/# mkdir hydra-install
[email protected]:/# cd hydra-install
[email protected]:/hydra-install#  wget --no-check-certificate https://github.com/vanhauser-thc/thc-hydra/archive/v9.2.tar.gz
[email protected]:/hydra-install# tar -zxvf v9.2.tar.gz   得到thc-hydra-9.2文件夹
[email protected]:/hydra-install# ls
thc-hydra-9.2  v9.2.tar.gz
[email protected]:/hydra-install# cd thc-hydra-9.2/
[email protected]:/hydra-install/thc-hydra-9.2# ./configure --prefix=/usr/local/hydra
[email protected]:/hydra-install/thc-hydra-9.2# make
[email protected]:/hydra-install/thc-hydra-9.2# make install
[email protected]:/hydra-install/thc-hydra-9.2# make clean

验证成功

[email protected]:/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

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇