pub struct meterpreter {
pub sessionid: String,
pub client: Client,
}
Fields§
§sessionid: String
§client: Client
Implementations§
Source§impl meterpreter
impl meterpreter
pub fn new(client: Client, sessionidstr: &str) -> Self
pub async fn write<T: DOwned>(&self, datastr: &str) -> Result<T, E>
pub async fn read<T: DOwned>(&self) -> Result<T, E>
pub async fn run_single<T: DOwned>(&self, commandstr: &str) -> Result<T, E>
pub async fn script<T: DOwned>(&self, scriptnamestr: &str) -> Result<T, E>
pub async fn detach_session<T: DOwned>(&self) -> Result<T, E>
pub async fn kill_session<T: DOwned>(&self) -> Result<T, E>
pub async fn tabs<T: DOwned>(&self, inputlinestr: &str) -> Result<T, E>
pub async fn compactible_modules<T: DOwned>(&self) -> Result<T, E>
Auto Trait Implementations§
impl Freeze for meterpreter
impl RefUnwindSafe for meterpreter
impl Send for meterpreter
impl Sync for meterpreter
impl Unpin for meterpreter
impl UnwindSafe for meterpreter
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