{"id":19603867,"url":"https://github.com/dethada/sni-sniffer","last_synced_at":"2025-10-05T05:17:35.631Z","repository":{"id":127511052,"uuid":"195824484","full_name":"Dethada/SNI-Sniffer","owner":"Dethada","description":"Extract domains visited through SNI sniffing.","archived":false,"fork":false,"pushed_at":"2019-07-08T14:05:37.000Z","size":28,"stargazers_count":10,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T10:57:34.821Z","etag":null,"topics":["network","rust","sni","sniffing"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dethada.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}},"created_at":"2019-07-08T14:05:22.000Z","updated_at":"2025-02-09T12:36:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"dfcd041e-150d-4600-b027-2897bd1ec8d0","html_url":"https://github.com/Dethada/SNI-Sniffer","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/Dethada%2FSNI-Sniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dethada%2FSNI-Sniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dethada%2FSNI-Sniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dethada%2FSNI-Sniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dethada","download_url":"https://codeload.github.com/Dethada/SNI-Sniffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251195903,"owners_count":21550865,"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":["network","rust","sni","sniffing"],"created_at":"2024-11-11T09:33:19.017Z","updated_at":"2025-10-05T05:17:30.612Z","avatar_url":"https://github.com/Dethada.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SNI-Sniffer\r\n\r\nExtract domains visited through SNI sniffing.\r\n\r\n```\r\nStarted capturing on ens33\r\nTCP V4(192.168.14.128):50596 -\u003e V4(172.217.27.46):443\r\nSNI: [\r\n    \"google.com\",\r\n]\r\nTCP V4(192.168.14.128):51262 -\u003e V4(117.18.232.200):443\r\nSNI: [\r\n    \"az764295.vo.msecnd.net\",\r\n]\r\nTCP V4(192.168.14.128):45508 -\u003e V4(111.221.29.254):443\r\nSNI: [\r\n    \"vortex.data.microsoft.com\",\r\n]\r\nTCP V4(192.168.14.128):40952 -\u003e V4(172.217.160.10):443\r\nSNI: [\r\n    \"safebrowsing.googleapis.com\",\r\n]\r\nTCP V4(192.168.14.128):37934 -\u003e V4(35.166.72.120):443\r\nSNI: [\r\n    \"shavar.services.mozilla.com\",\r\n]\r\n```\r\n\r\n## Notes\r\nFor interface sniffing you must run the program as root.\r\n\r\n## TO-DO\r\n- [ ] Show Date/Time Request was made\r\n- [ ] Output to csv/json\r\n- [ ] Better formatted output\r\n\r\n```\r\nDate/Time Request was made,\r\nSource Address,\r\nSource Port,\r\nSNI,\r\nRemote Address,\r\nRemote Port,\r\n```\r\n\r\n## Sources\r\n\r\nThis project is built based on the following sources.\r\n\r\n- https://github.com/rusticata/rusticata/blob/master/src/tls.rs\r\n- https://github.com/rusticata/pcap-parse/blob/master/src/main.rs\r\n- https://github.com/libpnet/libpnet/blob/master/examples/packetdump.rs","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdethada%2Fsni-sniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdethada%2Fsni-sniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdethada%2Fsni-sniffer/lists"}