ait-testbed / ait-testbed/attackmate

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

Ouverte
#86 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
51
Forks
10
Merge moyen
1 j 6 h
PR mergées (30 j)
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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.