pub struct OSDetector { /* private fields */ }Expand description
OS detector for network scanning
Implementations§
Source§impl OSDetector
impl OSDetector
Sourcepub fn detect_from_ttl(&self, ttl: u8) -> OSFingerprint
pub fn detect_from_ttl(&self, ttl: u8) -> OSFingerprint
Detect OS from TTL value
Sourcepub fn detect_from_tcp(
&self,
ttl: u8,
window_size: u16,
mss: Option<u16>,
) -> OSFingerprint
pub fn detect_from_tcp( &self, ttl: u8, window_size: u16, mss: Option<u16>, ) -> OSFingerprint
Detect OS from TCP parameters
Detect OS from service banner
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OSDetector
impl RefUnwindSafe for OSDetector
impl Send for OSDetector
impl Sync for OSDetector
impl Unpin for OSDetector
impl UnwindSafe for OSDetector
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