Logo Search packages:      
Sourcecode: scapy version File versions  Download package

scapy::WiFi_am Class Reference

Inheritance diagram for scapy::WiFi_am:

List of all members.


Detailed Description

Before using this, initialize "iffrom" and "ifto" interfaces:
iwconfig iffrom mode monitor
iwpriv orig_ifto hostapd 1
ifconfig ifto up
note: if ifto=wlan0ap then orig_ifto=wlan0
note: ifto and iffrom must be set on the same channel
ex:
ifconfig eth1 up
iwconfig eth1 mode monitor
iwconfig eth1 channel 11
iwpriv wlan0 hostapd 1
ifconfig wlan0ap up
iwconfig wlan0 channel 11
iwconfig wlan0 essid dontexist
iwconfig wlan0 mode managed

Definition at line 9134 of file scapy.py.


Public Member Functions

def __call__
def __getattr__
def __init__
def __setattr__
def is_request
def make_reply
def parse_all_options
def parse_options
def parse_options
def print_reply
def print_reply
def reply
def run
def send_reply
def sniff

Public Attributes

 defoptsend
 defoptsniff
 iffrom
 ifto
 mode
 optam0
 optam1
 optam2
 optsend
 optsniff

Static Public Attributes

 filter = None
string function_name = "airpwn"
tuple send_function = staticmethod(send)
dictionary send_options = { "verbose":0 }
list send_options_list = ["iface", "inter", "loop", "verbose"]
dictionary sniff_options = { "store":0 }
list sniff_options_list = [ "store", "iface", "count", "promisc", "filter", "type", "prn" ]

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index