{"id":22799916,"url":"https://github.com/chocapikk/sinkhole","last_synced_at":"2025-03-30T19:17:29.176Z","repository":{"id":167723916,"uuid":"643343545","full_name":"Chocapikk/sinkhole","owner":"Chocapikk","description":"Sinkhole for my school project","archived":false,"fork":false,"pushed_at":"2023-05-20T22:41:50.000Z","size":206,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T21:53:38.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chocapikk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-20T21:22:44.000Z","updated_at":"2024-08-12T20:31:25.000Z","dependencies_parsed_at":"2023-09-12T22:45:20.810Z","dependency_job_id":null,"html_url":"https://github.com/Chocapikk/sinkhole","commit_stats":null,"previous_names":["chocapikk/sinkhole"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fsinkhole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fsinkhole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fsinkhole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fsinkhole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chocapikk","download_url":"https://codeload.github.com/Chocapikk/sinkhole/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365647,"owners_count":20765549,"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":[],"created_at":"2024-12-12T07:10:25.397Z","updated_at":"2025-03-30T19:17:28.902Z","avatar_url":"https://github.com/Chocapikk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Sinkhole Script\n\nThis Python script is a simple implementation of a network sinkhole. It captures and logs packets destined to non-existent IP addresses within a specified network range, acting as a useful tool for network administrators to monitor and analyze potentially malicious network activity.\n\n## Features\n\n1. Captures packets with non-existent destination IP addresses.\n2. Logs packet details, including source IP, destination IP, protocol, and destination port.\n3. Displays detected attacks in real time in a clear, tabular format.\n\n## Usage\n\nTo use the sinkhole script, you need to specify the network interface to monitor:\n\n```bash\npython sinkhole.py -i eth0\n```\n\nIn this example, `eth0` is the network interface to be monitored.\n\nYou can also specify a log file for the script to write to:\n\n```bash\npython sinkhole.py -i eth0 -l my_log_file.log\n```\n\nIn this example, `my_log_file.log` is the file where log entries will be written.\n\n## Requirements\n\nThis script requires the following Python libraries:\n- Scapy\n- ipaddress\n- prettytable\n- argparse\n\nYou can install these libraries using pip:\n\n```bash\npip install -r requirements.txt\n```\n\n## Disclaimer\n\nThis script should be used for lawful and legitimate purposes only. Always get proper authorization before performing any kind of network scanning or monitoring.\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocapikk%2Fsinkhole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocapikk%2Fsinkhole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocapikk%2Fsinkhole/lists"}