发布时间:2014-10-23 13:50:57
#!/bin/env python#-*- coding:utf8 -*-from Crypto.Cipher import AESimport base64def aes_encode(text): BS = AES.block_size pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS) unpad = lambda s : s[0:-ord(s[-1])] &nbs.........【阅读全文】
发布时间:2013-09-04 17:54:23
#!/usr/bin/env python#-*- coding:utf-8 -*-import socket, random, sys, threadingfrom scapy.all import *if len(sys.argv) != 3: print "Usage: %s <Target IP> <Port>" % sys.argv[0] sys.exit(1)target = sys.argv[1]port = int(sys.argv[2])total = 0#conf.iface=.........【阅读全文】
发布时间:2013-09-04 17:50:56
#!/bin/env python#-*- coding:utf-8 -*-import socketimport osimport sysdef daemon(): try: pid = os.fork() if pid > 0: sys.exit(0) except OSError, e: print 'fork.........【阅读全文】
发布时间:2013-07-25 12:36:39
#!/bin/env python#-*- coding:utf-8 -*-#****************************************************************## ScriptName: api.py# Author:berlin# Create Date:2013-07-25# Modify Author:# Modify Date:# Function:用webpy实现对外API接口#****************************************************************.........【阅读全文】