Skip to content

Commit cfb4aec

Browse files
authored
Added More Command Examples for New Users in nettacker.py
Fixes OWASP#740 Signed-off-by: ARYAN03B <[email protected]>
1 parent facf823 commit cfb4aec

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

nettacker.py

+21-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,26 @@
1313

1414
# if dependencies and OS requirements are match then load the program
1515
from core.parse import load
16+
import sys
1617

17-
load() # load and parse the ARGV
18+
# Example commands to demonstrate OWASP Nettacker functionalities
19+
example_commands = [
20+
"-i target.com",
21+
"-i target.com -v --start-api --api-host 0.0.0.0 --api-port 5000",
22+
"-i target.com -m ftp_brute,ssh_brute",
23+
"-i target.com -o results.txt -L en",
24+
"-i target.com -u admin -P passwords.txt",
25+
"-i target.com -g 21,22 -p tcp,udp",
26+
"-i target.com --start-api --api-host 192.168.1.100 --api-port 8080 --api-ssl",
27+
"-i target.com -m http_crawl -f --crawl-depth 3",
28+
"-i target.com --db-save --db-name nettacker_results"
29+
]
30+
31+
# Print example commands
32+
print("Example commands:")
33+
for command in example_commands:
34+
print(f"nettacker {command}")
35+
36+
# Load and parse the ARGV
37+
load()
1838
# sys.exit(main())

0 commit comments

Comments
 (0)