{"id":51467030,"url":"https://github.com/levz0r/android-pentest-lab","last_synced_at":"2026-07-06T12:30:38.629Z","repository":{"id":367539145,"uuid":"1226376798","full_name":"levz0r/android-pentest-lab","owner":"levz0r","description":"Notes and tooling for turning a stock Xiaomi phone into a portable mobile-security workbench (Magisk + Termux + Kali via proot-distro).","archived":false,"fork":false,"pushed_at":"2026-05-24T17:11:47.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-26T12:27:30.938Z","etag":null,"topics":["android","frida","kali-linux","magisk","mitmproxy","mobile-security","pentesting","privacy","security","termux","xiaomi"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/levz0r.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-01T10:13:16.000Z","updated_at":"2026-05-24T17:11:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/levz0r/android-pentest-lab","commit_stats":null,"previous_names":["levz0r/android-pentest-lab"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/levz0r/android-pentest-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levz0r%2Fandroid-pentest-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levz0r%2Fandroid-pentest-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levz0r%2Fandroid-pentest-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levz0r%2Fandroid-pentest-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levz0r","download_url":"https://codeload.github.com/levz0r/android-pentest-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levz0r%2Fandroid-pentest-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35191767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","frida","kali-linux","magisk","mitmproxy","mobile-security","pentesting","privacy","security","termux","xiaomi"],"created_at":"2026-07-06T12:30:37.988Z","updated_at":"2026-07-06T12:30:38.608Z","avatar_url":"https://github.com/levz0r.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# android-pentest-lab\n\nEthical hacking workbench using a Xiaomi Redmi (codename `dandelion`, model 220233L2G) running Android 11 as the field device. The Mac is the controller; the phone is the portable lab.\n\n## Scope\n\nAuthorized targets only: own infrastructure, CTF platforms (HTB, THM, picoCTF, OverTheWire), intentionally vulnerable VMs, and engagements with written authorization. No third-party targeting.\n\n## Device profile\n\n| | |\n|---|---|\n| Model | Xiaomi 220233L2G (`dandelion`, MTK mt6762/mt6765) |\n| Android | 11 (API 30), MIUI V125, patch 2022-07 |\n| ABI | armeabi-v7a (32-bit userspace) |\n| Kernel | 4.19.127 |\n| RAM / /data | 6 GB / 110 GB free |\n| Bootloader | unlocked (`flash.locked=0`) |\n| Root | none — Magisk feasible later |\n| Termux | installed |\n\nImplications: 32-bit userspace rules out some recent Go binaries. MTK Wi-Fi has no usable monitor-mode driver — skip NetHunter Wi-Fi tooling on this device.\n\n## Layout\n\n```\nscripts/\n  adb/        Mac-side scripts that drive the phone over adb\n  termux/     Bootstrap \u0026 install scripts run inside Termux\n  kali/       proot-distro Kali setup and tool installers\n  root/       Magisk / boot.img patching helpers (unused until rooted)\nconfigs/      Dotfiles, sshd_config, tmux, etc. pushed to the device\nnotes/\n  ctf/        Per-box writeups (HTB, THM, ...)\n  recon/      Methodology notes\n  labs/       Self-hosted target setup notes\ntargets/      Per-engagement scratch dirs (gitignored)\n```\n\n## Quickstart\n\n1. Pair \u0026 connect over Wi-Fi ADB (already done).\n2. `scripts/termux/bootstrap.sh` — run inside Termux to install the base toolset.\n3. `scripts/kali/install-kali.sh` — optional, installs Kali via proot-distro.\n4. `scripts/adb/connect.sh` — reconnect from the Mac after reboot.\n\n## References\n\n- Termux wiki: https://wiki.termux.com\n- proot-distro: https://github.com/termux/proot-distro\n- Magisk: https://github.com/topjohnwu/Magisk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevz0r%2Fandroid-pentest-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevz0r%2Fandroid-pentest-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevz0r%2Fandroid-pentest-lab/lists"}