def __init__(self, Domain, verbose=False): self.apikey = False self.name = "Google XLSX Search for Emails" self.description = "Uses Google Dorking to search for emails" config = configparser.ConfigParser() try: self.logger = logging.getLogger("SimplyEmail.GoogleXlsxSearch") config.read("Common/SimplyEmail.ini") self.Domain = Domain self.Quanity = int(config["GoogleXlsxSearch"]["StartQuantity"]) self.Limit = int(config["GoogleXlsxSearch"]["QueryLimit"]) self.UserAgent = {"User-Agent": helpers.getua()} self.Counter = int(config["GoogleXlsxSearch"]["QueryStart"]) self.Sleep = int(config["SleepConfig"]["QuerySleep"]) self.Jitter = int(config["SleepConfig"]["QueryJitter"]) self.verbose = verbose self.urlList = [] self.Text = "" except Exception as e: self.logger.critical("GoogleXlsxSearch module failed to load: " + str(e)) print helpers.color( " [*] Major Settings for GoogleXlsxSearch are missing, EXITING!\n", warning=True, )
def test_downloads(): # perfrom Download testing ua = helpers.getua() dl = Download.Download(True) html = dl.requesturl( 'http://google.com', ua, timeout=2, retrytime=3, statuscode=False) dl.GoogleCaptchaDetection(html) f, download = dl.download_file( 'http://www.sample-videos.com/doc/Sample-doc-file-100kb.doc', '.pdf') dl.delete_file(f)
def __init__(self, domain, verbose=False): self.apikey = False self.name = "Searching Flickr" self.description = "Search the Flickr top relvant results for emails" self.domain = domain config = configparser.ConfigParser() self.results = "" self.verbose = verbose try: self.UserAgent = { 'User-Agent': helpers.getua()} config.read('Common/SimplyEmail.ini') self.HostName = str(config['FlickrSearch']['Hostname']) except: print helpers.color(" [*] Major Settings for FlickrSearch are missing, EXITING!\n", warning=True)
def __init__(self, domain, verbose=False): self.apikey = False self.name = "Searching GitHub Code" self.description = "Search GitHub code for emails using a large pool of code searches" self.domain = domain config = configparser.ConfigParser() self.Html = "" self.verbose = verbose try: self.UserAgent = { 'User-Agent': helpers.getua()} config.read('Common/SimplyEmail.ini') self.Depth = int(config['GitHubSearch']['PageDepth']) self.Counter = int(config['GitHubSearch']['QueryStart']) except: print helpers.color(" [*] Major Settings for GitHubSearch are missing, EXITING!\n", warning=True)
def __init__(self, domain, verbose=False): self.apikey = False self.name = "Searching Flickr" self.description = "Search the Flickr top relvant results for emails" self.domain = domain config = configparser.ConfigParser() self.results = "" self.verbose = verbose try: self.UserAgent = {'User-Agent': helpers.getua()} config.read('Common/SimplyEmail.ini') self.HostName = str(config['FlickrSearch']['Hostname']) except: print helpers.color( " [*] Major Settings for FlickrSearch are missing, EXITING!\n", warning=True)
def __init__(self, domain, verbose=False): self.apikey = False self.name = "Searching Whoisology" self.logger = logging.getLogger("SimplyEmail.Whoisology") self.description = "Search the Whoisology database for potential POC emails" self.domain = domain config = configparser.ConfigParser() self.results = "" try: config.read('Common/SimplyEmail.ini') self.UserAgent = { 'User-Agent': helpers.getua()} self.verbose = verbose except Exception as e: self.logger.critical( 'Whoisology module failed to __init__: ' + str(e)) print helpers.color("[*] Major Settings for Search Whoisology are missing, EXITING!\n", warning=True)
def __init__(self, domain, verbose=False): self.apikey = False self.name = "Searching GitHub Code" self.description = "Search GitHub code for emails using a large pool of code searches" self.domain = domain config = configparser.ConfigParser() self.Html = "" self.verbose = verbose try: self.UserAgent = {'User-Agent': helpers.getua()} config.read('Common/SimplyEmail.ini') self.Depth = int(config['GitHubSearch']['PageDepth']) self.Counter = int(config['GitHubSearch']['QueryStart']) except: print helpers.color( " [*] Major Settings for GitHubSearch are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.name = "Google Search for Emails" self.description = "Uses Google to search for emails, parses them out of the" config = configparser.ConfigParser() try: config.read('Common/SimplyEmail.ini') self.Domain = Domain self.Quanity = int(config['GoogleSearch']['StartQuantity']) self.UserAgent = { 'User-Agent': helpers.getua()} self.Limit = int(config['GoogleSearch']['QueryLimit']) self.Counter = int(config['GoogleSearch']['QueryStart']) self.verbose = verbose self.Html = "" except: print helpers.color(" [*] Major Settings for GoogleSearch are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.name = "RedditPost Search for Emails" self.description = "Uses RedditPosts to search for emails, and Parse the raw results ATM" config = configparser.ConfigParser() try: self.logger = logging.getLogger("SimplyEmail.RedditPostSearch") config.read("Common/SimplyEmail.ini") self.Domain = Domain self.UserAgent = {"User-Agent": helpers.getua()} self.Limit = int(config["RedditPostSearch"]["QueryLimit"]) self.Counter = int(config["RedditPostSearch"]["QueryStart"]) self.verbose = verbose self.Html = "" except Exception as e: self.logger.critical("RedditPostSearch module failed to load: " + str(e)) print helpers.color(" [*] Major Settings for RedditPostSearch are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.name = "Exalead PDF Search for Emails" self.description = "Uses Exalead Dorking to search PDFs for emails" config = configparser.ConfigParser() try: config.read('Common/SimplyEmail.ini') self.Domain = Domain self.Quanity = int(config['ExaleadPDFSearch']['StartQuantity']) self.Limit = int(config['ExaleadPDFSearch']['QueryLimit']) self.UserAgent = { 'User-Agent': helpers.getua()} self.Counter = int(config['ExaleadPDFSearch']['QueryStart']) self.verbose = verbose self.urlList = [] self.Text = "" except: print helpers.color(" [*] Major Settings for ExaleadPDFSearch are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.name = "RedditPost Search for Emails" self.description = "Uses RedditPosts to search for emails, and Parse the raw results ATM" config = configparser.ConfigParser() try: self.logger = logging.getLogger("SimplyEmail.RedditPostSearch") config.read('Common/SimplyEmail.ini') self.Domain = Domain self.UserAgent = { 'User-Agent': helpers.getua()} self.Limit = int(config['RedditPostSearch']['QueryLimit']) self.Counter = int(config['RedditPostSearch']['QueryStart']) self.verbose = verbose self.Html = "" except Exception as e: self.logger.critical( 'RedditPostSearch module failed to load: ' + str(e)) print helpers.color(" [*] Major Settings for RedditPostSearch are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.logger = logging.getLogger("SimplyEmail.AskSearch") self.name = "Ask Search for Emails" self.description = "Simple Ask Search for Emails" config = configparser.ConfigParser() try: config.read('Common/SimplyEmail.ini') self.UserAgent = { 'User-Agent': helpers.getua()} self.PageLimit = int(config['AskSearch']['QueryPageLimit']) self.Counter = int(config['AskSearch']['QueryStart']) self.Domain = Domain self.verbose = verbose self.Html = "" except Exception as e: self.logger.critical( 'AskSearch module failed to load: ' + str(e)) print helpers.color("[*] Major Settings for Ask Search are missing, EXITING!\n", warning=True)
def __init__(self, domain, verbose=False): self.apikey = False self.name = "Searching Canary Paste Bin" self.description = "Search Canary for paste potential data dumps, this can take a bit but a great source" self.domain = domain config = configparser.ConfigParser() self.Html = "" try: self.UserAgent = { 'User-Agent': helpers.getua()} self.logger = logging.getLogger("SimplyEmail.AskSearch") config.read('Common/SimplyEmail.ini') self.Depth = int(config['CanaryPasteBin']['PageDepth']) self.Counter = int(config['CanaryPasteBin']['QueryStart']) self.verbose = verbose except Exception as e: self.logger.critical( 'CanaryBinSearch module failed to load: ' + str(e)) print helpers.color("[*] Major Settings for Canary PasteBin Search are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.name = "Yahoo Search for Emails" self.description = "Uses Yahoo to search for emails, parses them out of the Html" config = configparser.ConfigParser() try: config.read('Common/SimplyEmail.ini') self.logger = logging.getLogger("SimplyEmail.YahooSearch") self.Domain = Domain self.Quanity = int(config['YahooSearch']['StartQuantity']) self.UserAgent = { 'User-Agent': helpers.getua()} self.Limit = int(config['YahooSearch']['QueryLimit']) self.Counter = int(config['YahooSearch']['QueryStart']) self.verbose = verbose self.Html = "" except Exception as e: self.logger.critical( 'YahooSearch module failed to load: ' + str(e)) print helpers.color(" [*] Major Settings for YahooSearch are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.name = "Exalead PPTX Search for Emails" self.description = "Uses Exalead Dorking to search PPTX for emails" config = configparser.ConfigParser() try: self.logger = logging.getLogger("SimplyEmail.ExaleadPPTXSearch") config.read('Common/SimplyEmail.ini') self.Domain = Domain self.Quanity = int(config['ExaleadPPTXSearch']['StartQuantity']) self.UserAgent = { 'User-Agent': helpers.getua()} self.Limit = int(config['ExaleadPPTXSearch']['QueryLimit']) self.Counter = int(config['ExaleadPPTXSearch']['QueryStart']) self.verbose = verbose self.urlList = [] self.Text = "" except Exception as e: self.logger.critical("ExaleadPPTXSearch module failed to __init__: " + str(e)) print helpers.color(" [*] Major Settings for Exalead are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.logger = logging.getLogger("SimplyEmail.AskSearch") self.name = "Ask Search for Emails" self.description = "Simple Ask Search for Emails" config = configparser.ConfigParser() try: config.read('Common/SimplyEmail.ini') self.UserAgent = { 'User-Agent': helpers.getua()} self.PageLimit = int(config['AskSearch']['QueryPageLimit']) self.Counter = int(config['AskSearch']['QueryStart']) self.Sleep = int(config['SleepConfig']['QuerySleep']) self.Jitter = int(config['SleepConfig']['QueryJitter']) self.Domain = Domain self.verbose = verbose self.Html = "" except Exception as e: self.logger.critical( 'AskSearch module failed to load: ' + str(e)) print helpers.color("[*] Major Settings for Ask Search are missing, EXITING!\n", warning=True)
def __init__(self, Domain, verbose=False): self.apikey = False self.name = "Yahoo Search for Emails" self.description = "Uses Yahoo to search for emails, parses them out of the Html" config = configparser.ConfigParser() try: config.read('Common/SimplyEmail.ini') self.logger = logging.getLogger("SimplyEmail.YahooSearch") self.Domain = Domain self.Quanity = int(config['YahooSearch']['StartQuantity']) self.UserAgent = { 'User-Agent': helpers.getua()} self.Limit = int(config['YahooSearch']['QueryLimit']) self.Counter = int(config['YahooSearch']['QueryStart']) self.Sleep = int(config['SleepConfig']['QuerySleep']) self.Jitter = int(config['SleepConfig']['QueryJitter']) self.verbose = verbose self.Html = "" except Exception as e: self.logger.critical( 'YahooSearch module failed to load: ' + str(e)) print helpers.color(" [*] Major Settings for YahooSearch are missing, EXITING!\n", warning=True)