Skip to content
-
Learn Cybersecurity & Ethical Hacking in Nepal with CyberSamir — Start Learning →
Cyber Samir Cyber Samir Cyber Samir

Learn Cybersecurity, Ethical Hacking & Bug Bounty in Nepal

Cyber Samir Cyber Samir Cyber Samir

Learn Cybersecurity, Ethical Hacking & Bug Bounty in Nepal

  • Home
  • About Us
  • Blogs
    • Ethical Hacking
    • Cybersecurity
    • Penetration testing
  • Tools
    • Phishing email Detector tool
    • Website Security Checker Tool
    • Age|Face Shape|Expression Guess
    • Text Cleaner Tool
    • Image Converter & Resizer Tool (Free Online)
  • Contact Us
  • Home
  • About Us
  • Blogs
    • Ethical Hacking
    • Cybersecurity
    • Penetration testing
  • Tools
    • Phishing email Detector tool
    • Website Security Checker Tool
    • Age|Face Shape|Expression Guess
    • Text Cleaner Tool
    • Image Converter & Resizer Tool (Free Online)
  • Contact Us
Close

Search

Subscribe
  • Facebook
  • Telegram
  • Instagram
  • Youtube
  • Linkedin
  • Whasapp
Cyber Samir Cyber Samir Cyber Samir

Learn Cybersecurity, Ethical Hacking & Bug Bounty in Nepal

Cyber Samir Cyber Samir Cyber Samir

Learn Cybersecurity, Ethical Hacking & Bug Bounty in Nepal

  • Home
  • About Us
  • Blogs
    • Ethical Hacking
    • Cybersecurity
    • Penetration testing
  • Tools
    • Phishing email Detector tool
    • Website Security Checker Tool
    • Age|Face Shape|Expression Guess
    • Text Cleaner Tool
    • Image Converter & Resizer Tool (Free Online)
  • Contact Us
  • Home
  • About Us
  • Blogs
    • Ethical Hacking
    • Cybersecurity
    • Penetration testing
  • Tools
    • Phishing email Detector tool
    • Website Security Checker Tool
    • Age|Face Shape|Expression Guess
    • Text Cleaner Tool
    • Image Converter & Resizer Tool (Free Online)
  • Contact Us
Close

Search

Subscribe
  • Facebook
  • Telegram
  • Instagram
  • Youtube
  • Linkedin
  • Whasapp
Ethical Hacking

Kali Linux Cheat Sheet

By cybersamir
March 22, 2025 3 Min Read
Comments Off on Kali Linux Cheat Sheet

Kali Linux Command Cheat Sheet

The ultimate reference guide for penetration testing tools and commands

Table of Contents

  • 1. Introduction & Basics
  • 2. System Commands
  • 3. Network Commands
  • 4. Information Gathering
  • 5. Vulnerability Scanning
  • 6. Exploitation Tools
  • 7. Web App Tools
  • 8. Password Attacks
  • 9. Wireless Attacks
  • 10. Sniffing & Spoofing
  • 11. Post Exploitation
  • 12. Digital Forensics
  • 13. Reporting Tools
  • 14. Social Engineering
  • 15. Anonymity Tools
  • 16. Bash Scripting

1. Introduction to Kali Linux

Essential commands for checking system status and managing packages.

Basic System Information

uname -a
Display system information including kernel version
cat /etc/os-release
Show Kali Linux version information
df -h
Check disk space usage
free -m
Display memory usage

Package Management

sudo apt update && sudo apt upgrade
Update package lists and upgrade packages
sudo apt install package_name
Install a new package
sudo apt remove package_name
Remove a package
sudo apt list –installed | grep keyword
Search for installed packages

2. System Commands

File System Navigation

ls -la
List all files with details
find / -name filename 2>/dev/null
Find files by name, hiding error messages
locate filename
Quickly locate files using database
updatedb
Update the locate database

User Management

sudo useradd -m username
Create a new user with home directory
sudo passwd username
Set or change password for a user
sudo usermod -aG sudo username
Add user to sudo group
id
Display current user ID and groups

Process Management

ps aux
Display all running processes
kill PID
Kill a process by its PID
killall process_name
Kill all processes with the given name
top
Display and manage running processes

3. Network Commands & Utilities

Network Configuration

