Airdecap-ng

class pyrcrack.airdecap.AirdecapNg()

Airdecap-ng 1.6 - (C) 2006-2020 Thomas d'Otreppe

https://www.aircrack-ng.org

Usage: airdecap-ng [options]

Options:

Text Only
-l         : don't remove the 802.11 header
-b <bssid> : access point MAC address filter
-e <essid> : target network SSID
-o <fname> : output file for decrypted packets (default <src>-dec)
-w <key>   : target network WEP key in hex
-c <fname> : output file for corrupted WEP packets (default <src>-bad)
-p <pass>  : target network WPA passphrase
-k <pmk>   : WPA Pairwise Master Key in hex
--help     : Displays this usage screen
command

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.

helpstr

Extract help string for current command.

async readlines(self)

Return lines as per proc.communicate, non-empty ones.

requires_root

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

requires_tempdir

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

requires_tempfile

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

resolve(val)

Force string conversion.

  • In case an Interface object comes on args
  • In case a contextvar comes, retrieve its value
results
async run(self, *args, **kwargs)

Run asynchronously.

running
sync

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

usage

Extract usage from a specified command.

This is useful if usage not defined in subclass, but it is recommended to define them there.