Module Expr Str Import alias identifier ImportFrom alias Import alias alias alias alias alias alias Import alias If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler body Assign NameStore Str If CompareGt Call NameLoad NameLoad Num body Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Print BinOpAdd Str AttributeLoad NameLoad attr Print BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body If CompareGt Call NameLoad NameLoad Num body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Print Str orelse Print Str orelse Print Str
N/A N/A 
* Copyright (C) 2015 Tripwire, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
 N/A xml.etree.ElementTree ET stix.core STIXPackage N/A argparse sys os shutil re socket N/A TARDIS N/A N/A __name__ __main__ N/A N/A parser N/A N/A argparse ArgumentParser description TARDIS Threat Parser N/A N/A N/A parser add_argument -f help STIX File dest file required True N/A N/A N/A parser add_argument -i help Vulnerable IP dest ip required True N/A N/A N/A parser add_argument -d help Vulnerable DNS Hostname dest hostname N/A args N/A N/A parser parse_args N/A file N/A args file N/A sourceIP N/A args ip N/A sourceHost N/A args hostname N/A cve N/A vulnObject N/A N/A N/A N/A N/A os path exists file N/A N/A N/A file  does not exist. N/A N/A N/A sys exit N/A N/A sourceHost None N/A N/A N/A N/A result N/A N/A socket gethostbyaddr sourceIP N/A sourceHost N/A result N/A 0 N/A N/A N/A N/A sourceHost N/A N/A N/A len sourceHost 0 N/A N/A N/A File:  file N/A N/A IP:    sourceIP N/A N/A Host:  sourceHost N/A N/A N/A N/A os path exists Results N/A N/A N/A N/A shutil rmtree Results N/A directory Results N/A N/A N/A N/A N/A os path exists directory N/A N/A N/A N/A os makedirs directory N/A N/A N/A N/A N/A os path exists N/A N/A directory / sourceIP N/A N/A N/A N/A os makedirs N/A N/A directory / sourceIP N/A stix_package N/A N/A STIXPackage from_xml file N/A target N/A stix_package exploit_targets N/A N/A vuln N/A target vulnerabilities N/A N/A N/A CVE:  N/A vuln cve_id N/A N/A DESC: N/A str N/A vuln description N/A vulnObject N/A str N/A vuln description N/A cve N/A vuln cve_id N/A N/A N/A len cve 0 N/A N/A N/A N/A len vulnObject 0 N/A N/A N/A N/A N/A N/A os path exists N/A N/A VulnXML/ N/A vuln cve_id .xml N/A N/A N/A N/A shutil copyfile file N/A N/A VulnXML/ N/A vuln cve_id .xml N/A numResults N/A N/A TARDIS main cve vulnObject sourceIP sourceHost N/A N/A Description missing from Exploit Target N/A N/A CVE Missing from STIX File N/A N/A Unable to resolve hostname, please provide one with -d option