Nxc / Continue Search After Success
Continue Search After Success
Nxc command syntax to continue search after success. Copyable examples, output expectations, and common mistakes.
$
Terminal nxc ftp <192.168.178.2> -u <path/to/usernames.txt> -p <path/to/passwords.txt> --continue-on-success nxc ftp <192.168.178.2> -u <path/to/usernames.txt> -p <path/to/passwords.txt> --continue-on-success #!/bin/bash
# Continue Search After Success
nxc ftp {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}} --continue-on-success import subprocess
# Continue Search After Success
# Make sure to replace <placeholders> with actual values
def run_command():
cmd = [
"nxc",
"ftp",
"<192.168.178.2>",
"-u",
"<path/to/usernames.txt>",
"-p",
"<path/to/passwords.txt>",
"--continue-on-success"
]
try:
print(f"Executing: {' '.join(cmd)}")
subprocess.run(cmd, check=True)
except subprocess.CalledProcessError as e:
print(f"Error: {e}")
except FileNotFoundError:
print("Error: nxc not found. Please install it first.")
if __name__ == "__main__":
run_command() Command Breakdown
What each part is doing
-
nxc - Base Command
- The executable that performs this operation. Here it runs Nxc before the shell applies any redirect operators.
-
<192.168.178.2> - 192.168.178.2
- The value supplied for 192.168.178.2.
-
-u - u| username
- The user value supplied to this command.
-
<path/to/usernames.txt> - path to usernames.txt
- The user value supplied to this command.
-
-p - p| password
- The value supplied for p| password.
-
<path/to/passwords.txt> - path to passwords.txt
- The value supplied for path to passwords.txt.
-
-u - Command Option
- Tool-specific option used by this command invocation.
-
-p - Command Option
- Tool-specific option used by this command invocation.
-
--continue-on-success - Command Option
- Tool-specific option used by this command invocation.
Alternative Approaches
Comparable commands in other tools
Alternative networking tools for the same job.
Smbmap / Display Smb Shares Recursively Search Files
smbmap -u <username> --prompt -H <ip_address> -R -F <pattern> Asnmap / Lookup Cidr Ranges For A Domain asnmap {-d|-domain} example.com -silent Surfraw / List Supported Website Search Scripts surfraw -elvi Ippfind / List Ipp Printers Status ippfind -l