{"id":25840123,"url":"https://github.com/wisespace-io/honeypot-blacklist","last_synced_at":"2025-06-15T07:03:05.693Z","repository":{"id":62440206,"uuid":"70837277","full_name":"wisespace-io/honeypot-blacklist","owner":"wisespace-io","description":"Rust library for querying Project Honeypot Blacklist (Http:BL)","archived":false,"fork":false,"pushed_at":"2017-04-27T16:43:22.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T07:02:39.228Z","etag":null,"topics":["honeypot","rust","security","spammer"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wisespace-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-13T18:44:04.000Z","updated_at":"2020-05-31T09:37:27.000Z","dependencies_parsed_at":"2022-11-01T21:53:09.535Z","dependency_job_id":null,"html_url":"https://github.com/wisespace-io/honeypot-blacklist","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wisespace-io/honeypot-blacklist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisespace-io%2Fhoneypot-blacklist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisespace-io%2Fhoneypot-blacklist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisespace-io%2Fhoneypot-blacklist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisespace-io%2Fhoneypot-blacklist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisespace-io","download_url":"https://codeload.github.com/wisespace-io/honeypot-blacklist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisespace-io%2Fhoneypot-blacklist/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259935589,"owners_count":22934384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["honeypot","rust","security","spammer"],"created_at":"2025-03-01T04:40:39.675Z","updated_at":"2025-06-15T07:03:05.669Z","avatar_url":"https://github.com/wisespace-io.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/wisespace-io/honeypot-blacklist.png?branch=master)](https://travis-ci.org/wisespace-io/honeypot-blacklist)\n[![](https://meritbadge.herokuapp.com/honeypot-blacklist)](https://crates.io/crates/honeypot-blacklist)\n\n# honeypot-blacklist\nRust library for querying Project Honeypot Blacklist ([Http:BL](http://www.projecthoneypot.org/httpbl_api.php))\n\n# Usage\n\nAvailable on crates.io\n\nAdd this to your Cargo.toml\n\n```toml\n[dependencies]\nhoneypot_blacklist = \"0.1\"\n```\n\n# Example\n\nSimulate different Types.\n\n```rust\nextern crate honeypot_blacklist;\n\nuse honeypot_blacklist::{HoneypotBlacklist, Visitor, VisitorClass};\n\nfn main() {\n    let key = \"YOUR_KEY\";\n    let bl = HoneypotBlacklist::new(key.into());\n\n    let search_engine_altavista = bl.lookup(\"127.1.1.0\".into()).unwrap();\n    print_result(search_engine_altavista);\n\n    let suspicious = bl.lookup(\"127.1.1.1\".into()).unwrap();\n    print_result(suspicious);\n\n    let harvester = bl.lookup(\"127.1.1.2\".into()).unwrap();\n    print_result(harvester);\n\n    let comment_spammer = bl.lookup(\"127.1.1.3\".into()).unwrap();\n    print_result(comment_spammer);\n}\n\nfn print_result(visitor: Visitor) {\n    match visitor.class {\n        VisitorClass::SearchEngine { name } =\u003e println!(\"It is just a search engine: {}\", name),\n        VisitorClass::Suspicious =\u003e println!(\"It may be a malicous Robot, not confirmed yet\"),\n        VisitorClass::Harvester =\u003e println!(\"Harvester IP\"),\n        VisitorClass::CommentSpammer =\u003e println!(\"Comment Spammer IP\"),\n        _ =\u003e println!(\"Not found\"),\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisespace-io%2Fhoneypot-blacklist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisespace-io%2Fhoneypot-blacklist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisespace-io%2Fhoneypot-blacklist/lists"}