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 key pair list is not showing output #1416

Closed
ilija-lazoroski opened this issue Aug 18, 2021 · 3 comments
Closed

SSH key pair list is not showing output #1416

ilija-lazoroski opened this issue Aug 18, 2021 · 3 comments
Labels
Bug An error, flaw, misbehavior or failure in the Monkey or Monkey Island. Complexity: Medium Impact: Medium

Comments

@ilija-lazoroski
Copy link
Contributor

Describe the bug

When running an Island and SSH exploiter in Internal --> Exploits, SSH key pair list is showing [object Object].

To Reproduce

Steps to reproduce the behavior:

  1. Configure Monkey with just SSH exploiter
  2. Run the monkey on Linux Machine
  3. Observe SSH key pair list in Internal --> Exploits

Expected behavior

It should be showing a string of SSH key pair list.

Screenshots

image

Machine version (please complete the following information):

  • OS: Linux
@ilija-lazoroski ilija-lazoroski added Bug An error, flaw, misbehavior or failure in the Monkey or Monkey Island. Impact: Medium Complexity: Medium labels Aug 18, 2021
@ilija-lazoroski
Copy link
Contributor Author

The bug is coming from process_ssh_info in monkey_island\cc\services\telemetry\processing\system_info.py in which we are adding to the config an object consisted of public_key, private_key, username and ip which is then rendered as [object Object] in InternalConfig.js. Thanks to @shreyamalviya .

@ilija-lazoroski
Copy link
Contributor Author

In the documentation we explain that the ssh key will not be shown.
image

@mssalvatore
Copy link
Collaborator

Fixed by 41feb24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug An error, flaw, misbehavior or failure in the Monkey or Monkey Island. Complexity: Medium Impact: Medium
Projects
None yet
Development

No branches or pull requests

2 participants