ncrack --versionDisplays the currently installed version of Ncrack to verify availability.
Nmap project’s high-speed network authentication cracker for RDP, SSH, SMB, FTP and other services, with timing controls.
sudo apt install ncrackncrack --versionDisplays the currently installed version of Ncrack to verify availability.
ncrack --helpPrints the main help menu listing supported flags and usage syntax.
ncrack -VRuns Ncrack with increased verbosity to show detailed runtime information.
ncrack --list-modulesLists all supported authentication modules and default ports available in the current installation.
ncrack -u admin --pass 'Password123' ftp://127.0.0.1Tests a single username and password against an FTP service using URL syntax.
ncrack -u root --pass toor ssh://127.0.0.1Tests a single username and password against an SSH service using URL syntax.
ncrack -p 22 --user root --pass toor 127.0.0.1Explicitly specifies port 22 for an SSH login attempt against a target IP.
ncrack -u admin -P passwords.txt 127.0.0.1:21Tests a single username against a list of passwords for an FTP service on port 21.
ncrack -U users.txt -P passwords.txt ssh://127.0.0.1Performs a full audit using a list of users and a list of passwords against an SSH target.
ncrack -U users.txt --pass 'Summer2023!' rdp://192.168.1.10Performs a password spraying attack using a list of users and one common password against RDP.
ncrack -iL targets.txt -p sshScans multiple targets provided in a text file against the default SSH port.
ncrack -p ssh 192.168.1.0/24Targets an entire CIDR subnet range for SSH authentication discovery.
ncrack -p 80,443,8080 127.0.0.1Specifies multiple ports manually to check for services on a single host.
ncrack -p smb -u Administrator -P passlist.txt 192.168.1.50Targets the SMB protocol specifically for Windows authentication auditing.
ncrack -p rdp -U users.txt -P pass.txt 192.168.1.50Audits Remote Desktop Protocol credentials using user and password lists.
ncrack -p winrm -u admin -P passwords.txt 192.168.1.50Targets Windows Remote Management service for authentication testing.
ncrack -p 3306 -u root -P mysql_pass.txt 127.0.0.1Audits a MySQL database instance on the default port 3306.
ncrack -p 5432 -u postgres -P pg_pass.txt 127.0.0.1Audits a PostgreSQL database instance on the default port 5432.
ncrack -p 1433 -u sa -P mssql_pass.txt 192.168.1.20Targets a Microsoft SQL Server instance using the 'sa' account.
ncrack -p 6379 -u default -P redis_pass.txt 127.0.0.1Tests authentication against a Redis data store on port 6379.
ncrack -p 27017 -u admin -P mongo_pass.txt 127.0.0.1Audits a MongoDB instance using the default port 27017.
ncrack -p http -u admin -P web_pass.txt 127.0.0.1Tests HTTP Basic Authentication against the web root.
ncrack -p https -u admin -P web_pass.txt 127.0.0.1Tests HTTPS Basic Authentication ensuring SSL/TLS encryption is used.
ncrack http://127.0.0.1,path=/adminSpecifies a specific URL path '/admin' for the HTTP authentication test.
ncrack -p 23 -u root -P telnet_pass.txt 192.168.1.1Audits a legacy Telnet service on port 23.
ncrack -p 5900 -u user -P vnc_pass.txt 192.168.1.5Tests VNC remote access passwords on default port 5900.
ncrack -p ssh --connection-limit 5 127.0.0.1Limits the number of concurrent connections per service to 5.
ncrack -p ssh --auth-limit 2 127.0.0.1Limits the number of authentication attempts per connection to 2.
ncrack -p ssh --time-limit 1h 127.0.0.1Sets a hard time limit of 1 hour for the entire cracking session.
ncrack -p ssh -g cl=10 127.0.0.1Uses the global option flag to set the connection limit to 10.
ncrack -p ssh -g at=1 127.0.0.1Sets the authentication tries per connection to exactly 1 (useful for avoiding lockouts).
ncrack -p ssh -g to=5s 127.0.0.1Sets the connection timeout to 5 seconds to fail fast on unresponsive hosts.
ncrack -p ssh -u user -P pass.txt 127.0.0.1 -oN output.txtSaves the results in Normal human-readable format to a file.
ncrack -p ssh -u user -P pass.txt 127.0.0.1 -oX output.xmlSaves the results in XML format for easier parsing by other tools.
ncrack -p ssh -u user -P pass.txt 127.0.0.1 -oA ncrack_scanSaves the results in all available formats (Normal, XML, Grepable) with the given basename.
ncrack -v -p ssh 127.0.0.1Runs in verbose mode to see more details about the connection process.
ncrack -d -p ssh 127.0.0.1Runs in debugging mode to troubleshoot connection or module errors.
ncrack -d2 -p ssh 127.0.0.1Runs with high debugging level (level 2) for deep protocol inspection.
ncrack -p sip -u 100 -P pass.txt 192.168.1.50Audits a SIP (VoIP) server using extension numbers as usernames.
ncrack -p dicom -u admin -P pass.txt 192.168.1.60Audits a DICOM medical imaging server for default credentials.
ncrack -p cvs -u root -P pass.txt 127.0.0.1Audits a CVS (Concurrent Versions System) server.
ncrack -p mqtt -u user -P pass.txt 127.0.0.1Audits an MQTT broker often used in IoT environments.
ncrack -p ssh,ftp:3000 127.0.0.1Scans default SSH port and a non-standard FTP port (3000) simultaneously.
ncrack -p smb -U users.txt --pass 'Company2024!' -g at=1,cl=1 192.168.1.0/24Low-and-slow password spraying attack against an SMB range to avoid account lockouts.
ncrack -p ssh -u root -P top500.txt 192.168.1.10 -g to=10sTargeted brute force of the root account using a curated top 500 password list.
ncrack -p ftp -g cl=200,at=5 127.0.0.1Aggressive high-speed scan with high connection limits for a stress test in a lab.
ncrack -iL all_servers.txt -p ssh,rdp,winrm -U admins.txt -P passwords.txt -oA internal_auditComprehensive infrastructure audit checking SSH, RDP, and WinRM across all servers.
ncrack -p https --pairwise -U leaked_users.txt -P leaked_pass.txt 127.0.0.1Tests exact username:password pairs from a breach against a secure web portal.
ncrack -p 23 -u cisco -P cisco_pass.txt 192.168.1.254Tests default credentials on network infrastructure equipment via Telnet.
ncrack -6 -p ssh -u root -P pass.txt 2001:db8::1Targets an IPv6 address for SSH authentication testing.
ncrack -vv -d -p ssh 127.0.0.1Combines high verbosity and debug mode for maximum runtime visibility.
ncrack -p ssh -u user -P pass.txt 127.0.0.1Runs in interactive mode where keys like 'p', 'v', 'd' can be pressed to toggle status lines.
ncrack -p smb -U users.txt -P pass.txt --time-limit 10m 192.168.1.0/24Runs an SMB audit across a subnet but strictly terminates after 10 minutes.
ncrack -p 27017 -u admin -P pass.txt --module-opt authdb=admin 127.0.0.1Specifies the MongoDB authentication database explicitly using module options.
ncrack -p 9042 -u cassandra -P pass.txt 127.0.0.1Audits a Cassandra database service on its native protocol port.
ncrack -p http -u admin -P pass.txt --module-opt path=/xmlrpc.php 127.0.0.1Targets the WordPress XML-RPC interface for authentication brute forcing.
ncrack -p http -u admin -P pass.txt --module-opt method=HEAD 127.0.0.1Uses the HEAD method instead of GET/POST for HTTP authentication attempts.
ncrack -p 5986 -u Administrator -P pass.txt 192.168.1.50Targets WinRM over HTTPS (port 5986) for secure management auditing.
ncrack -p 5432 -u postgres -P pass.txt --module-opt dbname=template1 127.0.0.1Connects to a specific PostgreSQL database name 'template1' during authentication.
ncrack -p ftp -u admin -P pass.txt --module-opt passive 127.0.0.1Forces the FTP module to use passive mode for data connection compatibility.
ncrack -p ssh -u root -P pass.txt --module-opt kex=diffie-hellman-group1-sha1 127.0.0.1Specifies a legacy key exchange algorithm for SSH to support older targets.
ncrack -iL targets.txt -p ssh,rdp,smb -U users.txt -P pass.txt -g cl=2,at=1 -oA full_audit --save checkpoint.datA complete, safe automation command combining throttling, logging, checkpoints, and multi-protocol targeting.
ncrack -p ssh -u user -P pass.txt 127.0.0.1 -qRuns the scan in quiet mode, suppressing most non-critical output to stdout.
A fast, parallel online login brute-forcer supporting SSH, FTP, HTTP forms, SMB, RDP, databases and dozens more protocols.
A speedy, parallel, modular login brute-forcer — an alternative to Hydra with thread-per-host design.
The standard network scanner: discovers hosts, open ports, running services and versions, operating systems, and runs NSE scripts for deeper checks.
Connecting to Windows Remote Desktop from Linux with xfreerdp and rdesktop — including pass-the-hash, drive sharing and clipboard.