摘要:
#!/usr/bin/pythonimport optparsefrom socket import *from threading import *screenLock = Semaphore(value=1)def connScan(host,port): try: s = socket(AF_INET,SOCK_STREAM) s.connect((host,port)) screenLock.acquire() print '[+] '+str(port)+' open' except: screenLo... 阅读全文
摘要:
#!/usr/bin/pythonimport zipfileimport optparsefrom threading import Threaddef extractFile(zFile,password): try: zFile.extractall(pwd=password) print '[+] Found password '+password except: passdef main(): parser = optparse.OptionParser("usage %prog -f <zipfile> -d <dicti... 阅读全文