The Pwnage Tool by the DevTeam hacker group allows you to create custom iPhone firmwares for the purpose of jailbreaking, to get full control over your device (see why you should jailbreak here).