[Ubuntu] Install Hydra 9.2 and support RDP protocol brute force

Foreword

The hydra tool is installed by default, and the RDP protocol cannot be directly broken, as shown below, and then apt-get install hydra is installed, usually an old version of 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!

Environmental description

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

Installation steps

Delete original version

If you cannot use the RDP protocol to break through or use an old version before, it is recommended to delete the original version

  1. apt-get installation “`apt-get remove hydra“`
  2. Source installation
    If –prefix is configured, delete the original installation package folder

Install dependencies

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 and other dependencies
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 depends on the solution to the problem that RDP cannot be used under Ubuntu
sudo apt install freerdp2-dev -y

Installation configuration

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   Get the thc-hydra-9.2 folder
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

Verification successful

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

Reference link

https://github.com/vanhauser-thc/thc-hydra
https://blog.csdn.net/Dearggae/article/details/104054705

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

Send Comment Edit Comment


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