MHN
Add a comment on Hacker News →
1 of 61 comments
  1. macchanger

    Also extends time limites wifi.

    Or use my gypsy code

    import random

    import os

    mac=''

    os.system('/etc/init.d/networking stop')

    os.system('ifconfig wlan1 down')

    os.system('ifconfig eth1 down')

    os.system('ifconfig wlp8s0 down')

    os.system('ifconfig wlp7s0 down')

    for i in range(0,3):

    __r=random.randint(16, 256)

    __mac=mac+":"+str(hex(r))[2:]

    mac="00:07:E9"+mac

    print mac

    os.system('/etc/init.d/networking stop')

    os.system('ifconfig wlan1 hw ether '+mac)

    os.system('ifconfig wlp8s0 hw ether '+mac)

    os.system('ifconfig wlp7s0 hw ether '+mac)

    os.system('ifconfig eth1 hw ether '+mac)

    os.system('ifconfig wlan1 up')

    os.system('ifconfig eth1 up')

    os.system('ifconfig wlp8s0 up')

    os.system('ifconfig wlp7s0 up')

    os.system('/etc/init.d/networking start')

    os.system('ifconfig')

    print "echo 'MAC changed..."

    print "new random MAC "+mac