Friday, January 27, 2012

Reset Mac OS X Password

If you have lost your password on Mac, here are a simple list on how to reset your password:

Mac OS X 10.7 - Lion

  1. Boot into single user mode (press Command-S at power on)
  2. Type fsck -fy
  3. Type mount -uw /
  4. Type launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
  5. Type ls /Users
  6. Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password.
  7. Reboot


Mac OS X 10.6 - Snow Leopard

  1. Boot into single user mode (press Command-S at power on)
  2. Type fsck -fy
  3. Type mount -uw /
  4. Type sh /etc/rc
  5. Type ls /Users
  6. Type passwd username
  7. Reboot



Mac OS X 10.5 - Leopard

  1. Boot into single user mode (press Command-S at power on)
  2. Type fsck -fy
  3. Type mount -uw /
  4. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
  5. Type ls /Users
  6. Type dscl . -passwd /Users/username
  7. Reboot


Mac OS X 10.4 - Tiger


  1. Boot into single user mode (press Command-S at power on)
  2. Type fsck -fy
  3. Type mount -uw /
  4. Type sh /etc/rc
  5. Type ls /Users
  6. Type passwd username
  7. Reboot



Last Resort! WARNING! You may lose settings with this one!

  1. Boot into single user mode (press Command-S at power on)
  2. Type fsck -fy
  3. Type mount -uw /
  4. Type rm /var/db/.AppleSetupDone
  5. Reboot


There it is. Quick and ugly. If there's any question, please, feel free to comment.

Monday, January 23, 2012

Guide: Bypass Captive Portals

Ever connected to an open WiFi somewhere, like hotels or airports, and you realize that it isn't open after all. Your browser is being redirected to a site which requires payment or some kind of authentication (Captive Portal). In this guide, I'll show you how to bypass these portals and freely surf the web.

The hack is to send traffic through the DNS protocol, disguising your surfing as a harmless DNS request. This guide does not endorce illegal activity.

A client bypassing the Captive Portal using DNS Tunneling

For this to work, you'll need the following:
  1. A Linux machine which will act as a server (A Windows machine is also possible, but not recommended). This server must have internet access and should be the computer which is always on, or better: a server. NOTE! If your server is already running a DNS service, this will not work.
  2. A client computer for testing.
  3. Port UDP 53 forwarded to server. Check Portforward.com for how to do this.
Let's begin..

Tuesday, January 17, 2012

Bitcasa Invites

Bitcasa is kinda like Dropbox, but offers infinite storage! Bitcasa is still in beta and requires an invite. New members get 5 invites (at least I did), and I will share this with you.


Please help sharing Bitcasa by commenting your invite url here! Hope you appreciate this opportunity!

Invite link - Now infinite invites!

Edit: Alternatively, check this Twitter search

Regards
Tomas