mirror of
https://github.com/kmanc/remote_code_oxidation
synced 2026-06-08 15:21:46 +00:00
main merge
This commit is contained in:
@@ -12,6 +12,7 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
|
||||
linux-reverse-shell:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@@ -220,6 +221,19 @@ jobs:
|
||||
- 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
|
||||
|
||||
@@ -120,3 +120,25 @@ jobs:
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
||||
with:
|
||||
commit_message: "Update hash params badge data via Github Action"
|
||||
|
||||
update-remote-access-trojan:
|
||||
runs-on: ubuntu-latest
|
||||
needs: update-hash-params
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: dante-signal31/rust-app-version@v1.0.0
|
||||
id: remote_access_trojan_ver
|
||||
with:
|
||||
cargo_toml_folder: 'remote_access_trojan/'
|
||||
- name: Update remote_access_trojan version
|
||||
uses: jossef/action-set-json-field@v2
|
||||
with:
|
||||
file: '.custom_shields/remote_access_trojan.json'
|
||||
field: message
|
||||
value: ${{ steps.remote_access_trojan_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "Update remote access trojan badge data via Github Action"
|
||||
|
||||
@@ -295,7 +295,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build xor shellcode for Windows
|
||||
- name: Build xor params for Windows
|
||||
run: cargo build -p xor_params --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-hash-params:
|
||||
@@ -314,9 +314,28 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build xor shellcode for Windows
|
||||
- name: Build hash params for Windows
|
||||
run: cargo build -p hash_params --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-remote-access-trojan:
|
||||
|
||||
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@v2
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build remote access trojan for Windows
|
||||
run: cargo build -p remote_access_trojan --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
windows-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user