随笔分类 - python
摘要:#!/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...
阅读全文
摘要:#!/usr/bin/python"""<-- The scanner to scan the admin/login path by co1d7urt -->"""import sys,httplibfrom optparse import OptionParserusageString = "Usage: %prog [options] hostname"parser = OptionParser(usage=usageString)(opts,args) =...
阅读全文
浙公网安备 33010602011771号