mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-14 23:04:30 -07:00
feat!: v1.0.0
Implementing a Plug-in System with Extism. Serialize the Plugin struct with Cap'n Proto for backward compatibility. Refactor the project code.
This commit is contained in:
40
capnp/plugin.capnp
Normal file
40
capnp/plugin.capnp
Normal file
@@ -0,0 +1,40 @@
|
||||
@0x96d5aac4519892f3;
|
||||
|
||||
struct Plugin {
|
||||
version @0 : Text;
|
||||
info @1 :PluginInfo;
|
||||
replace @2 :PluginReplace;
|
||||
bins @3 :PluginBins;
|
||||
plugins @4 :PluginPlugins;
|
||||
|
||||
struct PluginInfo{
|
||||
pluginName @0 :Text;
|
||||
author @1 :Text;
|
||||
version @2 :Text;
|
||||
desc @3 :Text;
|
||||
}
|
||||
|
||||
struct PluginReplace {
|
||||
srcPrefix @0 :Data;
|
||||
sizeHolder @1 :Data;
|
||||
maxLen @2 :UInt64;
|
||||
}
|
||||
|
||||
struct PluginBins {
|
||||
windows @0 :Bins;
|
||||
linux @1 :Bins;
|
||||
darwin @2 :Bins;
|
||||
|
||||
struct Bins {
|
||||
executable @0 :Data;
|
||||
dynamicLibrary @1 :Data;
|
||||
}
|
||||
}
|
||||
|
||||
struct PluginPlugins {
|
||||
encryptShellcode @0 :Data;
|
||||
formatEncryptedShellcode @1 :Data;
|
||||
formatUrlRemote @2 :Data;
|
||||
uploadFinalShellcodeRemote @3 :Data;
|
||||
}
|
||||
}
|
||||
1890
capnp/plugin_capnp.rs
Normal file
1890
capnp/plugin_capnp.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user