{"id":13587658,"url":"https://github.com/joarleymoraes/net_guard","last_synced_at":"2025-08-26T22:15:47.453Z","repository":{"id":215850917,"uuid":"117915612","full_name":"joarleymoraes/net_guard","owner":"joarleymoraes","description":"A command line tool to detect new unknown device in your network using ARP protocol","archived":false,"fork":false,"pushed_at":"2018-02-04T00:33:06.000Z","size":337,"stargazers_count":110,"open_issues_count":0,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T05:11:27.343Z","etag":null,"topics":["arp","arp-scanner","shell-script"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/joarleymoraes.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":"2018-01-18T01:38:47.000Z","updated_at":"2024-06-30T02:56:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0f51733-35e0-4f3d-bb15-b647c4c06e31","html_url":"https://github.com/joarleymoraes/net_guard","commit_stats":null,"previous_names":["joarleymoraes/net_guard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joarleymoraes%2Fnet_guard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joarleymoraes%2Fnet_guard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joarleymoraes%2Fnet_guard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joarleymoraes%2Fnet_guard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joarleymoraes","download_url":"https://codeload.github.com/joarleymoraes/net_guard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550623,"owners_count":21122934,"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":["arp","arp-scanner","shell-script"],"created_at":"2024-08-01T15:06:18.357Z","updated_at":"2025-04-12T10:21:05.363Z","avatar_url":"https://github.com/joarleymoraes.png","language":"Shell","funding_links":[],"categories":["Shell","\u003ca id=\"eec238a1a2657b70f7bbbe68a4421249\"\u003e\u003c/a\u003e其他","Shell (473)"],"sub_categories":["\u003ca id=\"b239f12aca7aa942b45836032cbef99a\"\u003e\u003c/a\u003e转换"],"readme":"# Net Guard\n\nA command line tool to detect possible malicious activity in your network using ARP protocol. Maybe someone is hacking in your network! Alerts are sent via email.\n\n\n## Features\n\n* Detection of unknown devices\n* Detection of devices in promiscuous mode (approach taken from [here](http://www.securityfriday.com/promiscuous_detection_01.pdf))\n\n\n## Install \n\n### Mac\n\nOn Mac, install arp-scan:\n\n`brew install arp-scan`\n\nConfigure `mail` on terminal, [here's a tutorial on Gmail](http://codana.me/2014/11/23/sending-gmail-from-os-x-yosemite-terminal/)\n\n### Other Platforms:\n\nTODO. \nPRs are welcome :)\n\n\n## Configure\n\nEdit `settings.cnf` to set `ALERT_EMAIL_ADD`. \n\nAdd the Mac addresses of devices you know to `whitelist.txt`. You can list current connected devices using:\n\n`arp-scan --interface=\u003cxx\u003e --localnet` \n\nNewly found devices are recorded at `new_found.txt`, and are only reported once.\n\nBoth `whitelist.txt` and `new_found.txt` can be edited to include comments, such as:\n\n`00:11:22:33:44:55 # My iPhone`\n\nThere are two equivalent lists for promiscuous mode devices (`p_whitelist.txt` and `p_new_found.txt`).\n\n## Usage\n`./net_guard.sh \u003cinterface\u003e`\n\n`E.g.: ./net_guard.sh en0`\n\nTo list all network interfaces:\n\n`ifconfig`\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoarleymoraes%2Fnet_guard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoarleymoraes%2Fnet_guard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoarleymoraes%2Fnet_guard/lists"}