Struct rshijack::args::Args [−][src]
pub struct Args { pub interface: String, pub src: SocketAddr, pub dst: SocketAddr, pub seq: Option<u32>, pub ack: Option<u32>, pub reset: bool, pub send_null: bool, pub quiet: u8, }
tcp connection hijacker, rust rewrite of shijack
Fields
interface: String
Interface we are going to hijack on
src: SocketAddr
Source of the connection
dst: SocketAddr
Destination of the connection
seq: Option<u32>
Initial seq number, if already known
ack: Option<u32>
Initial ack number, if already known
reset: bool
Reset the connection rather than hijacking it
send_null: bool
Desync original connection by sending 1kb of null bytes
quiet: u8
Disable verbose output
Trait Implementations
impl StructOpt for Args
[src]
impl StructOpt for Args
[src]fn clap<'a, 'b>() -> App<'a, 'b>
[src]
fn from_clap(matches: &ArgMatches<'_>) -> Self
[src]
pub fn from_args() -> Self
[src]
pub fn from_args_safe() -> Result<Self, Error>
[src]
pub fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
pub fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
impl StructOptInternal for Args
[src]
impl StructOptInternal for Args
[src]fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>
[src]
fn is_subcommand() -> bool
[src]
pub fn from_subcommand(
_sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
[src]
_sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
Auto Trait Implementations
impl RefUnwindSafe for Args
impl RefUnwindSafe for Args
impl UnwindSafe for Args
impl UnwindSafe for Args