def __init__(self, keyword): self.keyword = keyword self.results = "" self.tresult = "" self.server = "www.google.com" self.u_agent = "(Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6" cc = color.colors() self.t = cc.reset() self.r = cc.red() self.y = cc.yellow()
def __init__(self, keyword): '''pgp server search''' self.keyword = keyword self.results = "" self.tresult = "" self.server = "pgp.mit.edu" self.host = "pgp.mit.edu" self.u_agent = "(Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6" cc = color.colors() self.t = cc.reset() self.r = cc.red() self.y = cc.yellow()
def __init__(self, argv): ####### vars ####### self.n = info.__name__ self.i = info.__info__ self.v = info.__version__ self.c = info.__codename__ self.a = info.__author__ self.g = info.__giturl__ self.s = info.__site__ cc = color.colors() self.red = cc.red() self.green = cc.green() self.yellow = cc.yellow() self.white = cc.white() self.blue = cc.blue() self.cyan = cc.cyan() self.end = cc.reset() self.und = cc.ind() self.nwhite = cc.nwhite() self.argv = argv self.allemail = [] self.new = [] self.strf = "%s" % str((strftime('%H:%M:%S'))) self.sock = []