(category_name: &str, method: &str, host: &str, port: u16)
| 274 | use crate::finding::ExfilPath; |
| 275 | |
| 276 | fn exfil_path(category_name: &str, method: &str, host: &str, port: u16) -> ExfilPath { |
| 277 | ExfilPath { |
| 278 | binary: "/usr/bin/curl".to_owned(), |
| 279 | endpoint_host: host.to_owned(), |
| 280 | endpoint_port: port, |
| 281 | mechanism: String::new(), |
| 282 | policy_name: "rule".to_owned(), |
| 283 | category: category_name.to_owned(), |
| 284 | method: method.to_owned(), |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | fn finding_with(category_name: &str, paths: Vec<ExfilPath>) -> Finding { |
| 289 | Finding { |
nothing calls this directly
no outgoing calls
no test coverage detected