8000 Monkey breaks on German system language · Issue #1175 · guardicore/monkey · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Monkey breaks on German system language #1175
Closed
@VakarisZ

Description

@VakarisZ

Describe the bug

If the system language is German, running the monkey gives this error:

2021-05-17 08:28:57,836 [6184:6172:INFO] monkey.start.168: Trying to get OS fingerprint from VictimHost('192.168.99.21') with module PingScanner
2021-05-17 08:28:57,919 [6184:6172:ERROR] main.main.137: Exception thrown from monkey's start function. More info: not enough arguments for format string
Traceback (most recent call last):
  File "infection_monkey\monkey.py", line 170, in start
    finger.get_host_fingerprint(machine)
  File "infection_monkey\network\ping_scanner.py", line 56, in get_host_fingerprint
    output = " ".join(sub_proc.communicate())
  File "subprocess.py", line 964, in communicate
  File "subprocess.py", line 1317, in _communicate
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "infection_monkey\main.py", line 128, in main
    monkey.start()
  File "infection_monkey\monkey.py", line 172, in start
    LOG.error("Failed to run fingerprinter %s, exception %s" % finger.__class__.__name__,
TypeError: not enough arguments for format string
2021-05-17 08:28:58,079 [6184:6172:INFO] monkey.cleanup.275: Monkey cleanup started

To Reproduce

Steps to reproduce the behavior:

  1. Configure your environment to get similar response from ping command:
C:\Users\localadm>ping -n 1 -w 1000 192.168.99.21
 
Ping wird ausgeführt für 192.168.99.21 mit 32 Bytes Daten:
Antwort von 192.168.99.21: Bytes=32 Zeit<1ms TTL=128
 
Ping-Statistik für 192.168.99.21:
    Pakete: Gesendet = 1, Empfangen = 1, Verloren = 0
    (0% Verlust),
Ca. Zeitangaben in Millisek.:
    Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
  1. Run the monkey
  2. See error

Expected behavior

We should document that we only support English system language and maybe consider supporting other languages in the future.

Machine version (please complete the following information):

  • OS: Windows

Tasks

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

      0