β˜•
Doc
  • πŸ‘‹Hi !
  • πŸ“’Documentations
    • πŸ€“Servers
      • πŸ”₯Ξ›rch Linux
      • πŸ’šCheckMk
      • πŸ“ΊZabbix
      • 🎰Google Authenticator
      • πŸš”FiveM
      • 🏎️Assetto Corsa
    • 😈Hacking
      • πŸ‘οΈNMAP
      • πŸ‰Hydra
      • πŸ’‰SQL Injection
      • πŸˆβ€β¬›Hashcat
      • πŸ“ŸShellcode
      • πŸ—ƒοΈLFI / RFI
      • 🐧Linux Password Cracking
      • ‴️Privesc
      • πŸšͺBypassing Antivirus (AV) Detection
      • πŸ’™Discord Tokens
      • πŸ–‡οΈLinks
    • πŸ’»Dev
      • 🌘C/C++
      • πŸ’€Assembly
    • πŸ—ƒοΈCheat Sheet
      • πŸͺƒGIT
      • ❌HTTP Codes and Methods
      • 🐳Docker
      • πŸ“°Regex
      • ⏰Crontab
  • πŸ΄β€β˜ οΈCTF TIPS
    • πŸŒ†Image Steganography
    • 🩻Useful Commands
Powered by GitBook
On this page
  • Instant find flags
  • Find string in each file from path
  • Find hosts without nmap
  1. CTF TIPS

Useful Commands

PreviousImage Steganography

Last updated 11 months ago

Instant find flags

find / -name "user.txt" -exec cat {} \; 2>/dev/null
find / -name "root.txt" -exec cat {} \; 2>/dev/null

Find string in each file from path

find / -type f -exec grep -iH 'string' {} \; # `-E` for regex

Find hosts without nmap

for i in {1..254} ;do (ping -c 1 192.168.1.$i | grep "bytes from" &) ;done
πŸ΄β€β˜ οΈ
🩻