i think this covers all the build stuff, badge stuff, and readme stubs

This commit is contained in:
koins
2022-02-22 22:19:35 -08:00
parent 7af7c6994e
commit 3bb51a2d2f
6 changed files with 70 additions and 1 deletions
@@ -0,0 +1,6 @@
{
"schemaVersion": 1,
"label": "remote_access_trojan",
"message": "1.0.0",
"color": "blue"
}
+14
View File
@@ -10,6 +10,7 @@ env:
CARGO_TERM_COLOR: always
jobs:
linux-reverse-shell:
runs-on: ubuntu-latest
@@ -140,6 +141,19 @@ jobs:
- name: Build xor shellcode for Linux
run: cargo build -p xor_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
+24 -1
View File
@@ -96,4 +96,27 @@ jobs:
value: ${{ steps.xor_params_ver.outputs.app_version }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update xor params badge data via Github Action"
commit_message: "Update xor params badge data via Github Action"
update-remote-access-trojan:
runs-on: ubuntu-latest
needs: update-xor-params
steps:
- uses: actions/checkout@v2
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@v1
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"
+19
View File
@@ -201,6 +201,25 @@ jobs:
- name: Build xor shellcode for Windows
run: cargo build -p xor_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
+2
View File
@@ -19,6 +19,8 @@ RCO tools can be compiled on either Linux or Windows systems to provide its user
[![Custom badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fkmanc%2Fremote_code_oxidation%2Fmaster%2F.custom_shields%2Fxor_params.json)](https://github.com/kmanc/remote_code_oxidation/tree/master/xor_params)
[![Custom badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fkmanc%2Fremote_code_oxidation%2Fmaster%2F.custom_shields%2Fremote_access_trojan.json)](https://github.com/kmanc/remote_code_oxidation/tree/master/remote_access_trojan)
## Setup
Clone the repo
+5
View File
@@ -0,0 +1,5 @@
# RCO: Remote Access Trojan
[![Custom badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fkmanc%2Fremote_code_oxidation%2Fmaster%2F.custom_shields%2Fremote_access_trojan.json)](https://github.com/kmanc/remote_code_oxidation/tree/master/remote_access_trojan)
Probably need to revisit this when it's done, not much point doing it now