(self, domainurl, webretrievedelay, proxy, targettype,
                 reportstringforresult, target, useragent, friendlyname, regex,
                 fullurl, boutoutputrequested, importantproperty, params, headers, method, postdata, verbose)
Class constructor. Sets the instance variables based on input from
        the arguments supplied when Automater is run and what the xml
        config file stores.

        Argument(s):
        domainurl -- string defined in xml in the domainurl XML tag.
        webretrievedelay -- the amount of seconds to wait between site retrieve
        calls. Default delay is 2 seconds.
        proxy -- will set a proxy to use (eg. proxy.example.com:8080).
        targettype -- the targettype as defined. Either ip, md5, or hostname.
        reportstringforresult -- string or list of strings that are entered in
        the entry XML tag within the reportstringforresult XML tag in the
        xml configuration file.
        target -- the target that will be used to gather information on.
        useragent -- the user-agent string that will be utilized when submitting
        information to or requesting information from a website
        friendlyname -- string or list of strings that are entered in
        the entry XML tag within the sitefriendlyname XML tag in the
        xml configuration file.
        regex -- the regexs defined in the entry XML tag within the
        regex XML tag in the xml configuration file.
        fullurl -- string representation of fullurl pulled from the
        xml file in the fullurl XML tag.
        boutoutputrequested -- true or false representation of whether the -b option was used
        when running the program. If true, it slims the output so a bot can be
        used and the output is minimalized.
        importantproperty -- string defined in the the xml config file
        in the importantproperty XML tag.
        params -- string or list provided in the entry XML tags within the params
        XML tag in the xml configuration file.
        headers -- string or list provided in the entry XML tags within the headers
        XML tag in the xml configuration file.
        method -- holds whether this is a GET or POST required site. by default = GET
        postdata -- dict holding data required for posting values to a site. by default = None
        verbose -- boolean representing whether text will be printed to stdout

        Return value(s):
        Nothing is returned from this Method.
Class constructor. Sets the instance variables based on input from
        the arguments supplied when Automater is run and what the xml
        config file stores.
Class constructor . Sets the instance variables based on input from the arguments supplied when Automater is run and what the xml config file stores .
def __init__(self, domainurl, webretrievedelay, proxy, targettype,
                 reportstringforresult, target, useragent, friendlyname, regex,
                 fullurl, boutoutputrequested, importantproperty, params, headers, method, postdata, verbose):
        """
        Class constructor. Sets the instance variables based on input from
        the arguments supplied when Automater is run and what the xml
        config file stores.

        Argument(s):
        domainurl -- string defined in xml in the domainurl XML tag.
        webretrievedelay -- the amount of seconds to wait between site retrieve
        calls. Default delay is 2 seconds.
        proxy -- will set a proxy to use (eg. proxy.example.com:8080).
        targettype -- the targettype as defined. Either ip, md5, or hostname.
        reportstringforresult -- string or list of strings that are entered in
        the entry XML tag within the reportstringforresult XML tag in the
        xml configuration file.
        target -- the target that will be used to gather information on.
        useragent -- the user-agent string that will be utilized when submitting
        information to or requesting information from a website
        friendlyname -- string or list of strings that are entered in
        the entry XML tag within the sitefriendlyname XML tag in the
        xml configuration file.
        regex -- the regexs defined in the entry XML tag within the
        regex XML tag in the xml configuration file.
        fullurl -- string representation of fullurl pulled from the
        xml file in the fullurl XML tag.
        boutoutputrequested -- true or false representation of whether the -b option was used
        when running the program. If true, it slims the output so a bot can be
        used and the output is minimalized.
        importantproperty -- string defined in the the xml config file
        in the importantproperty XML tag.
        params -- string or list provided in the entry XML tags within the params
        XML tag in the xml configuration file.
        headers -- string or list provided in the entry XML tags within the headers
        XML tag in the xml configuration file.
        method -- holds whether this is a GET or POST required site. by default = GET
        postdata -- dict holding data required for posting values to a site. by default = None
        verbose -- boolean representing whether text will be printed to stdout

        Return value(s):
        Nothing is returned from this Method.
        """
        self._sourceurl = domainurl
        self._webretrievedelay = webretrievedelay
        self._proxy = proxy
        self._targetType = targettype
        self._reportstringforresult = reportstringforresult
        self._errormessage = "[-] Cannot scrape"
        self._usermessage = "[*] Checking"
        self._target = target
        self._userAgent = useragent
        self._friendlyName = friendlyname
        self._regex = ""
        self.RegEx = regex  # call the helper method to clean %TARGET% from regex string
        self._fullURL = ""
        self.FullURL = fullurl  # call the helper method to clean %TARGET% from fullurl string
        self._botOutputRequested = boutoutputrequested
        self._importantProperty = importantproperty
        self._params = None
        if params is not None:
            self.Params = params  # call the helper method to clean %TARGET% from params string
        self._headers = None
        if headers is not None:
            self.Headers = headers  # call the helper method to clean %TARGET% from params string
        self._postdata = None
        if postdata:
            self.PostData = postdata
        self._method = None
        self.Method = method  # call the helper method to ensure result is either GET or POST
        self._results = []
        self._verbose = verbose
def __init__ ( self , domainurl , webretrievedelay , proxy , targettype , reportstringforresult , target , useragent , friendlyname , regex , fullurl , boutoutputrequested , importantproperty , params , headers , method , postdata , verbose ) : self . _sourceurl = domainurl self . _webretrievedelay = webretrievedelay self . _proxy = proxy self . _targetType = targettype self . _reportstringforresult = reportstringforresult self . _errormessage = "[-] Cannot scrape" self . _usermessage = "[*] Checking" self . _target = target self . _userAgent = useragent self . _friendlyName = friendlyname self . _regex = "" self . RegEx = regex # call the helper method to clean %TARGET% from regex string self . _fullURL = "" self . FullURL = fullurl # call the helper method to clean %TARGET% from fullurl string self . _botOutputRequested = boutoutputrequested self . _importantProperty = importantproperty self . _params = None if params is not None : self . Params = params # call the helper method to clean %TARGET% from params string self . _headers = None if headers is not None : self . Headers = headers # call the helper method to clean %TARGET% from params string self . _postdata = None if postdata : self . PostData = postdata self . _method = None self . Method = method # call the helper method to ensure result is either GET or POST self . _results = [ ] self . _verbose = verbose