Login Register
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Tutorial [Ubuntu/BT5] Randomize MAC Address on start up. filter_list
Author
Message
[Ubuntu/BT5] Randomize MAC Address on start up. #1
1) load macchanger from the repositories

This is a simple, well documented, self-explanatory program that requires manual running - we want to automate it.

2) write a small script:

Code:
#!/bin/sh # run macchanger at boot sudo service network-manager stop sudo macchanger -A eth1 sudo macchanger -A wlan1 sudo service network-manager start exit 0

Note the wlan / eth codes might need tweaking

3) Save this as macrotator in /etc/init.d/ and make it executable

4) Register the script by running:

Code:
sudo update-c.d macrotator defaults

5) Reboot


::Confirmed on Ubuntu 12.10 & BackTrack 5 R3::

Original Source:
Quote:http://ubuntuforums.org/showthread.php?t=1542046

Reply

RE: [Ubuntu/BT5] Randomize MAC Address on start up. #2
Nice tutorial Goon. This will be pretty useful to some people here I'm sure.

Reply

RE: [Ubuntu/BT5] Randomize MAC Address on start up. #3
why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF

Reply

RE: [Ubuntu/BT5] Randomize MAC Address on start up. #4
Just waiting on a spare blank disk then I'm getting BT5R3 too. Nice tut.
[Image: F4Z9Dqw.png]

Reply

RE: [Ubuntu/BT5] Randomize MAC Address on start up. #5
(01-08-2013, 04:44 PM)w00t Wrote: why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF

This 'tool' will make it change for you, each time you reboot.

Reply

RE: [Ubuntu/BT5] Randomize MAC Address on start up. #6
Nice tutorial Goon, keep it up bro.
[Image: bAMEI93.jpg]


Jabber: charon@exploit.im

Reply

RE: [Ubuntu/BT5] Randomize MAC Address on start up. #7
(01-09-2013, 01:33 AM)Goon. Wrote:
(01-08-2013, 04:44 PM)w00t Wrote: why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF

This 'tool' will make it change for you, each time you reboot.

If you use a shell script to load it, why not use that same shell script to pull data from /dev/random and pop it into the MAC?

Reply

RE: [Ubuntu/BT5] Randomize MAC Address on start up. #8
(01-09-2013, 11:55 PM)w00t Wrote:
(01-09-2013, 01:33 AM)Goon. Wrote:
(01-08-2013, 04:44 PM)w00t Wrote: why use an external tool, ifconfig eth0 FF:FF:FF:FF:FF:FF

This 'tool' will make it change for you, each time you reboot.

If you use a shell script to load it, why not use that same shell script to pull data from /dev/random and pop it into the MAC?

Lol, If i coded it myself I'd have an answer to that question. xD

Reply







Users browsing this thread: