integration of attackmate in external projects#144
Merged
whotwagner merged 24 commits intoait-testbed:developmentfrom Feb 7, 2025
Merged
integration of attackmate in external projects#144whotwagner merged 24 commits intoait-testbed:developmentfrom
whotwagner merged 24 commits intoait-testbed:developmentfrom
Conversation
Contributor
Author
|
when Attackmate is instantiated in another project, i.e. attack_mate = Attackmate() one should not neccessarily have to bother with configs and be able to use the defaults if nothing is passed. Ok to use those defined in config.py? |
Contributor
Author
|
@whotwagner on the topic of variables. Should there be an equivalent to the vars section of the playbook that can be passed as a dict to the Attackmate instance? |
updated funding options
fixed typos
whotwagner
reviewed
Feb 7, 2025
Contributor
|
Does it work with the loop executor too? |
whotwagner
approved these changes
Feb 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR relates to issue #112
Resultobject__repr__()method of Result object for string representationCommandclass whosecreate()method returns a command class instance depending on the argumenttyperun_command()method to AttackMate to run single command from within an external projectconfigandvarstorecan be passed as optional constructor arguments toAttackMate()in the external script, otherwise Varstore is empty and Config uses the defaults.example integration in external script:
Console Output of the above script:
