ait-testbed/attackmate

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

thorinaboenke opened this issue · 0 comments

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