{"id":17713520,"url":"https://github.com/gh0stkn1ght/mitm-droid","last_synced_at":"2026-05-03T16:31:47.917Z","repository":{"id":258380535,"uuid":"873812955","full_name":"gh0stKn1ght/MITM-Droid","owner":"gh0stKn1ght","description":"A tool to perform man-in-the-middle attacks with arp-spoofing on rooted Android devices","archived":false,"fork":false,"pushed_at":"2024-10-16T19:36:22.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T18:30:55.099Z","etag":null,"topics":["android","android-hacking","android-hacking-tools","arp-attack","arp-spoofing","linux","man-in-the-middle","man-in-the-middle-attack","mitm","mitm-attack","python","python-hacking","python-hacking-tools","rooted-android","scapy","termux","termux-hacking","termux-hacking-tool","termux-hacking-tools","termux-root"],"latest_commit_sha":null,"homepage":"","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/gh0stKn1ght.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":"2024-10-16T19:02:39.000Z","updated_at":"2024-10-16T19:58:20.000Z","dependencies_parsed_at":"2024-10-19T03:18:35.148Z","dependency_job_id":null,"html_url":"https://github.com/gh0stKn1ght/MITM-Droid","commit_stats":null,"previous_names":["gh0stkn1ght/mitm-droid"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stKn1ght%2FMITM-Droid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stKn1ght%2FMITM-Droid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stKn1ght%2FMITM-Droid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh0stKn1ght%2FMITM-Droid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh0stKn1ght","download_url":"https://codeload.github.com/gh0stKn1ght/MITM-Droid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246452572,"owners_count":20779809,"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":["android","android-hacking","android-hacking-tools","arp-attack","arp-spoofing","linux","man-in-the-middle","man-in-the-middle-attack","mitm","mitm-attack","python","python-hacking","python-hacking-tools","rooted-android","scapy","termux","termux-hacking","termux-hacking-tool","termux-hacking-tools","termux-root"],"created_at":"2024-10-25T10:05:08.519Z","updated_at":"2026-05-03T16:31:47.868Z","avatar_url":"https://github.com/gh0stKn1ght.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MITM-Droid\nA tool to perform man-in-the-middle attacks with ARP-spoofing on rooted Android devices\n# Why?\nThere are a lot of different tools for MITM attacks and ARP-spoofing, but all of those require you to enable net.ipv4.ip_forward setting in your kernel. Why is it bad? It is not a big problem, when you use Kali Linux, for example. But in Android systems it is a way more complicated process(even on rooted devices). After many attempts, I gave up on trying to enable IP forwarding in system kernel and decided to recreate needed functionality with Scapy. So, if you want to perform this sort of attacks with your Android phone, this program is the easiest way to do it.\n# Supported platforms\nLinux - ✔️ (tested on Kali)\u003cbr\u003e\nAndroid\u003cb\u003e[Termux]\u003c/b\u003e - ✔️ (rooted)\u003cbr\u003e\nWindows - ❓ (wasn't tested, but should work)\u003cbr\u003e\nMacOS - ❓ (wasn't tested)\n# Usage\n### For all platforms: replace \u003cYOUR_MAC_ADDRESS\u003e in the code with MAC of your attacker device.\u003cbr\u003e\u003cbr\u003e\n## Linux | Android[Termux]\n### Warning: you need to be root\n```\npip install scapy\ncurl https://raw.githubusercontent.com/gh0stKn1ght/MITM-Droid/main/mitm.py --output mitm.py\nsudo python mitm.py\n```\n## Other\nI didn't test it on Windows and MacOS, so I can't provide step-by-step instructions here. But all you need is to install Python and Scapy and run the script with admin/root permissions.\u003cbr\u003e\n### When you've completed all previous steps, simply follow instructions in the script and the attack will start. All intercepted packets will be saved into .pcap file with the name entered by you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh0stkn1ght%2Fmitm-droid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh0stkn1ght%2Fmitm-droid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh0stkn1ght%2Fmitm-droid/lists"}