ait-testbed / ait-testbed/attackmate

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

Đang mở
#86 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
51
Fork
10
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.