ait-testbed / ait-testbed/attackmate

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

未关闭
#86 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
51
派生
10
平均合并
1 天 6 小时
30 天内合并 PR
3

描述

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](https://github.com/ait-testbed/attackmate/assets/68156005/4d21aeb9-3d6e-4509-80d0-1ac2c2af5c59)

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](https://github.com/ait-testbed/attackmate/assets/68156005/03877fa8-780f-4158-8163-3f3e3d6e142a)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。