dddjflip Posted January 19, 2014 Posted January 19, 2014 hi all, im aware of this post but it does not seem to quite fit the bill https://forums.hak5.org/index.php?/topic/25247-binbash-setting-variable-to-mac-addess/?hl=macchanger what im after is basicly a script that can periodicly auto change mac address am going away next month, and the hotel im in has "free wifi" but research has found its 24hrs free, then $19.95 per 12hrs therafter. also not sure if python or shell well work better more or less something like this #!/bin/bash ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up sleep 43200 (assuming it accepts this many seconds) then need a way to loop it thanks Quote
dddjflip Posted January 19, 2014 Author Posted January 19, 2014 cron job? thanks i`ll have a look into cron Quote
dddjflip Posted January 19, 2014 Author Posted January 19, 2014 ok so if i read that right i could do this ever 11hrs 30min 30 11 * * * /home/username/mac.sh mac.sh being #!/bin/bash ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up though is there a way with macchanger to only change the last 6 octets and keep the first 6 so keep 00:00:01 and change from aa:aa:aa to 99:99:99 random sets ie c0:ff:fe then 00:be:ef and so on Quote
.k. Posted January 19, 2014 Posted January 19, 2014 try macchanger -e wlan0 that will not change the vendor bytes Quote
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.