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

SSH exploiter plugin.py #3458

Merged
merged 3 commits into from
Jul 5, 2023
Merged

SSH exploiter plugin.py #3458

merged 3 commits into from
Jul 5, 2023

Conversation

shreyamalviya
Copy link
Contributor

What does this PR do?

Fixes a part of #3170

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?
  • Was the CHANGELOG.md updated to reflect the changes?
  • Was the documentation framework updated to reflect the changes?
  • Have you checked that you haven't introduced any duplicate code?

Testing Checklist

  • Added relevant unit tests?
  • Do all unit tests pass?
  • Do all end-to-end tests pass?
  • Any other testing performed?

    Tested by {Running the Monkey locally with relevant config/running Island/...}

  • If applicable, add screenshots or log transcripts of the feature working

super().__init__(*args, **kwargs)

def exploit_host(self, *args, **kwargs) -> ExploiterResultData:
raise Exception("Test error")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Make "Test error" a variable, since it's also used in EXPLOITER_RESULT_DATA, which is used for assertions

@mssalvatore mssalvatore merged commit c46692a into develop Jul 5, 2023
@mssalvatore mssalvatore deleted the 3170-ssh-plugin-dot-py branch July 5, 2023 14:44
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

Successfully merging this pull request may close these issues.

3 participants