{"id":19174594,"url":"https://github.com/equalitie/shodan_fingerprinter","last_synced_at":"2025-05-07T18:20:53.007Z","repository":{"id":151043798,"uuid":"140279883","full_name":"equalitie/shodan_fingerprinter","owner":"equalitie","description":"Script fingerprinting systems based on shodan.io data","archived":false,"fork":false,"pushed_at":"2018-07-09T12:42:41.000Z","size":11,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-20T01:33:01.066Z","etag":null,"topics":["investigation","osint"],"latest_commit_sha":null,"homepage":"","language":"Python","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/equalitie.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-07-09T12:07:20.000Z","updated_at":"2024-09-14T20:21:11.000Z","dependencies_parsed_at":"2023-04-11T15:46:31.382Z","dependency_job_id":null,"html_url":"https://github.com/equalitie/shodan_fingerprinter","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/equalitie%2Fshodan_fingerprinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalitie%2Fshodan_fingerprinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalitie%2Fshodan_fingerprinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalitie%2Fshodan_fingerprinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/equalitie","download_url":"https://codeload.github.com/equalitie/shodan_fingerprinter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931812,"owners_count":21827170,"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":["investigation","osint"],"created_at":"2024-11-09T10:18:26.945Z","updated_at":"2025-05-07T18:20:52.998Z","avatar_url":"https://github.com/equalitie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shodan_fingerprinter\n\nScripts fingerprinting systems based on shodan.io data\n\n## Installation and Configuration\n\nYou need to install the [shodan python library](https://github.com/achillean/shodan-python) first : `pip install shodan`\n\nYou need to get a [Shodan API key](https://developer.shodan.io/)\n\nThen store this API key in `~/.shodan/api_key` (shared configuration file with the [Shodan CLI tool](https://cli.shodan.io/)).\n\n## Usage\n\n```\nFingerprint a system based on Shodan information\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --ip IP, -i IP        IP\n  --file FILE, -f FILE  IP\n  --history, -H         Also consider Shodan history for the past six months\n  --key KEY, -k KEY     Shodan API key\n```\n\n## Example\n\nFingerprint one IP :\n```\n$ python shodanfingerprint.py  -H -i 203.153.111.118\nRouter : MikroTik Router (MikroTik)\n```\n\nFingerprint a list of IPs:\n```\n$ python shodanfingerprint.py -H -f ~/temp/mikrotik\n203.153.111.118 ; Router ; MikroTik Router ; MikroTik\n181.57.217.158 ; Router ; MikroTik Router ; MikroTik\n```\n\n**Warning:** this fingerprint may not be reliable for many different reasons. It could be that the system does not have any identifiable fingerprint, that a router is actually using Ubuntu or another operating system (and thus identified as a server), or that a router is identified but the traffic is actually coming from a system on the internal network of this router. Etc.\n\n## Signatures\n\nThis tool relies on signature to identify systens, for instance (taken from `shodan_fingerprint.py`):\n```python\n{'name': 'Technicolor SNMP', 'filter': 'udp/161', 'test': 'contains', 'contains': ['data', 'Technicolor'], 'result': {'type': 'Router', 'device': 'Technicolor'}},\n```\n\nThis signature will check if the `data` field of data gathered on UPD port 161 contains the word `Technicolor`. If yes, it means that this system is a Technicolor Router.\n\n## License\n\nThis code is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequalitie%2Fshodan_fingerprinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fequalitie%2Fshodan_fingerprinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequalitie%2Fshodan_fingerprinter/lists"}