Skip to content

Bug in Remote System Discovery - ip neighbour (Ability id: f489321f31b6ef36304294562d3d4645) #596

Description

@deacon-mp

Running this ability displays the error: sh: 1: Syntax error: ";" unexpected

Cause: the command is

if [ -x "$(command -v ip)" ]; then : ; else apt-get install iproute2 -y; fi; ; ip neighbour show

There is an extra semicolon before 'ip neighbour' show. Removing this fixes the problem.


Migrated from mitre/caldera#3097

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions