Skip to content

Traceback when running hostname_collector #1374

@mssalvatore

Description

@mssalvatore

Describe the bug

After a Linux machine is breached with the SSHExploiter, the monkey agent attempts to run the hostname collector, resulting in a traceback (see screenshot below). This does not seem to happen if the monkey agent is run manually.

To Reproduce

Steps to reproduce the behavior:

  1. Build monkey binaries for linux.
  2. Set up a Monkey Island VM and a separate Linux victim VM.
  3. Configure Monkey Island to use the newly built binaries.
  4. Configure monkey to be able to breach the victim using the SSH exploiter
  5. Run monkey from the island
  6. After the victim machine is breached, view the traceback in /tmp/user-1563

Expected behavior

No errors in the log.

Screenshots

image

Machine version (please complete the following information):

  • OS: Linux

Tasks

  • Investigate the issue and Fix if possible (0.5d) @mssalvatore

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions