diff --git a/analyzers/Autofocus/analyzer.py b/analyzers/Autofocus/analyzer.py index 41cfb589b..388f389bf 100755 --- a/analyzers/Autofocus/analyzer.py +++ b/analyzers/Autofocus/analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from autofocus import AutoFocusAPI, AFSample, AFServerError, AFClientError, AFSampleAbsent from cortexutils.analyzer import Analyzer diff --git a/analyzers/BackscatterIO/backscatter-io.py b/analyzers/BackscatterIO/backscatter-io.py index a57dbd6cc..49f61ba06 100755 --- a/analyzers/BackscatterIO/backscatter-io.py +++ b/analyzers/BackscatterIO/backscatter-io.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- from backscatter import Backscatter from collections import defaultdict, OrderedDict diff --git a/analyzers/C1fApp/cifquery.py b/analyzers/C1fApp/cifquery.py index 76a176974..f324d9e26 100755 --- a/analyzers/C1fApp/cifquery.py +++ b/analyzers/C1fApp/cifquery.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import json import requests diff --git a/analyzers/CIRCLPassiveDNS/circl_passivedns.py b/analyzers/CIRCLPassiveDNS/circl_passivedns.py index a0520ee98..16b934b7a 100755 --- a/analyzers/CIRCLPassiveDNS/circl_passivedns.py +++ b/analyzers/CIRCLPassiveDNS/circl_passivedns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import pypdns from cortexutils.analyzer import Analyzer diff --git a/analyzers/CIRCLPassiveSSL/circl_passivessl.py b/analyzers/CIRCLPassiveSSL/circl_passivessl.py index 418ada7e0..de7f78809 100755 --- a/analyzers/CIRCLPassiveSSL/circl_passivessl.py +++ b/analyzers/CIRCLPassiveSSL/circl_passivessl.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import pypssl from cortexutils.analyzer import Analyzer diff --git a/analyzers/Crtsh/crtshquery.py b/analyzers/Crtsh/crtshquery.py index 6667b753b..b0255fdbd 100755 --- a/analyzers/Crtsh/crtshquery.py +++ b/analyzers/Crtsh/crtshquery.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests diff --git a/analyzers/CuckooSandbox/cuckoosandbox_analyzer.py b/analyzers/CuckooSandbox/cuckoosandbox_analyzer.py index 074d97a5d..2d995ab14 100644 --- a/analyzers/CuckooSandbox/cuckoosandbox_analyzer.py +++ b/analyzers/CuckooSandbox/cuckoosandbox_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.analyzer import Analyzer diff --git a/analyzers/CyberCrime-Tracker/cct.py b/analyzers/CyberCrime-Tracker/cct.py index 8f50d365b..34b722c7e 100755 --- a/analyzers/CyberCrime-Tracker/cct.py +++ b/analyzers/CyberCrime-Tracker/cct.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- from cortexutils.analyzer import Analyzer from cybercrimetracker.cybercrimeTrackerAPI import cybercrimeTrackerAPI diff --git a/analyzers/Cyberprotect/CyberprotectAnalyzer.py b/analyzers/Cyberprotect/CyberprotectAnalyzer.py index 662060117..8e819114b 100755 --- a/analyzers/Cyberprotect/CyberprotectAnalyzer.py +++ b/analyzers/Cyberprotect/CyberprotectAnalyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests diff --git a/analyzers/DNSDB/dnsdb.py b/analyzers/DNSDB/dnsdb.py index efb640c7c..b3cf742a0 100755 --- a/analyzers/DNSDB/dnsdb.py +++ b/analyzers/DNSDB/dnsdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import datetime from urllib2 import HTTPError diff --git a/analyzers/DNSSinkhole/dnssinkhole.py b/analyzers/DNSSinkhole/dnssinkhole.py index c88c96f78..052161aba 100644 --- a/analyzers/DNSSinkhole/dnssinkhole.py +++ b/analyzers/DNSSinkhole/dnssinkhole.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import dns.resolver from cortexutils.analyzer import Analyzer diff --git a/analyzers/DomainTools/domaintools_analyzer.py b/analyzers/DomainTools/domaintools_analyzer.py index dd2362d5d..291156122 100755 --- a/analyzers/DomainTools/domaintools_analyzer.py +++ b/analyzers/DomainTools/domaintools_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from domaintools.exceptions import NotFoundException diff --git a/analyzers/EmergingThreats/emergingthreats_analyzer.py b/analyzers/EmergingThreats/emergingthreats_analyzer.py index ee15a98b8..3ac0a76b1 100755 --- a/analyzers/EmergingThreats/emergingthreats_analyzer.py +++ b/analyzers/EmergingThreats/emergingthreats_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.analyzer import Analyzer diff --git a/analyzers/FireEyeiSight/fireeyeisight_lookup.py b/analyzers/FireEyeiSight/fireeyeisight_lookup.py index 2df3a3598..e537f57a4 100755 --- a/analyzers/FireEyeiSight/fireeyeisight_lookup.py +++ b/analyzers/FireEyeiSight/fireeyeisight_lookup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests import hashlib diff --git a/analyzers/FireHOLBlocklists/firehol_blocklists.py b/analyzers/FireHOLBlocklists/firehol_blocklists.py index 5eb80a98e..46509f8db 100755 --- a/analyzers/FireHOLBlocklists/firehol_blocklists.py +++ b/analyzers/FireHOLBlocklists/firehol_blocklists.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import ipaddress import os diff --git a/analyzers/Fortiguard/urlcategory.py b/analyzers/Fortiguard/urlcategory.py index c58542cb1..28148b0ce 100755 --- a/analyzers/Fortiguard/urlcategory.py +++ b/analyzers/Fortiguard/urlcategory.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 diff --git a/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py b/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py index 1dace4eaa..823bc2e2c 100755 --- a/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py +++ b/analyzers/GoogleSafebrowsing/safebrowsing_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import safebrowsing from cortexutils.analyzer import Analyzer diff --git a/analyzers/GreyNoise/greynoise.py b/analyzers/GreyNoise/greynoise.py index 956cb1851..0f5e2aaf6 100755 --- a/analyzers/GreyNoise/greynoise.py +++ b/analyzers/GreyNoise/greynoise.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import requests diff --git a/analyzers/Hashdd/Hashdd.py b/analyzers/Hashdd/Hashdd.py index ef5fed9c3..79373730b 100755 --- a/analyzers/Hashdd/Hashdd.py +++ b/analyzers/Hashdd/Hashdd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests from cortexutils.analyzer import Analyzer diff --git a/analyzers/Hippocampe/hippo.py b/analyzers/Hippocampe/hippo.py index 66dd9b581..081e62c5e 100755 --- a/analyzers/Hippocampe/hippo.py +++ b/analyzers/Hippocampe/hippo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import sys import json diff --git a/analyzers/Hunterio/hunterio_analyzer.py b/analyzers/Hunterio/hunterio_analyzer.py index 884e72701..ce5ebbc31 100755 --- a/analyzers/Hunterio/hunterio_analyzer.py +++ b/analyzers/Hunterio/hunterio_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests diff --git a/analyzers/HybridAnalysis/HybridAnalysis_analyzer.py b/analyzers/HybridAnalysis/HybridAnalysis_analyzer.py index 935af9960..5f6b35d6f 100755 --- a/analyzers/HybridAnalysis/HybridAnalysis_analyzer.py +++ b/analyzers/HybridAnalysis/HybridAnalysis_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ According to data from official site [1], VxStream Sandbox Public API allows you to analyze: diff --git a/analyzers/IBMXForce/ibmxforce_lookup.py b/analyzers/IBMXForce/ibmxforce_lookup.py index d4a0a6dcd..e020eda87 100755 --- a/analyzers/IBMXForce/ibmxforce_lookup.py +++ b/analyzers/IBMXForce/ibmxforce_lookup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests from datetime import datetime diff --git a/analyzers/MISPWarningLists/mispwarninglists.py b/analyzers/MISPWarningLists/mispwarninglists.py index 073b6df57..c91824411 100755 --- a/analyzers/MISPWarningLists/mispwarninglists.py +++ b/analyzers/MISPWarningLists/mispwarninglists.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import io import json import requests diff --git a/analyzers/Maltiverse/maltiverse-client.py b/analyzers/Maltiverse/maltiverse-client.py index 8f52c08aa..eaef4f2b4 100755 --- a/analyzers/Maltiverse/maltiverse-client.py +++ b/analyzers/Maltiverse/maltiverse-client.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import sys import time diff --git a/analyzers/MnemonicPDNS/pdns.py b/analyzers/MnemonicPDNS/pdns.py index 6a1083660..bc235adbf 100755 --- a/analyzers/MnemonicPDNS/pdns.py +++ b/analyzers/MnemonicPDNS/pdns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests diff --git a/analyzers/Nessus/nessus.py b/analyzers/Nessus/nessus.py index d63a2cbc0..f73288904 100755 --- a/analyzers/Nessus/nessus.py +++ b/analyzers/Nessus/nessus.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import time diff --git a/analyzers/OTXQuery/otxquery.py b/analyzers/OTXQuery/otxquery.py index 6984e8749..233881b21 100755 --- a/analyzers/OTXQuery/otxquery.py +++ b/analyzers/OTXQuery/otxquery.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import json import requests diff --git a/analyzers/PassiveTotal/passivetotal_analyzer.py b/analyzers/PassiveTotal/passivetotal_analyzer.py index dd1effb3d..4d40274f0 100755 --- a/analyzers/PassiveTotal/passivetotal_analyzer.py +++ b/analyzers/PassiveTotal/passivetotal_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.analyzer import Analyzer diff --git a/analyzers/Patrowl/patrowl.py b/analyzers/Patrowl/patrowl.py index d256f07e6..f32648b4f 100755 --- a/analyzers/Patrowl/patrowl.py +++ b/analyzers/Patrowl/patrowl.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests from cortexutils.analyzer import Analyzer diff --git a/analyzers/PayloadSecurity/payloadsecurity_analyzer.py b/analyzers/PayloadSecurity/payloadsecurity_analyzer.py index f599e8ef5..65592ff9a 100755 --- a/analyzers/PayloadSecurity/payloadsecurity_analyzer.py +++ b/analyzers/PayloadSecurity/payloadsecurity_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.analyzer import Analyzer diff --git a/analyzers/PhishTank/phishtank_checkurl.py b/analyzers/PhishTank/phishtank_checkurl.py index 39c46b24b..f72ce549e 100755 --- a/analyzers/PhishTank/phishtank_checkurl.py +++ b/analyzers/PhishTank/phishtank_checkurl.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import json import requests diff --git a/analyzers/PhishingInitiative/phishinginitiative_lookup.py b/analyzers/PhishingInitiative/phishinginitiative_lookup.py index 7d4e3c4a7..67843cc90 100755 --- a/analyzers/PhishingInitiative/phishinginitiative_lookup.py +++ b/analyzers/PhishingInitiative/phishinginitiative_lookup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.analyzer import Analyzer from pyeupi import PyEUPI diff --git a/analyzers/Pulsedive/pulsedive.py b/analyzers/Pulsedive/pulsedive.py index a45693d56..a0d3d4055 100755 --- a/analyzers/Pulsedive/pulsedive.py +++ b/analyzers/Pulsedive/pulsedive.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import requests from cortexutils.analyzer import Analyzer diff --git a/analyzers/Robtex/robtex.py b/analyzers/Robtex/robtex.py index 85a5aacdd..3d8faedcf 100755 --- a/analyzers/Robtex/robtex.py +++ b/analyzers/Robtex/robtex.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import requests import json diff --git a/analyzers/SinkDB/sinkdb.py b/analyzers/SinkDB/sinkdb.py index ec341c92f..8c237e8fd 100755 --- a/analyzers/SinkDB/sinkdb.py +++ b/analyzers/SinkDB/sinkdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import subprocess from cortexutils.analyzer import Analyzer diff --git a/analyzers/SoltraEdge/soltra.py b/analyzers/SoltraEdge/soltra.py index 24b24f388..b480cda97 100755 --- a/analyzers/SoltraEdge/soltra.py +++ b/analyzers/SoltraEdge/soltra.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import json diff --git a/analyzers/Threatcrowd/threatcrowd_analyzer.py b/analyzers/Threatcrowd/threatcrowd_analyzer.py index 01104f22e..75c0266e5 100755 --- a/analyzers/Threatcrowd/threatcrowd_analyzer.py +++ b/analyzers/Threatcrowd/threatcrowd_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import requests diff --git a/analyzers/VMRay/vmray.py b/analyzers/VMRay/vmray.py index c450c4791..eee37404d 100755 --- a/analyzers/VMRay/vmray.py +++ b/analyzers/VMRay/vmray.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from cortexutils.analyzer import Analyzer from vmrayclient import VMRayClient from time import sleep diff --git a/analyzers/VirusTotal/virustotal.py b/analyzers/VirusTotal/virustotal.py index e19930d17..e4808d050 100755 --- a/analyzers/VirusTotal/virustotal.py +++ b/analyzers/VirusTotal/virustotal.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import time diff --git a/analyzers/Virusshare/virusshare.py b/analyzers/Virusshare/virusshare.py index 22997f6c7..b567ab539 100755 --- a/analyzers/Virusshare/virusshare.py +++ b/analyzers/Virusshare/virusshare.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from cortexutils.analyzer import Analyzer import io import os diff --git a/analyzers/WOT/WOT_lookup.py b/analyzers/WOT/WOT_lookup.py index 4e54b440a..08a312643 100755 --- a/analyzers/WOT/WOT_lookup.py +++ b/analyzers/WOT/WOT_lookup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 import json import requests diff --git a/analyzers/Yara/yara_analyzer.py b/analyzers/Yara/yara_analyzer.py index 94f70876e..c3edb7db8 100755 --- a/analyzers/Yara/yara_analyzer.py +++ b/analyzers/Yara/yara_analyzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.analyzer import Analyzer diff --git a/analyzers/Yeti/yeti.py b/analyzers/Yeti/yeti.py index 252b01fb8..01dd37989 100755 --- a/analyzers/Yeti/yeti.py +++ b/analyzers/Yeti/yeti.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pyeti from cortexutils.analyzer import Analyzer diff --git a/responders/Mailer/mailer.py b/responders/Mailer/mailer.py index c7ede3aac..8152b9f26 100755 --- a/responders/Mailer/mailer.py +++ b/responders/Mailer/mailer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.responder import Responder diff --git a/responders/QRadarAutoClose/QRadarAutoClose.py b/responders/QRadarAutoClose/QRadarAutoClose.py index bd8c4f228..d5eff57ba 100755 --- a/responders/QRadarAutoClose/QRadarAutoClose.py +++ b/responders/QRadarAutoClose/QRadarAutoClose.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 # QRadarAutoClose diff --git a/responders/UmbrellaBlacklister/UmbrellaBlacklister.py b/responders/UmbrellaBlacklister/UmbrellaBlacklister.py index 31a4cd11b..ee9f74c63 100644 --- a/responders/UmbrellaBlacklister/UmbrellaBlacklister.py +++ b/responders/UmbrellaBlacklister/UmbrellaBlacklister.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # encoding: utf-8 from cortexutils.responder import Responder