Jump to content

Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...