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§fn clone(&self) -> ExploitStep
fn clone(&self) -> ExploitStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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