Skip to content

Commit a7e0c18

Browse files
committed
chore: update proto
1 parent 6577228 commit a7e0c18

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

malefic-proto/src/proto/implantpb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub mod spite {
5050
#[prost(message, tag = "16")]
5151
Init(super::super::modulepb::Init),
5252
#[prost(message, tag = "17")]
53-
LoginRequest(super::super::modulepb::Login),
53+
Switch(super::super::modulepb::Switch),
5454
#[prost(message, tag = "18")]
5555
TaskInfo(super::super::modulepb::TaskInfo),
5656
#[prost(message, tag = "19")]

malefic-proto/src/proto/modulepb.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ pub struct ExecRequest {
230230
pub output: bool,
231231
#[prost(bool, tag = "4")]
232232
pub singleton: bool,
233+
#[prost(bool, tag = "5")]
234+
pub realtime: bool,
233235
#[prost(uint32, tag = "10")]
234236
pub ppid: u32,
235237
}
@@ -243,6 +245,8 @@ pub struct ExecResponse {
243245
pub stderr: ::prost::alloc::vec::Vec<u8>,
244246
#[prost(uint32, tag = "4")]
245247
pub pid: u32,
248+
#[prost(bool, tag = "5")]
249+
pub end: bool,
246250
}
247251
#[derive(Clone, PartialEq, ::prost::Message)]
248252
pub struct BinaryResponse {
@@ -600,7 +604,7 @@ pub struct PipeRequest {
600604
pub pipe: ::core::option::Option<Pipe>,
601605
}
602606
#[derive(Clone, PartialEq, ::prost::Message)]
603-
pub struct Login {
607+
pub struct Switch {
604608
#[prost(string, repeated, tag = "1")]
605609
pub urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
606610
}

0 commit comments

Comments
 (0)