ifconfig
Display network interfaces (Legacy)
ip a
Display network info (Modern)
iwconfig
Display wireless network interfaces
route -n
Display routing table

Troubleshooting

ping target
Test connectivity to a host
traceroute target
Trace route to a host
netstat -tuln
Show listening ports and established connections

4. Information Gathering

DNS Reconnaissance

host domain.com
Perform DNS lookup
dig domain.com any
Detailed DNS lookup
dnsenum domain.com
Enumerate DNS information
dnsrecon -d domain.com
DNS reconnaissance tool

Subdomain & WHOIS

sublist3r -d domain.com
Fast subdomain enumeration tool
whois domain.com
Query WHOIS information
theHarvester -d domain.com -b all
Gather emails, subdomains, hosts
recon-ng
Full-featured reconnaissance framework

5. Vulnerability Scanning

Port Scanning with Nmap

nmap -sS target
SYN scan (default, stealthy)
nmap -sV -sC target
Service version detection + default scripts
nmap -p- target
Scan all 65535 ports
nmap -A target
Aggressive scan (OS, versions, scripts)
nmap –script vuln target
Scan for vulnerabilities
masscan -p1-65535 target –rate=1000
Ultra-fast port scanner

Vuln Scanners

nikto -h target
Web server scanner
searchsploit keyword
Search Exploit-DB

6. Exploitation Tools

Metasploit Framework

msfconsole
Start Metasploit console
search exploit_name
Search for exploits (inside MSF)
use exploit_path
Select an exploit to use
show options
Display options
exploit
Run the selected exploit

7. Web Application Tools

wpscan –url http://example.com –enumerate u
WordPress vulnerability scanner
dirb url wordlist
Web directory brute force
gobuster dir -u url -w wordlist
Fast directory brute force
sqlmap -u http://site.com/p?id=1
Automated SQL injection
burpsuite
Start Burp Suite (Web Proxy)

8. Password Attacks

john –wordlist=list.txt hashfile
John the Ripper password cracker
hashcat -m 0 -a 0 hash list
Hashcat advanced recovery
hydra -l user -P list.txt ftp://ip
Online service brute force (Hydra)
crunch min max chars -o file
Generate custom wordlists

9. Wireless Attacks

airodump-ng interface
Capture wireless packets
aireplay-ng –deauth 10 -a bssid interface
Deauthentication attack
wifite
Automated wireless auditor
kismet
Wireless network detector

10. Sniffing & Spoofing

tcpdump -i interface
Capture network traffic (CLI)
wireshark
GUI Packet Analyzer
ettercap -G
Man-in-the-middle attacks (GUI)
arpspoof -i iface -t target gateway
ARP Spoofing tool
bettercap
The Swiss Army knife for network attacks

11. Post Exploitation

sudo -l
List sudo privileges
linpeas.sh
Auto privilege escalation script
find / -perm -u=s 2>/dev/null
Find SUID files
crontab -e
Edit cron jobs (Persistence)

12. Digital Forensics

strings file
Extract text strings from binary
binwalk file
Analyze firmware images
foremost -i file
File carving/recovery
volatility -f dump imageinfo
Memory forensics framework

13. Reporting Tools

faraday
Collaborative pentest platform
dradis
Reporting and collaboration

14. Social Engineering

setoolkit
Social Engineering Toolkit (SET)

15. Anonymity Tools

service tor start
Start Tor service
proxychains command
Run command via Proxychains
macchanger -r interface
Randomize MAC address

16. Bash Scripting

#!/bin/bash
Shebang line
echo “Text”
Print text to screen
read var
Take user input
if [ cond ]; then…
Basic If statement

© CyberSamir Kali Linux Cheat Sheet. Use responsibly.

↑
Author

cybersamir

Follow Me
Other Articles
Previous

Metasploit Framework Cheatsheet

Next

Wireshark Cheat Sheet – Quick Network Analysis Guide

Your ad here

300 x 250 banner slot

Reach Nepali students, developers, and security learners reading about ethical hacking, CTFs, and cyber news.

Book on WhatsApp Or send an email

Sponsors: VPNs, courses, hosting, security tools

