mirror of
https://github.com/entropykit/entropia
synced 2026-06-24 06:05:04 +00:00
17 lines
580 B
Plaintext
17 lines
580 B
Plaintext
# inject_payload.cna
|
|
# Auto-generated by entc from example/bof_cna_test.etpy.
|
|
# Do not edit by hand; regenerate by rebuilding the .obj.
|
|
|
|
alias inject_payload {
|
|
local('$bid $pid $path');
|
|
if (size(@_) != 3) { berror($1, "usage: inject_payload <pid> <path>"); return; }
|
|
($bid, $pid, $path) = @_;
|
|
$args = bof_pack($bid, "iz", $pid, $path);
|
|
bof_inline_execute($bid, script_resource("bof_cna_test.x64.o"), "inject_payload", $args);
|
|
}
|
|
|
|
beacon_command_register(
|
|
"inject_payload",
|
|
"Auto-generated BOF command from example/bof_cna_test.etpy",
|
|
"Usage: inject_payload <pid> <path>");
|