airbase¶
pyrcrack.airbase.AirbaseNg
()Airbase-ng 1.6 - (C) 2008-2020 Thomas d'Otreppe Original work: Martin Beck https://www.aircrack-ng.org
Usage: airbase-ng
Options:
-a <bssid> : set Access Point MAC address
-i <iface> : capture packets from this interface
-w <key> : use this WEP key to en-/decrypt packets
-h <MAC> : source mac for MITM mode
-f <disallow> : disallow specified client MACs (default: allow)
-W 0|1 : [don't] set WEP flag in beacons 0|1 (default: auto)
-q : quiet (do not print statistics)
-v : verbose (print more messages)
-A : Ad-Hoc Mode (allows other clients to peer)
-Y <proc> : (in|out|both) external packet processing
-c <channel> : sets the channel the AP is running on
-X : hidden ESSID
-s : force shared key authentication (default: auto)
-S : set shared key challenge length (default: 128)
-L : Caffe-Latte WEP attack
-N : cfrag WEP attack (recommended)
-x <nbpps> : number of packets per second (default: 100)
-y : disables responses to broadcast probes
-0 : set all WPA,WEP,open tags.
-z <type> : sets WPA1 tags.
-Z <type> : same as -z, but for WPA2
-V <type> : fake EAPOL 1=MD5 2=SHA1 3=auto
-F <prefix> : write all sent and received frames into pcap file
-P : respond to all probes, even when specifying ESSIDs
-I <interval> : sets the beacon interval value in ms
-C <seconds> : enables beaconing of probed ESSID values
-n <hex> : User specified ANonce when doing the 4-way handshake
--bssid <MAC> : BSSID to filter/use
--bssids <file> : read a list of BSSIDs out of that file
--client <MAC> : MAC of client to filter
--clients <file> : read a list of MACs out of that file
--essid <ESSID> : specify a single ESSID (default: default)
--essids <file> : read a list of ESSIDs out of that file
--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.
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
run
(self, *args, **kwargs)Run asynchronously.
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.