コード例 #1
0
 def __init__(self):
     Feed.__init__(self)
     # Location of the feed to be fetched
     self.downloadurl = "https://sslbl.abuse.ch/downloads/ssl_extended.csv"
     # Used in creating the file path on disk
     self.feedname = "abuse_ch_ssl"
     # How much time must pass (in hours) before we update
     self.frequency = 6
コード例 #2
0
 def __init__(self):
     Feed.__init__(self)
     # Location of the feed to be fetched
     self.downloadurl = "https://sslbl.abuse.ch/downloads/ssl_extended.csv"
     # Used in creating the file path on disk
     self.feedname = "abuse_ch_ssl"
     # How much time must pass (in hours) before we update
     self.frequency = 6
コード例 #3
0
 def __init__(self):
     Feed.__init__(self)
     # It was reqested that I leave the API key blank and to add a note that
     # if you would like to use the service, to contact Nathan Fowler for an
     # API key.
     apikey = ""
     self.downloadurl = "https://punchplusplus.miscreantpunchers.net/feeds" \
                        ".php?feed=pcres.txt&apikey=" + apikey
     self.feedname = "punch_plus_plus_pcres"
     # Number of hours to wait before checking for an update
     self.frequency = 6
コード例 #4
0
 def __init__(self):
     Feed.__init__(self)
     # It was reqested that I leave the API key blank and to add a note that
     # if you would like to use the service, to contact Nathan Fowler for an
     # API key.
     apikey = ""
     self.downloadurl = "https://punchplusplus.miscreantpunchers.net/feeds" \
                        ".php?feed=pcres.txt&apikey=" + apikey
     self.feedname = "punch_plus_plus_pcres"
     # Number of hours to wait before checking for an update
     self.frequency = 6
コード例 #5
0
 def __init__(self):
     Feed.__init__(self)