[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!

环境说明

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“`

  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等依赖
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. FreeRDP依赖,Ubuntu下解决无法使用RDP暴破问题
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

注意:网络资源有一定失效性,请以实际为准!
本站telegram群组 https://t.me/digter8 @digter8
仅供学习交流,严禁用于商业用途,请于24小时内删除。
暂无评论

发送评论 编辑评论


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