mirror of
https://github.com/kmanc/remote_code_oxidation
synced 2026-06-08 15:21:46 +00:00
301 lines
6.7 KiB
YAML
301 lines
6.7 KiB
YAML
name: RCO for Linux targets
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
push:
|
|
branches: [ main ]
|
|
workflow_dispatch:
|
|
branches: [ main ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
|
|
linux-reverse-shell:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build reverse shell for Linux
|
|
run: cargo build -p tcp_reverse_shell --verbose
|
|
|
|
linux-reverse-shell-antisand:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build reverse shell for Linux
|
|
run: cargo build -p tcp_reverse_shell --features antisand --verbose
|
|
|
|
linux-reverse-shell-antistring:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build reverse shell for Linux
|
|
run: cargo build -p tcp_reverse_shell --features antistring --verbose
|
|
|
|
linux-reverse-shell-all:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build reverse shell for Linux
|
|
run: cargo build -p tcp_reverse_shell --features antisand,antistring --verbose
|
|
|
|
linux-process-migration:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process migration for Linux
|
|
run: cargo build -p process_migration --verbose
|
|
|
|
linux-process-migration-xor:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process migration for Linux
|
|
run: cargo build -p process_migration --features xor --verbose
|
|
|
|
linux-process-migration-antisand:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process migration for Linux
|
|
run: cargo build -p process_migration --features antisand --verbose
|
|
|
|
linux-process-migration-antistring:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process migration for Linux
|
|
run: cargo build -p process_migration --features antistring --verbose
|
|
|
|
linux-process-migration-all:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process migration for Linux
|
|
run: cargo build -p process_migration --features xor,antisand,antistring --verbose
|
|
|
|
linux-process-hollowing:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process hollowing for Linux
|
|
run: cargo build -p process_hollowing --verbose
|
|
|
|
linux-process-hollowing-xor:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process hollowing for Linux
|
|
run: cargo build -p process_hollowing --features xor --verbose
|
|
|
|
linux-process-hollowing-antisand:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process hollowing for Linux
|
|
run: cargo build -p process_hollowing --features antisand --verbose
|
|
|
|
linux-process-hollowing-antistring:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process hollowing for Linux
|
|
run: cargo build -p process_hollowing --features antistring --verbose
|
|
|
|
linux-process-hollowing-all:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build process hollowing for Linux
|
|
run: cargo build -p process_hollowing --features xor,antisand,antistring --verbose
|
|
|
|
linux-xor-params:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build xor shellcode for Linux
|
|
run: cargo build -p xor_params --verbose
|
|
|
|
linux-hash-params:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build hash shellcode for Linux
|
|
run: cargo build -p hash_params --verbose
|
|
|
|
linux-remote-access-trojan:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build remote access trojan for Linux
|
|
run: cargo build -p remote_access_trojan --verbose
|
|
|
|
linux-all:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build all for Linux
|
|
run: cargo build --verbose
|
|
|
|
linux-all-xor:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build all for Linux
|
|
run: cargo build --features xor --verbose
|
|
|
|
linux-all-antisand:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build all for Linux
|
|
run: cargo build --features antisand --verbose
|
|
|
|
linux-all-antistring:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build all for Linux
|
|
run: cargo build --features antistring --verbose
|
|
|
|
linux-all-all:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Update rust
|
|
run: rustup update
|
|
- name: Update cargo
|
|
run: cargo update
|
|
- name: Build all for Linux
|
|
run: cargo build --features xor,antisand,antistring --verbose
|