| 21 | |
| 22 | #[derive(Debug, Deserialize)] |
| 23 | struct BinaryCapabilityDef { |
| 24 | binary: String, |
| 25 | #[serde(default)] |
| 26 | description: String, |
| 27 | #[serde(default)] |
| 28 | protocols: Vec<BinaryProtocolDef>, |
| 29 | #[serde(default)] |
| 30 | spawns: Vec<String>, |
| 31 | #[serde(default)] |
| 32 | can_exfiltrate: bool, |
| 33 | #[serde(default)] |
| 34 | exfil_mechanism: String, |
| 35 | #[serde(default)] |
| 36 | can_construct_http: bool, |
| 37 | } |
| 38 | |
| 39 | #[derive(Debug, Deserialize)] |
| 40 | struct BinaryProtocolDef { |
nothing calls this directly
no outgoing calls
no test coverage detected