Linux command
ncrack 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Crack SSH login
ncrack -p [22] --user [root] -P [wordlist.txt] [192.168.1.1]
Crack multiple services
ncrack [ssh://192.168.1.1,ftp://192.168.1.2]
Use username list
ncrack -U [users.txt] -P [passwords.txt] [ssh://target]
Set timing template
ncrack -T[4] [ssh://target]
Read targets from file
ncrack -iL [hosts.txt] -p [22] --user [admin]
Save results to file
ncrack -oN [results.txt] [ssh://target] -U [users.txt] -P [passwords.txt]
说明
Ncrack is a high-speed network authentication cracking tool. It supports multiple protocols including SSH, RDP, FTP, Telnet, HTTP, and more. Designed by Nmap developers, ncrack uses a modular architecture allowing new protocol modules.
参数
- -p _ports_
- Target ports.
- --user _user_
- Single username.
- -U _file_
- Username list.
- -P _file_
- Password list.
- -T _0-5_
- Timing template.
- -iL _file_
- Input target list.
- -oN _file_
- Normal output.
- -oX _file_
- XML output.
- -v
- Verbose.
FAQ
What is the ncrack command used for?
Ncrack is a high-speed network authentication cracking tool. It supports multiple protocols including SSH, RDP, FTP, Telnet, HTTP, and more. Designed by Nmap developers, ncrack uses a modular architecture allowing new protocol modules.
How do I run a basic ncrack example?
Run `ncrack -p [22] --user [root] -P [wordlist.txt] [192.168.1.1]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _ports_ do in ncrack?
Target ports.