ait-testbed / ait-testbed/attackmate

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

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
51
Forks
10
Avg merge
1d 6h
Merged PRs (30d)
3

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.