Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/warhorse/ansible-role-cobaltstrike-docker
Ansible Cobalt Strike (Docker)
https://github.com/warhorse/ansible-role-cobaltstrike-docker
Last synced: 22 days ago
JSON representation
Ansible Cobalt Strike (Docker)
- Host: GitHub
- URL: https://github.com/warhorse/ansible-role-cobaltstrike-docker
- Owner: warhorse
- License: mit
- Created: 2021-08-02T22:36:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T15:27:51.000Z (almost 3 years ago)
- Last Synced: 2024-08-05T17:38:47.088Z (4 months ago)
- Language: Jinja
- Size: 135 KB
- Stars: 14
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - warhorse/ansible-role-cobaltstrike-docker - Ansible Cobalt Strike (Docker) (Jinja)
README
Ansible Cobalt Strike (Docker)
=========[![CI](https://github.com/warhorse/ansible-role-cobaltstrike-docker/workflows/CI/badge.svg?event=push)](https://github.com/warhorse/ansible-role-cobaltstrike-docker/actions?query=workflow%3ACI)
[![warhorse.cobaltstrike_docker](https://img.shields.io/ansible/role/55892)](https://galaxy.ansible.com/warhorse/cobaltstrike_docker)
[![warhorse.cobaltstrike_docker](https://img.shields.io/ansible/quality/55892)](https://galaxy.ansible.com/warhorse/cobaltstrike_docker)
[![warhorse.cobaltstrike_docker](https://img.shields.io/ansible/role/d/55892)](https://galaxy.ansible.com/warhorse/cobaltstrike_docker)
![License](https://img.shields.io/github/license/warhorse/ansible-role-cobaltstrike-docker)
![Commit](https://img.shields.io/github/last-commit/warhorse/ansible-role-cobaltstrike-docker)![Cobaltstrike Logo](./images/cs_logo.png "Cobaltstrike Logo")
Install Cobalt Strike in (Docker)
This role is part of the Warhorse Automation Framework. This role can be used with Warhorse or as a standalone role.
Docker Image
-------------[ghcr.io/warhorse/docker-cobaltstrike](https://github.com/warhorse/docker-cobaltstrike)
Role Variables
--------------A list of all the variables can be found in ./defaults/main.yml.
`cs_dir` - Cobalt Strike container directory
`cs_ports` - Cobalt Strike container ports
`cs_hostname` - Cobalt Strike container hostname
`cs_container_name` - Cobalt Strike container name
`cs_key` - Cobalt Strike teamserver license key (REQUIRED)
`cs_password` - Cobalt Strike teamserver password (REQUIRED)
`cs_exp_date` - Cobalt Strike becaon expiration date (REQUIRED)
`cs_profile_location` - Location of your Cobalt Strike profile file
`cs_docker_network` Cobalt Strike container docker network
Dependencies
------------```shell
ansible-galaxy install geerlingguy.docker geerlingguy.pip
```Install
------------```shell
ansible-galaxy install warhorse.cobaltstrike_docker
```Example Playbook
----------------```yaml
- hosts: servers
roles:
- { role: warhorse.cobaltstrike_docker }
```Example Vars
----------------```yaml
cs_hostname: "cobaltstrike"
cs_container_name: "cobaltstrike"
cs_key: '000-000-000-000-000'
cs_password: 'Password'
cs_exp_date: '2020-12-20'
cs_profile_location: 'clean.profile.j2'
cs_docker_network: "cobaltstrike"
cs_dir: '/opt/docker/cobaltstrike'
cs_ports:
- "50050:50050"
- "80:80"
- "443:443"
```License
-------MIT/BSD
Author Information
------------------Ralph May