Skip to content

Commit

Permalink
Added More Command Examples for New Users in nettacker.py
Browse files Browse the repository at this point in the history
Fixes OWASP#740

Signed-off-by: ARYAN03B <[email protected]>
  • Loading branch information
ARYAN03B authored Jun 14, 2024
1 parent facf823 commit cfb4aec
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion nettacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@

# if dependencies and OS requirements are match then load the program
from core.parse import load
import sys

load() # load and parse the ARGV
# Example commands to demonstrate OWASP Nettacker functionalities
example_commands = [
"-i target.com",
"-i target.com -v --start-api --api-host 0.0.0.0 --api-port 5000",
"-i target.com -m ftp_brute,ssh_brute",
"-i target.com -o results.txt -L en",
"-i target.com -u admin -P passwords.txt",
"-i target.com -g 21,22 -p tcp,udp",
"-i target.com --start-api --api-host 192.168.1.100 --api-port 8080 --api-ssl",
"-i target.com -m http_crawl -f --crawl-depth 3",
"-i target.com --db-save --db-name nettacker_results"
]

# Print example commands
print("Example commands:")
for command in example_commands:
print(f"nettacker {command}")

# Load and parse the ARGV
load()
# sys.exit(main())

0 comments on commit cfb4aec

Please sign in to comment.