makoo

Tools

Hacker's toolbox

Everyday tools for rooms and CTFs. They run entirely in your browser: nothing you type is sent to Makoo's server.

Linux

Navigation and files

  • pwdPrint the current directory
  • ls -laList all files, including hidden, with details
  • cd /var/logChange directory (cd .. goes up, cd ~ goes home)
  • cat file.txtPrint a file
  • less file.txtPage through a long file (q to quit)
  • find / -name '*.conf' 2>/dev/nullFind files by name, hiding permission errors
  • file mystery.binGuess what kind of file something is

Searching text

  • grep -i 'failed' /var/log/auth.logCase-insensitive search in a file
  • grep -rn 'password' .Search all files below here, with line numbers
  • cut -d' ' -f1 access.log | sort | uniq -c | sort -rn | headTop values of the first column
  • tail -f /var/log/syslogFollow a log as it grows
  • wc -l file.txtCount lines

Permissions and users

  • idYour user, groups, and IDs
  • chmod 600 id_rsaOwner read/write only (needed for SSH keys)
  • sudo -lWhat you're allowed to run as root
  • find / -perm -4000 -type f 2>/dev/nullFind SUID binaries
  • cat /etc/crontabSystem-wide scheduled jobs

Processes and network

  • ps auxAll running processes
  • kill -9 1234Force-stop process 1234
  • systemctl status sshStatus of a service
  • ss -tulpnListening ports and the programs behind them
  • ip aNetwork interfaces and IP addresses
  • curl -i https://example.comHTTP request, showing response headers

Nmap

Only scan systems you own or have written permission to test. See the Rules page.

Discovery and ports

  • nmap -sn 10.10.10.0/24Find live hosts (ping scan, no ports)
  • nmap 10.10.10.5Top 1000 TCP ports
  • nmap -p- 10.10.10.5All 65535 TCP ports
  • nmap -p 22,80,443 10.10.10.5Specific ports
  • sudo nmap -sS 10.10.10.5SYN (half-open) scan
  • sudo nmap -sU --top-ports 50 10.10.10.5Top 50 UDP ports

Services, OS, and scripts

  • nmap -sV 10.10.10.5Detect service versions
  • sudo nmap -O 10.10.10.5Guess the operating system
  • nmap -sC -sV 10.10.10.5Default scripts plus versions (a common first scan)
  • nmap --script http-title -p80,443 10.10.10.5Run a specific NSE script
  • nmap -A 10.10.10.5Aggressive: versions, OS, scripts, traceroute

Speed and output

  • nmap -T4 10.10.10.5Faster timing (T0 slowest โ€“ T5 fastest)
  • nmap -sV -oA scan 10.10.10.5Save output in all formats (scan.nmap, .xml, .gnmap)
  • nmap -Pn 10.10.10.5Skip host discovery (for hosts that block ping)
  • nmap --reason 10.10.10.5Explain why each port has its state