pub struct ExploitStep {Show 15 fields
pub module_type: String,
pub module_name: String,
pub cve: Option<String>,
pub vulnerability: String,
pub rank: String,
pub asset_id: String,
pub finding_id: String,
pub host: String,
pub service_port: Option<u16>,
pub service_protocol: Option<String>,
pub inferred_options: BTreeMap<String, String>,
pub missing_options: Vec<String>,
pub payload_compatibility: String,
pub confidence: String,
pub default_selected: bool,
}Expand description
One planned exploitation step derived from a database finding.
Fields§
§module_type: String§module_name: String§cve: Option<String>CVE this module maps to, if the finding carried one.
vulnerability: StringHuman-readable vulnerability (finding title).
rank: StringFramework rank for the module (excellent/great/good/…).
asset_id: String§finding_id: String§host: StringHost (IP or name) the module will be aimed at.
service_port: Option<u16>§service_protocol: Option<String>§inferred_options: BTreeMap<String, String>Options inferred automatically from database records.
missing_options: Vec<String>Options the module requires that we could not infer.
payload_compatibility: StringShort payload compatibility hint.
confidence: Stringhigh / medium / low — how confident the mapping is.
default_selected: boolWhether the checklist defaults this module to selected.
Implementations§
Source§impl ExploitStep
impl ExploitStep
Sourcepub fn resolved_options(&self) -> BTreeMap<String, String>
pub fn resolved_options(&self) -> BTreeMap<String, String>
Fully resolved options: inferred plus any explicit overrides.
Trait Implementations§
Source§impl Clone for ExploitStep
impl Clone for ExploitStep
Source§impl Debug for ExploitStep
impl Debug for ExploitStep
Source§impl<'de> Deserialize<'de> for ExploitStep
impl<'de> Deserialize<'de> for ExploitStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExploitStep
impl RefUnwindSafe for ExploitStep
impl Send for ExploitStep
impl Sync for ExploitStep
impl Unpin for ExploitStep
impl UnsafeUnpin for ExploitStep
impl UnwindSafe for ExploitStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more