-
-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added More Command Examples for New Users in nettacker.py #849
base: master
Are you sure you want to change the base?
Conversation
Fixes OWASP#740 Signed-off-by: ARYAN03B <[email protected]>
There is a major code refactoring ongoing right now with additional work done as part of Google Summer of Code 2024. We will include your suggestions once the new version of Nettacker with refactored codebase is released at the end of August |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this better fits -h
menu section. @securestep9 what's you opinion on this?
load() # load and parse the ARGV | ||
# Example commands to demonstrate OWASP Nettacker functionalities | ||
example_commands = [ | ||
"-i target.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just FYI target.com
is a real company web-site that may not appreciate to be a default example even in a pretty small audience penetration testing tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arkid15r I will take care of this and add more info to --help and the new documentation. The examples in this PR are not 100% correct as they are using non-existing modules and switches, but I get the idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arkid15r I will take care of this and add more info to --help and the new documentation. The examples in this PR are not 1005 correct as they are using non-existing modules and switches, but I get the idea
Sounds good, thanks Sam!
Fixes #740
Checklist
Changes proposed in this pull request
In your Python code (nettacker.py), consider adding more command examples. This helps new users who may find it difficult to create the right commands when they use your code for the first time. It makes it easier for them to write the correct code.
Like that:-
nettacker -L en -v -o results.txt -i target.com -m ftp_brute,ssh_brute -u admin -P passwords.txt -g 21,22 --start-api --api-host 0.0.0.0 --api-port 5000