Forrest logo
back to the aireplay-ng tool

aireplay-ng:tldr:94a98

aireplay-ng: Send a specific number of disassociate packets given an access point's MAC address, a client's MAC address and an interface.
$ sudo aireplay-ng --deauth ${count} --bssid ${ap_mac} --dmac ${client_mac} ${interface}
try on your machine

This command utilizes the aireplay-ng tool, which is a part of the Aircrack-ng suite, to perform a deauthentication attack on a specific client connected to a Wi-Fi access point.

Let's break down the components of this command:

  • sudo: This is a command used in Unix-like operating systems to execute a command with administrative (root) privileges. It is often necessary for running certain commands that require elevated permissions.

  • aireplay-ng: This is the main command used to launch different attacks related to Wi-Fi network and traffic.

  • --deauth ${count}: This option specifies the number of deauthentication frames that should be sent to the client. ${count} is a placeholder that represents the desired number of deauthentication frames to be sent. You can replace ${count} with an actual number.

  • --bssid ${ap_mac}: This option specifies the MAC address of the target access point (AP). ${ap_mac} is a placeholder that should be replaced with the actual MAC address of the AP.

  • --dmac ${client_mac}: This option specifies the MAC address of the client device to deauthenticate. ${client_mac} is a placeholder that should be replaced with the actual MAC address of the client device.

  • ${interface}: This is the network interface (e.g., wlan0, eth0) on which the attack will be carried out. It is a placeholder that should be replaced with the actual name of the network interface.

By executing this command with appropriate values for the placeholders, aireplay-ng will send deauthentication frames to the specified client, effectively disconnecting it from the targeted access point.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the aireplay-ng tool