View Single Post
Old October 11th, 2011, 12:12 AM   #17 (permalink)
pinginn
New Member
 
Join Date: Mar 2011
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

#!/bin/ash
#a pinginn was here
#save as mac-spoof.sh [chmod 777 mac-spoof.sh su > sh mac-spoof.sh ](From term)
echo "Backing Up Mac Address To SDcard!"
ifconfig wlan0| grep HWaddr >> /mnt/sdcard/mac.log
echo "!Org Mac Address!" >> /mnt/sdcard/mac.log
echo "Seting Random Address"
ip link set wlan0 address 00:12:f0:dd:cc:dc
#end

this will change your mac addy to "00:12:f0:dd:cc:dc" change as needed
i test it in the standerd sdk works with 2.1 it also backs up your org address
to the sdcard for safe keeping..
im runing a x10 with 2.3.5 on it an it is not allowing me to set the mac with the ip etc cmd so im going to keep working on a script for the xperia users. but for the rest that shoud work....
also android uses busybox to send all commands to the kernel and busybox uses ash and not bash
just a heads up anyway hope this helps sum ppl


EDIT::1

#!/bin/ash
#writing for Xperia X10 MiUi 1.9.9
#X10 Android 2.2/2.3 set /data/misc/wifi/mac_address to
#/data/misc/wi-fi/MAC*address
#a pinginn was here
#save as mac-spoof.sh [chmod 777 mac-spoof.sh su > sh mac-spoof.sh ](From term)
echo "Backing Up Mac Address To SDcard!"
ifconfig wlan0| grep HWaddr >> /mnt/sdcard/mac.log
echo "Org Mac Address" >> /mnt/sdcard/mac.log
echo "Seting Random Address"
rm /data/misc/wifi/mac_address
echo "00:12:f0:dd:cc:dc" >> /data/misc/wifi/mac_address
echo "Your Mac Address Is Spoffed To 00:12:f0:dd:cc:dc"
#END

EDIT::2
that is currintly work on my android 2.3.5 (MiUi 1.9.9) =D spoffing

EDIT::3
also im going to try and get a database of wireless mac addys so that it will pull an replace
the address with diff address everytime the script is execed so it can be added to corn =D

EDIT::4
after 24hur test changing networks worked fine however enabling GPS restored the org mac address. so im gessing the mac is assinged to the GPS and that must be the same to access the satellites.
anyway enjoy spoofing
pinginn is offline  
Last edited by pinginn; October 12th, 2011 at 03:16 AM.
Reply With Quote