Recent Posts

  • How to Recover Money from Online Scam Nepal: 2026 Guide
  • How to Check If Your Data Was Leaked (Nepal 2026 Guide)
  • Is PHP Dead? A 2026 Reckoning
  • Nepal Cyber Shield CTF: Top 10 Teams Qualified for the Grand Finale
  • How to Report Cybercrime in Nepal: Step-by-Step Guide (2026)

Nepal Cyber Shield 2026

Been scammed or hacked?

Act fast: save screenshots, don't delete chats, and report it.

  • 100 Nepal Police emergency line
  • +9779851286770 Nepal Police Cyber Bureau
Report here (Nepal Police) Read the step-by-step reporting guide

Money lost? Call your bank first so they can try to freeze the transfer.

Categories

  • Awareness
  • Blog
  • Career & Learning
  • Cybersecurity
  • Ethical Hacking
  • Nepal Tech & Digital Safety
  • News
  • Penetration testing
  • Tools & Reviews

Latest security alerts

  • pCloud Password Manager Hit by Cyber Attack Involving Email Address Exposure and Login Attempts
  • Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign
  • Microsoft Store App Found Delivering Vinci RAT Capable of Remote System Control
  • How to Keep Your Security Picture Current When Attackers Move at AI Speed
  • Hackers Trojanize Official Q-Dir and DesktopOK Downloads to Deliver Remote Access Malware
  • Nepal's Digital Systems Under Siege: Cyber Attacks Target Government and Private Sectors - Ratopati
  • Stock Market Trading Halted Due to Cyber Attack on Data Center - Ratopati
  • NEPSE’s ‘technical glitch’ was a ransomware attack. What happened? - OnlineKhabar English News
  • Nepal’s stock market has a bigger problem than a ransomware attack: Everything you need to know - Nepalnews.com
  • Nepal stock market halted after ransomware attack disrupts 72 brokers - The Star

You May Have Missed

how to recover money from online scam Nepal
Awareness

How to Recover Money from Online Scam Nepal: 2026 Guide

cybersamir
By cybersamir
November 28, 2026
data leak check nepal
Awareness

How to Check If Your Data Was Leaked (Nepal 2026 Guide)

cybersamir
By cybersamir
November 26, 2026
Cinematic PHP programming thumbnail with the headline “Is PHP Dead? 2026 Reckoning,” a glowing blue PHP elephant, and CyberSamir branding.
Awareness

Is PHP Dead? A 2026 Reckoning

cybersamir
By cybersamir
October 25, 2026
ctf top 10 selected teams
News

Nepal Cyber Shield CTF: Top 10 Teams Qualified for the Grand Finale

cybersamir
By cybersamir
October 4, 2026
How to report cybercrime in Nepal Cyber Bureau complaint guide
Awareness

How to Report Cybercrime in Nepal: Step-by-Step Guide (2026)

cybersamir
By cybersamir
September 27, 2026
Nepal Data Breach: 462,600 Citizens' IDs Allegedly Leaked," subtext "Dark web forum post claims mass PII theft from a .gov.np portal
News

Nepal Government Portal Allegedly Breached: 462,600 Citizens’ Data Reportedly Listed for Sale on Dark Web

cybersamir
By cybersamir
September 24, 2026
Cybersecurity

Top 10 Security Mistakes Nepali Websites Still Make in 2026

cybersamir
By cybersamir
September 23, 2026
News Cybersecurity

Nepal Data Hub Ransomware Attack: NEPSE Shutdown Explained

cybersamir
By cybersamir
September 23, 2026
News

Nepal Cyber Shield 2026: Everything You Need to Know About Nepal’s National CTF Championship

cybersamir
By cybersamir
September 19, 2026
CS

CYBERSAMIR

Explore. Hack. Secure. Learn.

About Us

CyberSamir provides cutting-edge insights into ethical hacking, penetration testing, and cybersecurity defense strategies for professionals and enthusiasts alike.

500+ Articles
15K+ Members
30+ Tools

Resources

  • Tutorials
  • Our Services
  • Tools
  • CTF Walkthroughs
  • Security News

Community

  • WhatsApp Group
  • Discord Server
  • Telegram Group
  • Upcoming Events
  • Certifications

Follow Us

Cyber Security Events Worldwide

© CyberSamir. All Rights Reserved.

Copyright 2026 — Cyber Samir. All rights reserved. Blogsy WordPress Theme