Skip to content

Command type msf-module in includes.yml example throws Type Error #86

@thorinaboenke

Description

@thorinaboenke

Executing the Example playbook include.yml the command type msf-module in gather_commands.yml:
The prepare_exploit() functions throws an Type Error "Module or Module Type is Unknown: Value must be an integer not 'str'"

image

How to reproduce:
attackm8 --debug includes.yml

content of gather_commands.yml:

commands:
  - type: msf-module
    cmd: post/linux/gather/enum_users_history
    options:
      SESSION: $GATHER_SESSION

manually using the exploit in msf console works fine
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions