ait-testbed / ait-testbed/attackmate

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

Offen
#86 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
51
Forks
10
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.