PyKernelPatch


NamePyKernelPatch JSON
Version 1.0.6 PyPI version JSON
download
home_pagehttps://github.com/Merculous/PyKernelPatch
SummaryiOS kernelcache patcher
upload_time2023-09-09 19:28:25
maintainer
docs_urlNone
authorMerculous
requires_python>=3.7,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # About the project

This is a WIP iOS 32-bit (atm) kernel patcher. The project is by all means
not to be used in any sort of production environment. This is and will always
be a library to help understand, develop, and automate certain patches to
an iOS kernel in particular.

# How the project works

So far, the only thing that is being done is that a binary file is being
passed to find offsets with a given pattern and is patching 1 or more bytes to
disable certain aspects of a decrypted kernelcache to enable restoring unsigned
firmware. This does not patch the kernel to be used in a jailbroken environment.
That requires more patches, but will be added to this project eventually.

# What's being patched

Unfortunately, I'm not fully certain what these patches do, however I know that
the patches that are being used tie into codesigning, amfi, signature checking,
and more. I'm not aware exactly what is being patched, but the patches that are
being used are derived from the sn0wbreeze project, which provides patched iOS
ipsw's which can be used to either jailbreak or to preserve the baseband that
comes with the ipsw. So far, the patches that are from the baseband preservation
mode that sn0wbreeze offers are being used in this project.

# What versions and devices are supported

So far, iOS 5.x is supported for iPhone 3GS. The patches themselves should be
very close or exactly the same. Only real differences between devices is where
everything gets loaded. 5.x have been tested and all of them restore without
issues.

iOS 6.0 and 6.1.3 are supported in 1.0.6. Version 1.0.5 should not be used
as I forgot to add a few lines to have 5.x work again. Please use >=1.0.6 for
all use cases.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Merculous/PyKernelPatch",
    "name": "PyKernelPatch",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Merculous",
    "author_email": "24739823+Merculous@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/43/1a/12eb3bad253a6ef8ef4f9dedfe81d187c18b128a2beb70587754daf2cbd0/pykernelpatch-1.0.6.tar.gz",
    "platform": null,
    "description": "# About the project\n\nThis is a WIP iOS 32-bit (atm) kernel patcher. The project is by all means\nnot to be used in any sort of production environment. This is and will always\nbe a library to help understand, develop, and automate certain patches to\nan iOS kernel in particular.\n\n# How the project works\n\nSo far, the only thing that is being done is that a binary file is being\npassed to find offsets with a given pattern and is patching 1 or more bytes to\ndisable certain aspects of a decrypted kernelcache to enable restoring unsigned\nfirmware. This does not patch the kernel to be used in a jailbroken environment.\nThat requires more patches, but will be added to this project eventually.\n\n# What's being patched\n\nUnfortunately, I'm not fully certain what these patches do, however I know that\nthe patches that are being used tie into codesigning, amfi, signature checking,\nand more. I'm not aware exactly what is being patched, but the patches that are\nbeing used are derived from the sn0wbreeze project, which provides patched iOS\nipsw's which can be used to either jailbreak or to preserve the baseband that\ncomes with the ipsw. So far, the patches that are from the baseband preservation\nmode that sn0wbreeze offers are being used in this project.\n\n# What versions and devices are supported\n\nSo far, iOS 5.x is supported for iPhone 3GS. The patches themselves should be\nvery close or exactly the same. Only real differences between devices is where\neverything gets loaded. 5.x have been tested and all of them restore without\nissues.\n\niOS 6.0 and 6.1.3 are supported in 1.0.6. Version 1.0.5 should not be used\nas I forgot to add a few lines to have 5.x work again. Please use >=1.0.6 for\nall use cases.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "iOS kernelcache patcher",
    "version": "1.0.6",
    "project_urls": {
        "Homepage": "https://github.com/Merculous/PyKernelPatch",
        "Repository": "https://github.com/Merculous/PyKernelPatch"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f74338bc42c020e6a73c002fc0bd04cbab254af63b629bda676ddcf0b3b01734",
                "md5": "cf6fe68231c563567ec32aa5c89bacbf",
                "sha256": "1051f596e69e713754e156cef4dc591c0c70c8db21e0c5e03b6ab9cfd0fbf478"
            },
            "downloads": -1,
            "filename": "pykernelpatch-1.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf6fe68231c563567ec32aa5c89bacbf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 9737,
            "upload_time": "2023-09-09T19:28:24",
            "upload_time_iso_8601": "2023-09-09T19:28:24.132810Z",
            "url": "https://files.pythonhosted.org/packages/f7/43/38bc42c020e6a73c002fc0bd04cbab254af63b629bda676ddcf0b3b01734/pykernelpatch-1.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "431a12eb3bad253a6ef8ef4f9dedfe81d187c18b128a2beb70587754daf2cbd0",
                "md5": "c7462dcf26228b7ad8139ea26fb6e7c2",
                "sha256": "4598dc4c9f2d8445529a66a5461073f490b571d1d8037ffb675e7d13c2f97c10"
            },
            "downloads": -1,
            "filename": "pykernelpatch-1.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "c7462dcf26228b7ad8139ea26fb6e7c2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 8787,
            "upload_time": "2023-09-09T19:28:25",
            "upload_time_iso_8601": "2023-09-09T19:28:25.471571Z",
            "url": "https://files.pythonhosted.org/packages/43/1a/12eb3bad253a6ef8ef4f9dedfe81d187c18b128a2beb70587754daf2cbd0/pykernelpatch-1.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-09 19:28:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Merculous",
    "github_project": "PyKernelPatch",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pykernelpatch"
}
        
Elapsed time: 0.11804s