Airodump-ng

class pyrcrack.airodump.AirodumpNg()

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

usage: airodump-ng [,,...]

Options: --ivs : Save only captured IVs --gpsd : Use GPSd --write : Dump file prefix --beacons : Record all beacons in dump file --update : Display update delay in seconds --showack : Prints ack/cts/rts statistics -h : Hides known stations for --showack -f : Time in ms between hopping channels --berlin : Time before removing the AP/client from the screen when no more packets are received (Default: 120 seconds) -r : Read packets from that file -T : While reading packets from a file, simulate the arrival rate of them as if they were "live". -x : Active Scanning Simulation --manufacturer : Display manufacturer from IEEE OUI list --uptime : Display AP Uptime from Beacon Timestamp --wps : Display WPS information (if any) --output-format : Output format. Possible values: pcap, ivs, csv, gps, kismet, netxml, logcsv --ignore-negative-one : Removes the message that says fixed channel : -1 --write-interval : Output file(s) write interval in seconds --background : Override background detection. -n : Minimum AP packets recv'd before for displaying it --encrypt : Filter APs by cipher suite --netmask : Filter APs by mask --bssid : Filter APs by BSSID --essid : Filter APs by ESSID --essid-regex : Filter APs by ESSID using a regular expression -a : Filter unassociated clients --ht20 : Set channel to HT20 (802.11n) --ht40- : Set channel to HT40- (802.11n) --ht40+ : Set channel to HT40+ (802.11n) --channel : Capture on specific channels --band : Band on which airodump-ng should hop -C : Uses these frequencies in MHz to hop --cswitch : Set channel switching method -s : same as --cswitch --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'.

get_file(self, file_format)

Return csv file, not kismet one.

Arguments:

Text Only
file_format: File extension to retrieve (kismet.csv kismet.xml csv
             log.csv or pcap)

Returns: full filename

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

Return a list of currently detected access points.

Returns: List of AccessPoint instances

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.