new_contents: #!/usr/bin/env python
  from scapy.all import *
  
  def PacketHandler(pkt):
    if pkt.haslayer(Dot11):
      if pkt.type == 0 and pkt.subtype == 8 :
        print "MAC: %s con SSID: %s " %(pkt.addr2, pkt.info) 
        
  sniff(iface = "mon0", prn = PacketHandler)
  
subject: Create sniff_AP.py