Skip to content
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

The argument targeted #19

Closed
TudouJack opened this issue Mar 5, 2020 · 2 comments
Closed

The argument targeted #19

TudouJack opened this issue Mar 5, 2020 · 2 comments

Comments

@TudouJack
Copy link

There is a argument,targeted,in the attack.py .

parser.add_argument('--targeted', action='store_false', help='Set this switch to test for targeted attacks.')

Please tell me,if the action = 'store_false',the attack is targeted or not?
Thank u for answering my issue.

@Hyperparticle
Copy link
Owner

By default, the attack will be untargeted. If you add --targeted to the command-line arguments, then it will be targeted.

The parser syntax can be a bit confusing, action='store_false', just means it the variable will be false by default unless it's specified on the command-line.

@TudouJack
Copy link
Author

By default, the attack will be untargeted. If you add --targeted to the command-line arguments, then it will be targeted.

The parser syntax can be a bit confusing, action='store_false', just means it the variable will be false by default unless it's specified on the command-line.

Oh,I got it. Thank you very much,your answer is pretty helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants