YUNOVA · Ethical Hacking

Module 3: Linux and tools for hackers

Notes for offline study · 30 November 2026

Linux commands you will need

Key points

  • Navigation के लिए pwd, ls, cd और files के लिए cat, cp, mv, rm, mkdir बुनियादी commands हैं।
  • grep text में pattern ढूँढता है और find files ढूँढता है; logs और output छाँटने में ये बहुत काम आते हैं।
  • chmod permissions बदलता है और sudo admin अधिकार से command चलाता है; sudo सोच-समझकर इस्तेमाल करें।
  • ip a (या ifconfig) से अपना IP address और network interfaces देख सकते हैं।

The Kali tool menu

Key points

  • Kali का Applications menu tools को काम के हिसाब से categories में रखता है, जैसे Information Gathering, Vulnerability Analysis, Web Application Analysis, Password Attacks और Wireless Attacks।
  • Nmap (scanning), Burp Suite (web testing), Metasploit (exploitation framework), John the Ripper और Hashcat (password cracking), Wireshark (packet analysis) आम tools हैं।
  • हर tool के साथ man page या --help option होता है; नया tool चलाने से पहले उसे पढ़ें।
  • Tools की संख्या से ज़्यादा ज़रूरी है यह समझना कि कौन सा tool किस phase में काम आता है।

Networking refresher for testers

Key points

  • IP address device को network पर पहचानता है और port उस device पर चल रही service को; जैसे HTTP का default port 80 और HTTPS का 443।
  • TCP connection three-way handshake (SYN, SYN-ACK, ACK) से बनता है; UDP connectionless है।
  • कुछ आम ports: 21 FTP, 22 SSH, 23 Telnet, 25 SMTP, 53 DNS, 445 SMB, 3389 RDP।
  • Subnet (जैसे 192.168.1.0/24) बताता है कि कौन से addresses एक ही local network में हैं।

Working with a terminal and SSH

Key points

  • SSH (Secure Shell) किसी दूसरे computer पर encrypted remote terminal देता है; default port 22 है।
  • Connect करने का सामान्य रूप ssh user@host है; host से पहली बार connect होने पर उसका fingerprint verify करें।
  • Password की जगह SSH keys (ssh-keygen से बनाई गई) ज़्यादा सुरक्षित हैं; private key कभी share न करें।
  • scp से SSH पर files copy की जा सकती हैं।

Bash one-liners for testers

Key points

  • Pipe (|) एक command का output दूसरी command को देता है, जैसे output को grep से छाँटना।
  • sort, uniq, cut और wc जैसे commands बड़े output से काम की जानकारी निकालने में मदद करते हैं।
  • > output को file में लिखता है और >> file के अंत में जोड़ता है; results save करने के लिए उपयोगी।
  • for loop से एक ही command कई targets पर चला सकते हैं, पर सिर्फ़ scope में दिए targets पर।

Keeping notes of a test

Key points

  • Test के दौरान हर command, समय, target और result note करें; report इन्हीं notes से बनती है।
  • Screenshots और tool outputs को evidence के रूप में save करें।
  • CherryTree, Obsidian या साधारण Markdown files जैसे note-taking tools अच्छे विकल्प हैं।
  • Client का data और notes सुरक्षित (encrypted) रखें, क्योंकि उनमें sensitive जानकारी होती है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.