mirror of
https://github.com/kmanc/remote_code_oxidation
synced 2026-06-08 15:21:46 +00:00
Workflows (#58)
* ran cargo update * clippy checks for all combinations of features required to pass * hadnt saved the file, this is the desired version * small nitpick on my gitignore lol * new workflow was in the wrong dir and i didnt notice * need windows dependencies in windows builds * name consistency * alphabetizing so i can find things when im adding/changing/removing/etc
This commit is contained in:
@@ -0,0 +1,190 @@
|
||||
name: Clippy for all targets and all features, failing on any clippy warnings
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
push:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
|
||||
clippy-linux:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
clippy-linux-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --features antisand -- -D warnings
|
||||
|
||||
clippy-linux-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --features antistring -- -D warnings
|
||||
|
||||
clippy-linux-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --features xor -- -D warnings
|
||||
|
||||
clippy-linux-antisand-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --features antisand,antistring -- -D warnings
|
||||
|
||||
clippy-linux-antisand-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --features antisand,xor -- -D warnings
|
||||
|
||||
clippy-linux-antistring-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --features antistring,xor -- -D warnings
|
||||
|
||||
clippy-linux-antisand-antistring-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --features antisand,antistring,xor -- -D warnings
|
||||
|
||||
clippy-windows:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu -- -D warnings
|
||||
|
||||
clippy-windows-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu --features antisand -- -D warnings
|
||||
|
||||
clippy-windows-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu --features antistring -- -D warnings
|
||||
|
||||
clippy-windows-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu --features xor -- -D warnings
|
||||
|
||||
clippy-windows-antisand-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu --features antisand,antistring -- -D warnings
|
||||
|
||||
clippy-windows-antisand-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu --features antisand,xor -- -D warnings
|
||||
|
||||
clippy-windows-antistring-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu --features antistring,xor -- -D warnings
|
||||
|
||||
clippy-windows-antisand-antistring-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clippy
|
||||
run: cargo clippy --target x86_64-pc-windows-gnu --features antisand,antistring,xor -- -D warnings
|
||||
+222
-221
@@ -12,213 +12,6 @@ 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-all:
|
||||
|
||||
@@ -233,19 +26,6 @@ jobs:
|
||||
- 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
|
||||
@@ -272,6 +52,19 @@ jobs:
|
||||
- name: Build all for Linux
|
||||
run: cargo build --features antistring --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-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@@ -283,4 +76,212 @@ jobs:
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build all for Linux
|
||||
run: cargo build --features xor,antisand,antistring --verbose
|
||||
run: cargo build --features antisand,antistring,xor --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-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-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-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-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 antisand,antistring,xor --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-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-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-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 antisand,antistring,xor --verbose
|
||||
|
||||
linux-tcp-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-tcp-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-tcp-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-tcp-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-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
|
||||
|
||||
@@ -7,7 +7,8 @@ on:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
update-reverse-shell:
|
||||
|
||||
update-hash-params:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -16,46 +17,23 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: dante-signal31/rust-app-version@v1.0.0
|
||||
id: tcp_reverse_shell_ver
|
||||
id: hash_params_ver
|
||||
with:
|
||||
cargo_toml_folder: 'tcp_reverse_shell/'
|
||||
- name: Update tcp_reverse_shell version
|
||||
cargo_toml_folder: 'hash_params/'
|
||||
- name: Update hash_params version
|
||||
uses: jossef/action-set-json-field@v2
|
||||
with:
|
||||
file: '.custom_shields/tcp_reverse_shell.json'
|
||||
file: '.custom_shields/hash_params.json'
|
||||
field: message
|
||||
value: ${{ steps.tcp_reverse_shell_ver.outputs.app_version }}
|
||||
value: ${{ steps.hash_params_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||
with:
|
||||
commit_message: "Update reverse shell badge data via Github Action"
|
||||
|
||||
update-process-migration:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
needs: update-reverse-shell
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: dante-signal31/rust-app-version@v1.0.0
|
||||
id: process_migration_ver
|
||||
with:
|
||||
cargo_toml_folder: 'process_migration/'
|
||||
- name: Update process_migration version
|
||||
uses: jossef/action-set-json-field@v2
|
||||
with:
|
||||
file: '.custom_shields/process_migration.json'
|
||||
field: message
|
||||
value: ${{ steps.process_migration_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||
with:
|
||||
commit_message: "Update process migration badge data via Github Action"
|
||||
commit_message: "Update hash params badge data via Github Action"
|
||||
|
||||
update-process-hollowing:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
needs: update-process-migration
|
||||
needs: update-hash-params
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -75,11 +53,57 @@ jobs:
|
||||
with:
|
||||
commit_message: "Update process hollowing badge data via Github Action"
|
||||
|
||||
update-xor-params:
|
||||
update-process-migration:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
needs: update-process-hollowing
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: dante-signal31/rust-app-version@v1.0.0
|
||||
id: process_migration_ver
|
||||
with:
|
||||
cargo_toml_folder: 'process_migration/'
|
||||
- name: Update process_migration version
|
||||
uses: jossef/action-set-json-field@v2
|
||||
with:
|
||||
file: '.custom_shields/process_migration.json'
|
||||
field: message
|
||||
value: ${{ steps.process_migration_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||
with:
|
||||
commit_message: "Update process migration badge data via Github Action"
|
||||
|
||||
update-tcp-reverse-shell:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
needs: update-process-migration
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: dante-signal31/rust-app-version@v1.0.0
|
||||
id: tcp_reverse_shell_ver
|
||||
with:
|
||||
cargo_toml_folder: 'tcp_reverse_shell/'
|
||||
- name: Update tcp_reverse_shell version
|
||||
uses: jossef/action-set-json-field@v2
|
||||
with:
|
||||
file: '.custom_shields/tcp_reverse_shell.json'
|
||||
field: message
|
||||
value: ${{ steps.tcp_reverse_shell_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||
with:
|
||||
commit_message: "Update reverse shell badge data via Github Action"
|
||||
|
||||
update-xor-params:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
needs: update-tcp-reverse-shell
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -97,26 +121,3 @@ jobs:
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||
with:
|
||||
commit_message: "Update xor params badge data via Github Action"
|
||||
|
||||
update-hash-params:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
needs: update-xor-params
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: dante-signal31/rust-app-version@v1.0.0
|
||||
id: hash_params_ver
|
||||
with:
|
||||
cargo_toml_folder: 'hash_params/'
|
||||
- name: Update hash_params version
|
||||
uses: jossef/action-set-json-field@v2
|
||||
with:
|
||||
file: '.custom_shields/hash_params.json'
|
||||
field: message
|
||||
value: ${{ steps.hash_params_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||
with:
|
||||
commit_message: "Update hash params badge data via Github Action"
|
||||
|
||||
+324
-324
@@ -13,310 +13,6 @@ env:
|
||||
|
||||
jobs:
|
||||
|
||||
windows-reverse-shell:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-reverse-shell-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --features antisand --verbose
|
||||
|
||||
windows-reverse-shell-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --features antistring --verbose
|
||||
|
||||
windows-reverse-shell-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --features antisand,antistring --verbose
|
||||
|
||||
windows-process-migration:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-process-migration-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features xor --verbose
|
||||
|
||||
windows-process-migration-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features antisand --verbose
|
||||
|
||||
windows-process-migration-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features antistring --verbose
|
||||
|
||||
windows-process-migration-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features xor,antisand,antistring --verbose
|
||||
|
||||
windows-process-hollowing:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-process-hollowing-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features xor --verbose
|
||||
|
||||
windows-process-hollowing-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features antisand --verbose
|
||||
|
||||
windows-process-hollowing-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features antistring --verbose
|
||||
|
||||
windows-process-hollowing-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features xor,antisand,antistring --verbose
|
||||
|
||||
windows-xor-params:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build xor shellcode for Windows
|
||||
run: cargo build -p xor_params --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-hash-params:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build xor shellcode for Windows
|
||||
run: cargo build -p hash_params --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@@ -336,25 +32,6 @@ jobs:
|
||||
- name: Build all for Windows
|
||||
run: cargo build --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-all-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build all for Windows
|
||||
run: cargo build --target x86_64-pc-windows-gnu --features xor --verbose
|
||||
|
||||
windows-all-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@@ -393,6 +70,25 @@ jobs:
|
||||
- name: Build all for Windows
|
||||
run: cargo build --target x86_64-pc-windows-gnu --features antistring --verbose
|
||||
|
||||
windows-all-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build all for Windows
|
||||
run: cargo build --target x86_64-pc-windows-gnu --features xor --verbose
|
||||
|
||||
windows-all-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@@ -410,4 +106,308 @@ jobs:
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build all for Windows
|
||||
run: cargo build --target x86_64-pc-windows-gnu --features xor,antisand,antistring --verbose
|
||||
run: cargo build --target x86_64-pc-windows-gnu --features antisand,antistring,xor --verbose
|
||||
|
||||
windows-hash-params:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build xor shellcode for Windows
|
||||
run: cargo build -p hash_params --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-process-hollowing:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-process-hollowing-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features antisand --verbose
|
||||
|
||||
windows-process-hollowing-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features antistring --verbose
|
||||
|
||||
windows-process-hollowing-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features xor --verbose
|
||||
|
||||
windows-process-hollowing-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process hollowing for Windows
|
||||
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features antisand,antistring,xor --verbose
|
||||
|
||||
windows-process-migration:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-process-migration-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features antisand --verbose
|
||||
|
||||
windows-process-migration-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features antistring --verbose
|
||||
|
||||
windows-process-migration-xor:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features xor --verbose
|
||||
|
||||
windows-process-migration-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features antisand,antistring,xor --verbose
|
||||
|
||||
windows-tcp-reverse-shell:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-tcp-reverse-shell-antisand:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --features antisand --verbose
|
||||
|
||||
windows-tcp-reverse-shell-antistring:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --features antistring --verbose
|
||||
|
||||
windows-tcp-reverse-shell-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --features antisand,antistring --verbose
|
||||
|
||||
windows-xor-params:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build xor shellcode for Windows
|
||||
run: cargo build -p xor_params --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# Directories
|
||||
/target/
|
||||
target/
|
||||
.idea/
|
||||
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -123,9 +123,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rand_core"
|
||||
version = "0.6.3"
|
||||
version = "0.6.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
|
||||
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
||||
dependencies = [
|
||||
"getrandom",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user