Python Hidden SSID Scraper

Another cool python script here from TJ O’Conner’s work – this comes in handy 🙂 #!/usr/bin/python # -*- coding: utf-8 -*- import sys from scapy.all import * interface = ‘mon0’ hiddenNets = [] unhiddenNets = [] def sniffDot11(p): if p.haslayer(Dot11ProbeResp): addr2 = p.getlayer(Dot11).addr2 if (addr2 Read More …

Python Port Scanner

Looking into some python recently and going through many code books, gonna start keeping up with useful bits here! #!/usr/bin/python import optparse from socket import * from threading import * screenLock = Semaphore(value=1) def connScan(targetHost, targetPort): try: connSkt = socket(AF_INET, SOCK_STREAM) connSkt.connect((targetHost, targetPort)) connSkt.send(‘grab\r\n’) results Read More …