Archive for September, 2007
Linux MAC changer for Rapidshare downloads no comments
To get over rapidshare download limits. This works both for static and dynamic assigned IPs.
I got this off hak5.org and made some adjustments for my connection.
#!/usr/bin/python
import os, randommac = “00″ # MAC Addressed typically start with 00. Looks more legit
i=0
# This next part should be apparent. Fills in the mac with random hex
while (i<5):
mac = mac + “:” + str(hex(random.randint(0,15))[2:])
mac = mac + str(hex(random.randint(0,15))[2:])
i = i+1
changer = “ifconfig eth0 hw ether ” + str(mac)
print “New MAC generated:”, str(mac)# Stops network services, assigns new mac, restarts networking
raw_input(”Turn OFF modem. Press ENTER to stop net”)print “stopping net…”
print “changing mac…”os.system(”/etc/init.d/net.eth0 stop”) # You may need to change this.
os.system(changer)
raw_input(”Turn on modem. Wait for 4 lights. Press ENTER to start net”)
print “starting net…”
os.system(”/etc/init.d/net.eth0 start”)
Things people bring 2 comments
Show us your Go Bag at Lifehacker.com
What I got in my day pack is mainly garbage along with some things that never leave my bag:
- Phone charger
- Pen & marker
- Penlight
- Rubber hose torniquet
- Litmann stethoscope
- Notebook/organizer/GTD book
- Keys
- Rain jacket
- toolbox USB pen drive with:
- bootable SLAX configured for SAM, WEP/WPA, Metasploit, nmap, etc.
- gpg TwoFish symmetrically-encrypted password list for various net accounts
- small black umbrella with a broken rib
- kit full of toiletries (deodorant, toothbrush/paste, small soap, shaving kit, medications)
- 12-year old Victorinox SAK with a broken 5-inch blade tip
- biscuits and crackers for traffic jam munchies (i got gerd), some left open and in varied stages of fungal growth
- water bottle with stale week-old water (I really have to take this out and clean it sometime this year)
- extra shirt and socks and underwear (yes I change this everyday)
- small murse (man purse) for coins
- old bus tickets
- different books, almost always I got 2, one for review and a pocketbook for wasting time while in a bus or sitting waiting somewhere
* I was planning of getting an mp3 player for my audio books (only thing they’re good for IMHO, Classic Jazz and Classical music don’t sound well compressed) but when I have the time to buy it I always have the reason *not to*. Maybe I don’t really need it.
** As I’m not much of a gadget freak (just a phone for sms & voice and my USB pendrive bootable toolbox) I don’t carry alot of electronic things. Maybe if I can get my hands on a Sharp Zaurus and install Unix on it, or even a small GPS device… maybe. But that’s a long shot. I don’t even dream about carrying a laptop like most people do. Sometimes I have my digicam on hand but that’s getting quite rare nowadays as I don’t go out much and don’t see anything worth aiming a camera at.
