httpbl

Project Honeypot Http:BL API Client
Download

httpbl Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Gavin M. Roy
  • Publisher web site:
  • http://area51.myyearbook.com/trac.cgi/wiki/Staplr

httpbl Tags


httpbl Description

Project Honeypot Http:BL API Client httpbl is a Python client library for the project-honeypot.org Http:BL API.Requires a Http:BL API key from http://www.projecthoneypot.org/Example:import httpblip_address = '127.5.20.3'key = 'my-key'bl = httpbl.HttpBL(key)response = bl.query(ip_address)print "IP Address: %s" % ip_addressprint "Threat Score: %i" % responseprint "Days since last activity: %i" % responseprint "Visitor type: %s" % ', '.join( \ for type_ in response])Response Format- days_since_last_activity- name- threat_score- list of visitor types (int)The list types are enumerated in the module:- httpbl.COMMENT_SPAMMER- httpbl.HARVESTER- httpbl.SEARCH_ENGINE- httpbl.SUSPICIOUSText descriptions are available in the httpbl.DESCRIPTIONS dictionary. Requirements: · Python


httpbl Related Software