|
| 1 | +// This file is @generated by prost-build. |
| 2 | +#[derive(Clone, Copy, PartialEq, ::prost::Message)] |
| 3 | +pub struct Empty {} |
| 4 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 5 | +pub struct Status { |
| 6 | + #[prost(uint32, tag = "1")] |
| 7 | + pub task_id: u32, |
| 8 | + /// unexcept error |
| 9 | + #[prost(int32, tag = "2")] |
| 10 | + pub status: i32, |
| 11 | + /// std err |
| 12 | + #[prost(string, tag = "3")] |
| 13 | + pub error: ::prost::alloc::string::String, |
| 14 | +} |
| 15 | +/// implant call and back data |
| 16 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 17 | +pub struct Spite { |
| 18 | + #[prost(string, tag = "1")] |
| 19 | + pub name: ::prost::alloc::string::String, |
| 20 | + #[prost(uint32, tag = "2")] |
| 21 | + pub task_id: u32, |
| 22 | + #[prost(bool, tag = "3")] |
| 23 | + pub r#async: bool, |
| 24 | + #[prost(uint64, tag = "4")] |
| 25 | + pub timeout: u64, |
| 26 | + #[prost(uint32, tag = "5")] |
| 27 | + pub error: u32, |
| 28 | + #[prost(message, optional, tag = "6")] |
| 29 | + pub status: ::core::option::Option<Status>, |
| 30 | + #[prost( |
| 31 | + oneof = "spite::Body", |
| 32 | + tags = "10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 31, 32, 35, 36, 37, 38, 39, 101, 102, 104, 105, 106, 107, 108, 109, 110, 111, 112, 118, 119, 121, 122, 123, 124, 125, 126, 127, 128, 130, 131, 132, 140" |
| 33 | + )] |
| 34 | + pub body: ::core::option::Option<spite::Body>, |
| 35 | +} |
| 36 | +/// Nested message and enum types in `Spite`. |
| 37 | +pub mod spite { |
| 38 | + #[derive(Clone, PartialEq, ::prost::Oneof)] |
| 39 | + pub enum Body { |
| 40 | + #[prost(message, tag = "10")] |
| 41 | + Empty(super::Empty), |
| 42 | + #[prost(message, tag = "11")] |
| 43 | + Block(super::super::modulepb::Block), |
| 44 | + #[prost(message, tag = "13")] |
| 45 | + Ack(super::super::modulepb::Ack), |
| 46 | + #[prost(message, tag = "14")] |
| 47 | + Task(super::super::modulepb::TaskCtrl), |
| 48 | + #[prost(message, tag = "15")] |
| 49 | + SleepRequest(super::super::modulepb::Timer), |
| 50 | + #[prost(message, tag = "16")] |
| 51 | + Init(super::super::modulepb::Init), |
| 52 | + #[prost(message, tag = "17")] |
| 53 | + LoginRequest(super::super::modulepb::Login), |
| 54 | + #[prost(message, tag = "18")] |
| 55 | + TaskInfo(super::super::modulepb::TaskInfo), |
| 56 | + #[prost(message, tag = "19")] |
| 57 | + TaskList(super::super::modulepb::TaskListResponse), |
| 58 | + #[prost(message, tag = "20")] |
| 59 | + Sysinfo(super::super::modulepb::SysInfo), |
| 60 | + #[prost(message, tag = "21")] |
| 61 | + Register(super::super::modulepb::Register), |
| 62 | + #[prost(message, tag = "22")] |
| 63 | + Ping(super::super::modulepb::Ping), |
| 64 | + #[prost(message, tag = "23")] |
| 65 | + Suicide(super::super::modulepb::Suicide), |
| 66 | + #[prost(message, tag = "24")] |
| 67 | + Request(super::super::modulepb::Request), |
| 68 | + #[prost(message, tag = "25")] |
| 69 | + Response(super::super::modulepb::Response), |
| 70 | + #[prost(message, tag = "26")] |
| 71 | + ExecuteBinary(super::super::modulepb::ExecuteBinary), |
| 72 | + #[prost(message, tag = "27")] |
| 73 | + BinaryResponse(super::super::modulepb::BinaryResponse), |
| 74 | + #[prost(message, tag = "31")] |
| 75 | + LoadModule(super::super::modulepb::LoadModule), |
| 76 | + #[prost(message, tag = "32")] |
| 77 | + Modules(super::super::modulepb::Modules), |
| 78 | + #[prost(message, tag = "35")] |
| 79 | + LoadAddon(super::super::modulepb::LoadAddon), |
| 80 | + #[prost(message, tag = "36")] |
| 81 | + Addons(super::super::modulepb::Addons), |
| 82 | + #[prost(message, tag = "37")] |
| 83 | + ExecuteAddon(super::super::modulepb::ExecuteAddon), |
| 84 | + #[prost(message, tag = "38")] |
| 85 | + WmiRequest(super::super::modulepb::WmiQueryRequest), |
| 86 | + #[prost(message, tag = "39")] |
| 87 | + WmiMethodRequest(super::super::modulepb::WmiMethodRequest), |
| 88 | + #[prost(message, tag = "101")] |
| 89 | + LsResponse(super::super::modulepb::LsResponse), |
| 90 | + #[prost(message, tag = "102")] |
| 91 | + ChownRequest(super::super::modulepb::ChownRequest), |
| 92 | + #[prost(message, tag = "104")] |
| 93 | + ExecRequest(super::super::modulepb::ExecRequest), |
| 94 | + #[prost(message, tag = "105")] |
| 95 | + ExecResponse(super::super::modulepb::ExecResponse), |
| 96 | + #[prost(message, tag = "106")] |
| 97 | + UploadRequest(super::super::modulepb::UploadRequest), |
| 98 | + #[prost(message, tag = "107")] |
| 99 | + DownloadRequest(super::super::modulepb::DownloadRequest), |
| 100 | + #[prost(message, tag = "108")] |
| 101 | + DownloadResponse(super::super::modulepb::DownloadResponse), |
| 102 | + #[prost(message, tag = "109")] |
| 103 | + NetstatResponse(super::super::modulepb::NetstatResponse), |
| 104 | + #[prost(message, tag = "110")] |
| 105 | + PsResponse(super::super::modulepb::PsResponse), |
| 106 | + #[prost(message, tag = "111")] |
| 107 | + BypassRequest(super::super::modulepb::BypassRequest), |
| 108 | + #[prost(message, tag = "112")] |
| 109 | + ExecuteCommand(super::super::modulepb::ExecuteCommand), |
| 110 | + #[prost(message, tag = "118")] |
| 111 | + IfconfigResponse(super::super::modulepb::IfconfigResponse), |
| 112 | + #[prost(message, tag = "119")] |
| 113 | + CurlRequest(super::super::modulepb::CurlRequest), |
| 114 | + #[prost(message, tag = "121")] |
| 115 | + RegistryRequest(super::super::modulepb::Registry), |
| 116 | + #[prost(message, tag = "122")] |
| 117 | + RegistryWriteRequest(super::super::modulepb::RegistryWriteRequest), |
| 118 | + #[prost(message, tag = "123")] |
| 119 | + ScheduleRequest(super::super::modulepb::TaskSchedule), |
| 120 | + #[prost(message, tag = "124")] |
| 121 | + SchedulesResponse(super::super::modulepb::TaskSchedulesResponse), |
| 122 | + #[prost(message, tag = "125")] |
| 123 | + ScheduleResponse(super::super::modulepb::TaskSchedule), |
| 124 | + #[prost(message, tag = "126")] |
| 125 | + ServiceRequest(super::super::modulepb::ServiceConfig), |
| 126 | + #[prost(message, tag = "127")] |
| 127 | + ServicesResponse(super::super::modulepb::ServicesResponse), |
| 128 | + #[prost(message, tag = "128")] |
| 129 | + ServiceResponse(super::super::modulepb::Service), |
| 130 | + #[prost(message, tag = "130")] |
| 131 | + RunasRequest(super::super::modulepb::RunAsRequest), |
| 132 | + #[prost(message, tag = "131")] |
| 133 | + Getsystem(super::super::modulepb::GetSystem), |
| 134 | + #[prost(message, tag = "132")] |
| 135 | + Inject(super::super::modulepb::Inject), |
| 136 | + #[prost(message, tag = "140")] |
| 137 | + PipeRequest(super::super::modulepb::Pipe), |
| 138 | + } |
| 139 | +} |
| 140 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 141 | +pub struct Spites { |
| 142 | + #[prost(message, repeated, tag = "1")] |
| 143 | + pub spites: ::prost::alloc::vec::Vec<Spite>, |
| 144 | +} |
0 commit comments