🚀 NetHunter Start Commands
Start NetHunter Terminal
nethunterStart Kali Terminal
kali📦 System Update & Essential Tools
Update System
apt update && apt upgrade -yInstall Essential Tools
apt install nmap netcat-tools python3 python3-pip curl wget git -y🏠 Local Practice Lab Setup (DVWA)
Install Apache & PHP
apt install apache2 php php-mysql php-gd php-mbstring -yInstall MariaDB
apt install mariadb-server mariadb-client -yStart Services
service apache2 start && service mysql start💾 Database Setup & Configuration
Login to MySQL
mysql -u root -pCreate DVWA Database
CREATE DATABASE dvwa;Create User & Grant Privileges
CREATE USER 'dvwa'@'localhost' IDENTIFIED BY 'p@ssw0rd';
GRANT ALL PRIVILEGES ON dvwa.* TO 'dvwa'@'localhost';
FLUSH PRIVILEGES;
EXIT;Download DVWA
cd /var/www/html
git clone https://github.com/digininja/DVWA.git
cd DVWAConfigure DVWA
cp config/config.inc.php.dist config/config.inc.php
sed -i 's/p@ssw0rd/p@ssw0rd/g' config/config.inc.phpSet Permissions
chmod 777 /var/www/html/DVWA/hackable/uploads
chmod 777 /var/www/html/DVWA/external/phpids/ids.log🖥️ GUI Setup with KeX
Start KeX
kex &Full Screen Mode
kex --fullscreenSeamless Mode
kex --seamless⚡ Practice Steps
Use Nmap to scan your DVWA instance:
nmap localhostAccess DVWA in browser:
http://localhost/DVWADefault credentials: admin / password
Use SQLmap to test SQL injection:
sqlmap -u "http://localhost/DVWA/vulnerabilities/sqli/?id=1&Submit=Submit" --cookie="security=low; PHPSESSID=your_session_id" --dbsStart Metasploit Framework:
msfconsoleMobile pentesting has limitations:
- Many exploits may not work due to ARM architecture
- Limited CPU/RAM compared to desktop
- Some tools may crash or have reduced functionality
- Always test in isolated environment first
⚠️ Legal Warning:
Never test on systems without proper authorization. Only practice on your own devices, local networks, or authorized targets.
🛠️ Pentesting Tools Categories
Start with Information Gathering
Always begin with reconnaissance. More you know about target, better your attack will be.
Practice on Legal Targets Only
Use DVWA, Hack The Box, TryHackMe, or your own lab setups.
Learn One Tool at a Time
Master basic tools like Nmap, Burp Suite, and Metasploit before moving to advanced ones.
Document Everything
Keep notes of commands, techniques, and results. This builds your knowledge base.
Join Communities
Learn from others, share knowledge, and stay updated with latest security trends.