8 POWER MODULES
100+ COMMANDS
PRODUCTION READY
ETHICAL HACKING
⚡ Install Termux from F-Droid (NOT Play Store) for full package support: f-droid.org
$ pkg update -y && pkg upgrade -y
$ pkg install -y git curl wget nano vim zsh bash
$ termux-setup-storage
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
$ chsh -s zsh
$ pkg install -y build-essential make cmake clang
$ pkg install -y openssh && sshd
💡 After bootstrap: type zsh to switch to your new pro shell. Your terminal will look 10x better.
── PYTHON FULL STACK ──
$ pkg install -y python
$ pip install flask fastapi uvicorn requests httpx pandas numpy sqlalchemy
$ pip install django djangorestframework celery redis
── NODE.JS + JAVASCRIPT ──
$ pkg install -y nodejs
$ npm install -g express nodemon pm2 typescript ts-node
$ npm install -g @nestjs/cli create-react-app next
── RUST (blazing fast) ──
$ pkg install -y rust
$ rustup component add rustfmt clippy
── C / C++ ──
$ pkg install -y clang gcc gdb valgrind
── API TESTING ──
$ pkg install -y httpie
$ pip install pytest locust
── RUN A NODE SERVER ──
$ mkdir myapp && cd myapp && npm init -y
$ echo "const e=require('express');const a=e();a.get('/',(r,s)=>s.send('🔥 Server running from Android!'));a.listen(3000)" > index.js
$ node index.js
⚡ PM2 Process Manager
- pm2 start app.js — start app
- pm2 list — see all processes
- pm2 logs — live logs
- pm2 restart app — restart
- pm2 stop all — stop all
🐍 Quick FastAPI Server
- pip install fastapi uvicorn
- Create main.py with @app.get("/")
- uvicorn main:app --reload
- Access: localhost:8000
- Docs: localhost:8000/docs
── NGINX SERVER ──
$ pkg install -y nginx
$ nginx
$ nginx -s reload
$ nginx -s stop
── PHP + APACHE ──
$ pkg install -y apache2 php php-apache
$ echo "" > $PREFIX/share/apache2/default-site/htdocs/info.php
$ apachectl start
── MARIADB (MySQL) ──
$ pkg install -y mariadb
$ mysql_install_db
$ mysqld_safe --datadir=$PREFIX/var/lib/mysql &
$ mysql -u root
── DVWA HACKING LAB ──
$ cd $PREFIX/share/apache2/default-site/htdocs
$ git clone https://github.com/digininja/DVWA.git dvwa
$ cp dvwa/config/config.inc.php.dist dvwa/config/config.inc.php
$ nano dvwa/config/config.inc.php
── NGROK (expose to internet) ──
$ pkg install -y tsu
$ wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz
$ tar -xzf ngrok-v3-stable-linux-arm.tgz
$ ./ngrok http 8080
── TELEGRAM BOT ──
$ pip install python-telegram-bot aiogram requests
$ python bot.py &
── WEB SCRAPER STACK ──
$ pip install scrapy beautifulsoup4 selenium playwright
$ pip install cloudscraper httpx[http2] fake-useragent
$ scrapy startproject mybot
── CRON JOBS (scheduled tasks) ──
$ pkg install -y cronie
$ crond
$ crontab -e
── WHATSAPP VIA TWILIO API ──
$ pip install twilio flask
── TASK SCHEDULER WITH CELERY ──
$ pip install celery redis flower
$ pkg install -y redis && redis-server &
$ celery -A tasks worker --loglevel=info
⚠️ ETHICAL USE ONLY. Only scan/test systems you OWN or have written permission for. Unauthorized hacking = crime.
── NETWORK TOOLS ──
$ pkg install -y nmap netcat-openbsd dnsutils whois
$ pkg install -y ncat ncrack masscan
$ nmap -sV -p 1-1000 localhost
$ nmap -A -T4 192.168.1.1
── SQLMAP (SQL injection testing) ──
$ pkg install -y python sqlmap
$ sqlmap -u "http://localhost/dvwa/vulnerabilities/sqli/?id=1&Submit=Submit" --cookie="PHPSESSID=xxx;security=low" --dbs
── METASPLOIT FRAMEWORK ──
$ pkg install -y unstable-repo
$ pkg install -y metasploit
$ msfconsole
── HYDRA (password testing on your own systems) ──
$ pkg install -y hydra
$ hydra -l admin -P /usr/share/wordlists/rockyou.txt localhost http-post-form
── WORDLISTS + TOOLS ──
$ pkg install -y john hashcat aircrack-ng
$ git clone https://github.com/danielmiessler/SecLists.git ~/wordlists
── NETWORK MONITOR ──
$ pkg install -y tcpdump wireshark-cli
$ tcpdump -i any -w capture.pcap
── OLLAMA (easiest LLM runner) ──
$ curl -fsSL https://ollama.ai/install.sh | sh
$ ollama serve &
$ ollama pull tinyllama
$ ollama pull phi
$ ollama run tinyllama "Write a Python API for me"
── LLAMA.CPP (raw model runner) ──
$ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp
$ make -j4
$ ./main -m models/tinyllama.gguf -p "Hello, how are you?" -n 256
── WHISPER (speech to text) ──
$ pip install openai-whisper
$ whisper audio.mp3 --model tiny
── AI PYTHON LIBS ──
$ pip install transformers torch sentence-transformers
$ pip install langchain chromadb ollama
── BUILD AI ASSISTANT ──
$ pip install ollama rich
🧠 Best models for Android (4GB RAM): TinyLlama-1.1B (Q4), Phi-2 (Q4), Mistral-7B with Q2 quant. Always use GGUF format.
── MARIADB (MySQL) ──
$ pkg install -y mariadb
$ mysql_install_db && mysqld_safe &
$ mysql -u root -e "CREATE DATABASE saas_db; CREATE USER 'dev'@'localhost' IDENTIFIED BY 'password123'; GRANT ALL ON saas_db.* TO 'dev'@'localhost';"
── POSTGRESQL ──
$ pkg install -y postgresql
$ initdb $PREFIX/var/lib/postgresql
$ pg_ctl -D $PREFIX/var/lib/postgresql start
$ createdb mydb && psql mydb
── REDIS (cache + queues) ──
$ pkg install -y redis
$ redis-server &
$ redis-cli ping
── SQLITE (zero config) ──
$ pkg install -y sqlite
$ sqlite3 mydb.db "CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, email TEXT);"
── DB MANAGEMENT UI ──
$ pip install datasette
$ datasette mydb.db
── BACKUP SCRIPT ──
$ mysqldump -u root --all-databases > ~/backup_$(date +%Y%m%d).sql
── GIT SETUP ──
$ pkg install -y git gh
$ git config --global user.name "YourName"
$ git config --global user.email "you@email.com"
$ git config --global core.editor nano
$ ssh-keygen -t ed25519 -C "you@email.com"
$ cat ~/.ssh/id_ed25519.pub
── DOCKER (via proot-distro) ──
$ pkg install -y proot-distro
$ proot-distro install ubuntu
$ proot-distro login ubuntu
(ubuntu)$ apt install docker.io -y
── SSH SERVER (control phone from laptop) ──
$ sshd
$ whoami && ip addr show wlan0
── GITHUB ACTIONS RUNNER (CI/CD) ──
$ gh auth login
$ gh repo create myproject --public
$ gh workflow run
── MONITORING ──
$ pkg install -y htop neofetch termux-api
$ htop
── REST API WITH FASTAPI ──
$ pip install fastapi uvicorn pyjwt python-multipart passlib[bcrypt]
$ uvicorn main:app --host 0.0.0.0 --port 8000 --reload
── GRAPHQL WITH STRAWBERRY ──
$ pip install strawberry-graphql[fastapi]
── WEBSOCKET SERVER ──
$ pip install websockets
── PUSH NOTIFICATIONS ──
$ pip install firebase-admin
── EXPOSE TO INTERNET ──
$ ./ngrok http 8000
$ wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm
$ chmod +x cloudflared-linux-arm
$ ./cloudflared-linux-arm tunnel --url http://localhost:8000
alias ll='ls -la --color=auto'
alias py='python3'
alias nr='npm run'
alias gs='git status'
alias gc='git commit -m'
alias gp='git push'
alias serve='python3 -m http.server 8080'
alias myip='ip addr show wlan0 | grep "inet " | awk "{print $2}"'
alias ports='netstat -tulpn'
alias startdb='mysqld_safe --datadir=$PREFIX/var/lib/mysql &'
alias startnginx='nginx'
alias killall-servers='pkill -f "python|node|nginx|mysqld"'
neofetch
HISTSIZE=10000
SAVEHIST=10000