From cfb4aec256a15b12fda219976da15cb837e16ae8 Mon Sep 17 00:00:00 2001 From: ARYAN03B <115079796+ARYAN03B@users.noreply.github.com> Date: Fri, 14 Jun 2024 13:47:21 +0530 Subject: [PATCH] Added More Command Examples for New Users in nettacker.py Fixes #740 Signed-off-by: ARYAN03B <115079796+ARYAN03B@users.noreply.github.com> --- nettacker.py | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/nettacker.py b/nettacker.py index 1848335d3..0e7d107d5 100644 --- a/nettacker.py +++ b/nettacker.py @@ -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())