Skip to content

xiv3r/Termux-Pentesting-Distro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Termux Proot Distros

Proot Distro uses pre-built root filesystems (rootfs) of Linux distributions. These are essentially the core files of a Linux OS.

PRoot is used to "fake" the root environment, allowing you to run the rootfs as if it were a full Linux system.

`Proot Distro is a tool used in environments like Termux (a terminal emulator and Linux environment for Android) to manage and run Linux distributions (distros) in an isolated, containerized environment. It uses PRoot (a user-space implementation of chroot, mount --bind, and binfmt_misc) to run Linux distributions without requiring root access or complex setup.

Key Features of Proot Distro: No Root Access Required: Proot Distro allows you to run Linux distributions on devices without root access.

Lightweight: It uses minimal resources compared to full virtualization or emulation.

Easy Management: You can install, remove, and manage multiple Linux distributions easily.

Isolation: Each distro runs in its own isolated environment, preventing conflicts with the host system.

Cross-Platform: Works on Android (via Termux) and other platforms where PRoot is supported.

How Proot Distro Works: Rootfs (Root Filesystem): Proot Distro uses pre-built root filesystems (rootfs) of Linux distributions. These are essentially the core files of a Linux OS.

PRoot: PRoot is used to "fake" the root environment, allowing you to run the rootfs as if it were a full Linux system.

Proot-Distro Scripts: Each distro has a configuration script (e.g., kali.sh, ubuntu.sh) that defines how the rootfs is downloaded, installed, and managed.`

Requirements


Auto install

PROOT-DISTRO (recommended)

pkg update && pkg upgrade -y && pkg install wget -y && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Install/install | bash 
pkg update && pkg upgrade -y && pkg install wget -y && wget -O $PREFIX/bin/PROOT-DISTRO https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Install/PROOT-DISTRO && chmod 755 $PREFIX/bin/PROOT-DISTRO && PROOT-DISTRO

Alternative

CHROOT-DISTRO (Optional)

pkg update && pkg upgrade -y && pkg install wget -y && wget -O $PREFIX/bin/CHROOT-DISTRO https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Install/CHROOT-DISTRO && chmod 755 $PREFIX/bin/CHROOT-DISTRO && CHROOT-DISTRO

Menu

For proot-distro

proot-distro list

for PROOT-DISTRO

PROOT-DISTRO

For chroot

CHROOT-DISTRO

Usage

Click to Expand
  • Login
kali
  • Logout
exit
  • Uninstall
uninstall-kali
  • Reinstall
pd reinstall kali
  • Rename

example

pd rename kali (new name)
  • Restore

example

pd restore kali
  • Reset

example

pd reset kali
  • Backup

example

pd backup kali

  • Rollback

rollback the default proot-distro configs

rm $PREFIX/etc/proot-distro/*.sh
cp $PREFIX/etc/proot-old/*.sh $PREFIX/etc/proot-distro/

List of command

Click to Expand
  • pd help - Show this help information.
  • pd backup - Backup a specified distribution.
  • pd list - List supported distributions and their installation status.
  • pd login - Start login shell for the specified distribution.
  • pd remove - Delete a specified distribution.
  • pd rename - Rename installed distribution.
  • pd reset - Reinstall from scratch a specified distribution.
  • restore - Restore a specified distribution
  • clear-cache - Clear cache of downloaded files.

Example: pd install ubuntu



Kali Nethunter

  • login user:kali
  • login root:kali -r

For Full Nethunter image with VNC

  • run vnc:(kali vnc) &
  • kill vnc:kali kill vnc
  • uninstall:kali-uninstall
-; pkg update && pkg install wget -y && clear && wget -q -O install.sh https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/KaliLinux/Chroot/install.sh && chmod 755 install.sh && bash install.sh && kali
  • For full kali nethunter image with vnc

Configure your vnc password (termux terminal)

kali vnc password

run kali with vnc

kali vnc &

Open vnc the client and connect to 127.0.0.:5901






Adelie Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Adelie/install | bash && adelie






Alma Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Alma/install | bash && alma






Alpine Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Alpine/install | bash && alpine






Alt Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Altlinux/install | bash && altlinux 






Amazon Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Amazon/install | bash && amazon






Arch Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Archlinux/install | bash && archlinux






Artix Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Artix/install | bash && artix






BackBox Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/BackBox/install | bash && clear && backbox






BlackArch Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/BlackArch/install | bash && clear && blackarch






Centos Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Centos/install | bash && centos






Chimera Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Chimera/install | bash && chimera






Cirros Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Cirros/install | bash && cirros






Crux Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Crux/install | bash && crux






Debian Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Debian/install | bash && debian 






Deepin Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Deepin/install | bash && deepin






Devuan Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Devuan/install | bash && devuan 






Fedora Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/Fedora/artix/install | bash && fedora 






Gentoo Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Gentoo/install | bash && gentoo 






Kali Nethunter

  • Install
-; pkg update && pkg install wget -y && clear && wget -q -O install https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/KaliLinux/Proot/install && chmod 755 install && bash install && kali






Manjaro Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Manjaro/install | bash && manjaro






Openkylin Linux

  • Install
apt update && apt install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Openkylin/install | bash && openkylin 






Opensuse Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Opensuse/install | bash && opensuse 






Oracle Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Oracle/install | bash && oracle 






Openeuler Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/OpenEuler/install | bash && openeuler 






Openwrt Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Openwrt/install | bash && openwrt






Pardus Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Pardus/install | bash && pardus 






Parrot Linux

  • Install
apt update && apt install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/ParrotSec/install | bash && clear && parrot






Photon Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Photon/install | bash && photon 






Rocky Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Rocky/install | bash && rocky 






Slackware Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Slackware/install | bash && slackware 






Termux Linux

  • Install
pkg update && pkg install wget neofetch -y && wget -O $PREFIX/etc/bash.bashrc https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Termux/bash.bashrc && source $PREFIX/etc/bash.bashrc


Ubuntu Linux (Noble)

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Ubuntu/install | bash && ubuntu 






Ubuntu Linux (Jammy)

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Ubuntu_jammy/install | bash && ujammy 






Ubuntu Linux (Focal Fossa)

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Ufocal/install | bash && ufocal






Ubuntu Linux (Oracular)

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Uoracular/install | bash && uoracular 






Void Linux

  • Install
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/Void/install | bash && void