File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 13
13
14
14
# if dependencies and OS requirements are match then load the program
15
15
from core .parse import load
16
+ import sys
16
17
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 ()
18
38
# sys.exit(main())
You can’t perform that action at this time.
0 commit comments