You can download the ktl_lookup utility from ktl_lookup.py.
You can work with the ktl_lookup utility using its default parameters or change the default parameters if necessary.
To change the default parameters in the ktl_lookup utility:
KTL_HOST
—If you have to specify a different Kaspersky Threat Intelligence Portal host.By default, KTL_HOST = 'tip.kaspersky.com'
.
PROXY
—If you have to specify a proxy server.The format is as follows: (http|https)://<user name>:<password>@<host>:<port>
VERBOSE
—If you want to enable the verbose option, specify VERBOSE = True
. This option allows you to display detailed information.By default, VERBOSE = False
.
PEM_FILE
—If you have to specify a different name for your certificate in PEM format.By default, PEM_FILE = 'ktl_lookup.pem'
.
65001
(UTF-8):chcp 65001
PYTHONIOENCODING
is set to UTF-8:Select Start → Control Panel → System → Advanced system settings → Environment Variables → System variables.