{"id":20706830,"url":"https://github.com/prophetl33t/ShodanCPP","last_synced_at":"2025-05-10T20:31:06.368Z","repository":{"id":39978083,"uuid":"269755122","full_name":"prophetl33t/ShodanCPP","owner":"prophetl33t","description":"ShodanCPP is a С++ library for accessing the Shodan API.","archived":false,"fork":false,"pushed_at":"2024-08-05T13:13:57.000Z","size":5125,"stargazers_count":32,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T01:29:01.715Z","etag":null,"topics":["cpp","shodan","shodan-api"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prophetl33t.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":"2020-06-05T19:36:31.000Z","updated_at":"2024-10-19T15:14:46.000Z","dependencies_parsed_at":"2022-09-17T06:40:40.441Z","dependency_job_id":null,"html_url":"https://github.com/prophetl33t/ShodanCPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prophetl33t%2FShodanCPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prophetl33t%2FShodanCPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prophetl33t%2FShodanCPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prophetl33t%2FShodanCPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prophetl33t","download_url":"https://codeload.github.com/prophetl33t/ShodanCPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253480374,"owners_count":21915245,"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":["cpp","shodan","shodan-api"],"created_at":"2024-11-17T01:23:56.299Z","updated_at":"2025-05-10T20:31:01.685Z","avatar_url":"https://github.com/prophetl33t.png","language":"C","funding_links":[],"categories":["C++ Search Automation Tools"],"sub_categories":[],"readme":"# ShodanCPP\n\nShodanCPP is a C++ library for accessing the Shodan API.\n\nCloning a repository with submodules:\n```shell\ngit clone --recursive https://github.com/prophetl33t/ShodanCPP.git\ngit submodule update --init --recursive\n```\n\nUsage example:\n\n   \t//Print information about the API plan.\n    ShodanClient cl;\n    cl.SetAPIKey(\"insert api key here\");\n    std::cout \u003c\u003c cl.GetAPIInfo() \u003c\u003c \"\\n\";\n\n    //Print the number of devices that have the string \"webcam\" in their banner\n    rapidjson::Document doc;\n    doc.Parse(cl.GetHostCount(\"webcam\").c_str());\n    std::cout \u003c\u003c doc[\"total\"].GetInt() \u003c\u003c \"\\n\";\n\nDependencies:\n\ncurl (https://curl.haxx.se)\n\nrapidjson (https://github.com/Tencent/rapidjson)\n\nstring_view_lite (https://github.com/martinmoene/string-view-lite)\n\nThe repository contains a solution for Visual Studio 2019 and CMakeLists.txt, in case you want to use a different IDE. The library was tested only on Windows, but apparently it works on linux too (if you find the curl library yourself).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprophetl33t%2FShodanCPP","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprophetl33t%2FShodanCPP","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprophetl33t%2FShodanCPP/lists"}