Aireplay-ng

class pyrcrack.aireplay.AireplayNg()

Aireplay-ng 1.6 - (C) 2006-2020 Thomas d'Otreppe https://www.aircrack-ng.org

Usage: aireplay-ng

Options:

Text Only
-b bssid  : MAC address, Access Point
-d dmac   : MAC address, Destination
-s smac   : MAC address, Source
-m len    : minimum packet length
-n len    : maximum packet length
-u type   : frame control, type    field
-v subt   : frame control, subtype field
-t tods   : frame control, To      DS bit
-f fromds : frame control, From    DS bit
-w iswep  : frame control, WEP     bit
-D        : disable AP detection
-x nbpps  : number of packets per second
-p fctrl  : set frame control word (hex)
-a bssid  : set Access Point MAC address
-c dmac   : set Destination  MAC address
-h smac   : set Source       MAC address
-g value  : change ring buffer size (default: 8)
-F        : choose first matching packet
-e essid  : set target AP SSID
-o npckts : number of packets per burst (0=auto, default: 1)
-q sec    : seconds between keep-alives
-Q        : send reassociation requests
-y prga   : keystream for shared key auth
-T n      : exit after retry fake auth request n time
-j        : inject FromDS packets
-k IP     : set destination IP in fragments
-l IP     : set source IP in fragments
-B        : activates the bitrate test
-i iface  : capture packets from this interface
-r file   : extract packets from this pcap file
-R                    : disable /dev/rtc usage
--ignore-negative-one  : if the interface's channel can't be determined
--deauth-rc <rc>      : Deauthentication reason code [0-254]
--deauth <count>    : deauthenticate 1 or all stations (-0)
--fakeauth <delay>  : fake authentication with AP (-1)
--interactive       : interactive frame selection (-2)
--arpreplay         : standard ARP-request replay (-3)
--chopchop          : decrypt/chopchop WEP packet (-4)
--fragment          : generates valid keystream   (-5)
--caffe-latte       : query a client for new IVs  (-6)
--cfrag             : fragments against a client  (-7)
--migmode           : attacks WPA migration mode  (-8)
--test              : tests injection and quality (-9)
--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'.

async get_results(self)

Get results list.

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
async result_updater(self)

Set result on local object.

results
async run(self, *args, **kwargs)

Run async, with prefix stablished as tempdir.

running
usage

Extract usage from a specified command.

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