def pivotDomain(domain): h1 = parseVTDomain(pivotEngine.queryVT(domain, "domain")) h2 = parseOpenDNSWhoIs(pivotEngine.pivotOpenDns(domain, "whois")) h3 = parseOpenDNSRelDoms(pivotEngine.pivotOpenDns(domain, "relatedDomains")) h4 = parseOpenDNSCoOccurance(pivotEngine.pivotOpenDns(domain, "coOccurance")) return h1 + h2 + h3 + h4
def pivotHash(hash): h1 = parseVTFile(pivotEngine.queryVT(hash, "file")) return h1
def pivotIP(ipAddr): h1 = parseVTIP(pivotEngine.queryVT(ipAddr, "ip-address")) h2 = parseOpenDNSARecords(pivotEngine.pivotOpenDns(ipAddr, "grabDomainsOnIP")) h3 = parseOpenDNSARecords(pivotEngine.pivotOpenDns(ipAddr, "malwareOnIP")) return h1 + h2 + h3
def pivotHash(hash): h1 = parseVTFile(pivotEngine.queryVT(hash, "file"), fullScan=True) return h1