{"id":20292532,"url":"https://github.com/mauricelambert/arpspoof","last_synced_at":"2025-05-07T19:31:59.495Z","repository":{"id":57411574,"uuid":"329943733","full_name":"mauricelambert/ArpSpoof","owner":"mauricelambert","description":"This package implements a ARP Spoofer (for MIM attack).","archived":false,"fork":false,"pushed_at":"2022-03-14T06:51:27.000Z","size":74,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-12-20T22:47:02.362Z","etag":null,"topics":["arpspoof","dos","maninthemiddle","mim","network","pypi-package","python3","scapy","wifi"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mauricelambert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-15T15:03:27.000Z","updated_at":"2023-12-03T01:28:15.000Z","dependencies_parsed_at":"2022-08-27T17:11:02.051Z","dependency_job_id":null,"html_url":"https://github.com/mauricelambert/ArpSpoof","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FArpSpoof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FArpSpoof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FArpSpoof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FArpSpoof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauricelambert","download_url":"https://codeload.github.com/mauricelambert/ArpSpoof/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224641552,"owners_count":17345366,"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":["arpspoof","dos","maninthemiddle","mim","network","pypi-package","python3","scapy","wifi"],"created_at":"2024-11-14T15:17:39.611Z","updated_at":"2024-11-14T15:17:40.453Z","avatar_url":"https://github.com/mauricelambert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ArpSpoof logo](https://mauricelambert.github.io/info/python/security/ArpSpoof_small.png \"ArpSpoof logo\")\r\n\r\n# ArpSpoof\r\n\r\n## Description\r\n\r\nThis package implements an ARP Spoofer for MIM (Man-In-the-Middle) or DoS (Denial of Service) attacks.\r\n\r\n## Requirements\r\n\r\nThis package require:\r\n - python3\r\n - python3 Standard Library\r\n - Scapy\r\n - PythonToolsKit\r\n\r\n## Installation\r\n\r\n```bash\r\npip install ArpSpoof\r\n```\r\n\r\n## Usages\r\n\r\n### Command lines\r\n\r\n```bash\r\npython3 -m ArpSpoof -h                    # Use python module\r\npython3 ArpSpoof.pyz --help               # Use python executable\r\n\r\nArpSpoof 127.0.0.1 127.0.0.2              # Use console script entry point\r\nArpSpoof -v 127.0.0.1 127.0.0.2,127.0.0.5 # Spoof multiple targets (verbose mode)\r\nArpSpoof 127.0.0.1 127.0.0.2-127.0.0.5    # Spoof range of targets\r\nArpSpoof 127.0.0.1 127.0.0.0/29           # Spoof all network\r\n\r\nArpSpoof 127.0.0.1 127.0.0.0/29 -s -t 1   # Semi (spoof only gateway IP for the targets, interval is 1 seconds)\r\nArpSpoof 127.0.0.1 127.0.0.0/29 -i 127.0. # Use the loopback interface\r\n\r\nArpSpoof 172.16.10.1 172.16.0.33 -p       # Passive mode\r\n```\r\n\r\n### Python3\r\n\r\n```python\r\nfrom ArpSpoof import SpooferARP\r\n\r\nspoofer = SpooferARP('172.16.10.1', '172.16.0.35')\r\nspoofer.active_cache_poisonning()\r\n\r\nspoofer = SpooferARP('172.16.10.1', '172.16.0.35', conf.iface, False, 0.5)\r\nspoofer.passive_cache_poisonning(asynchronous=True)\r\nspoofer.run = False\r\nspoofer.sniffer.stop()                                   # only with asynchronous mode\r\nspoofer.restore()                                        # only with asynchronous mode\r\n\r\n# Multiple targets\r\nspoofer = SpooferARP('127.0.0.1', '127.0.0.2,127.0.0.3') # Spoof multiple targets\r\nspoofer = SpooferARP('127.0.0.1', '127.0.0.2-127.0.0.5') # Spoof range of targets\r\nspoofer = SpooferARP('127.0.0.1', '127.0.0.0/30')        # Spoof all network\r\n```\r\n\r\n## Links\r\n\r\n - [Github Page](https://github.com/mauricelambert/ArpSpoof)\r\n - [Pypi](https://pypi.org/project/ArpSpoof/)\r\n - [Documentation](https://mauricelambert.github.io/info/python/security/ArpSpoof.html)\r\n - [Executable](https://mauricelambert.github.io/info/python/security/ArpSpoof.pyz)\r\n\r\n## Help\r\n\r\n```text\r\nusage: ArpSpoof.py [-h] [--verbose] [--interface INTERFACE] [--time TIME] [--semi] [--passive] gateway target\r\n\r\npositional arguments:\r\n  gateway               Gateway IP or hostname\r\n  target                Target IP or hostname\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  --verbose, -v         Mode verbose (print debug message)\r\n  --interface INTERFACE, -i INTERFACE\r\n                        Part of the IP, MAC or name of the interface\r\n  --time TIME, -t TIME  Time in seconds to sleep between sending ARP packets.\r\n  --semi, -s            Spoof IP of the gateway (target will lost internet connection).\r\n  --passive, -p         Passive mode (response to ARP request only)\r\n```\r\n\r\n## Licence\r\n\r\nLicensed under the [GPL, version 3](https://www.gnu.org/licenses/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Farpspoof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauricelambert%2Farpspoof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Farpspoof/lists"}