Giter Club home page Giter Club logo

iosrestrictionbruteforce's Introduction

iOS Restriction Passcode Brute Force Version

Python OS iOS PRs Welcome Code Climate

Overview

This version of the application is written in Python, which is used to crack the restriction passcode of an iPhone/iPad takes advantage of a flaw in unencrypted backups allowing the hash and salt to be discovered.

Restriction Passcode

DEPENDENCIES

This has been tested with Python 2.7 and Python 3.7

Requires requests Install with pip install requests

Usage

usage: ioscrack.py [-h] [-c] [--mojave] [-b folder]

a script to crack the restriction passcode of an iDevice

optional arguments:
-h, --help            show this help message and exit
-c, --cli             prompts user for input
-m, --mojave              helps user run script on macOS mojave
-b folder, --backup folder
                    where backups are located

How to Use

  1. Clone repository

    git clone https://github.com/thehappydinoa/iOSRestrictionBruteForce && cd iOSRestrictionBruteForce
  2. Make sure to use iTunes or libimobiledevice to backup the iOS device to computer

  3. Run ioscrack.py

    python ioscrack.py

GIF

How It Works

Done by cracking the pbkdf2 hash with my lambda function using Passlib

  1. Tries the top 20 four-digit pins

  2. Tries birthdays between 1000-(50 years into the future)

  3. Brute force pins from 1 to 9999

  4. Adds successful pins to local database

How to Protect Against

  1. Encrypt backups

  2. Backup only on trusted computers

Notes

You may have trouble accessing ~/Library/Application\ Support/MobileSync/Backup/ on macOS Mojave and higher as SIP (System Integrity Protection) prevents programmatic access to that folder. The way around this is to copy the folder Backup from the above path to the iOSRestrictionBruteForce folder then run python ioscrack.py -b Backup. Or run python ioscrack.py --mojave

Contributing

Best ways to contribute

  • Star it on GitHub - if you use it and like it please at least star it :)
  • Promote
  • Open issues
  • Submit fixes and/or improvements with Pull Requests
  • Add to the wiki

Promotion

Like the project? Please support to ensure continued development going forward:

Acknowledgments

LICENSE

MIT License

iosrestrictionbruteforce's People

Contributors

dependabot-preview[bot] avatar thehappydinoa avatar yuejd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.