pub struct ReverseShell {
pub lhost: String,
pub lport: u16,
pub format: String,
}Fields§
§lhost: String§lport: u16§format: StringImplementations§
Source§impl ReverseShell
impl ReverseShell
pub fn build_info() -> ModuleInfo
Trait Implementations§
Source§impl Clone for ReverseShell
impl Clone for ReverseShell
Source§fn clone(&self) -> ReverseShell
fn clone(&self) -> ReverseShell
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 ReverseShell
impl Debug for ReverseShell
Source§impl Default for ReverseShell
impl Default for ReverseShell
Source§fn default() -> ReverseShell
fn default() -> ReverseShell
Returns the “default value” for a type. Read more
Source§impl Module for ReverseShell
impl Module for ReverseShell
fn options_json(&self) -> Value
fn set_option(&mut self, name: &str, value: &str) -> Result<(), ModuleError>
fn validate(&self) -> Result<(), ModuleError>
Source§fn dry_run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dry_run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Preview the module’s output without side effects (no network I/O).
Used by the executor to enforce DenyPayload rules pre-execution.
fn run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for ReverseShell
impl RefUnwindSafe for ReverseShell
impl Send for ReverseShell
impl Sync for ReverseShell
impl Unpin for ReverseShell
impl UnsafeUnpin for ReverseShell
impl UnwindSafe for ReverseShell
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