Struct libathena::AthenaClient [−][src]
pub struct AthenaClient { /* fields omitted */ }
Expand description
AthenaClient contains methods that are useful to both attackers and victims Methods applicable to the attacker role are prefixed with “attacker” Methods applicable to the victim role are prefixed with “victim”
Implementations
Attacker: Get list of all victims currently available on the C2 server
Attacker: Set payload that needs to be executed on a victim machine A unique payload ID is returned. This ID is required to access the payload’s result
pub async fn attack_read_response(
&self,
payload: &PayloadID
) -> AthenaResult<PayloadResponse>
[src]
pub async fn attack_read_response(
&self,
payload: &PayloadID
) -> AthenaResult<PayloadResponse>
[src]Attacker: Read result that was submitted by a victim machine. Results are mapped against the payload ID.
Attacker: Delete all victims from C2 server
Attacker: Get configured password of the C2 server
Victim: Register victim on the C2 server
Victim: Get all payloads that are yet to be executed on the victim machine. Yet to be executed = No response submitted yet.
Victim: Submit payload’s result
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AthenaClient
impl Send for AthenaClient
impl Sync for AthenaClient
impl Unpin for AthenaClient
impl !UnwindSafe for AthenaClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more