This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S uvx --script | |
| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = ["pycryptodome"] | |
| # /// | |
| """ | |
| Apple AirPort firmware (basebinary) parser and extractor. | |
| Parses APPLE-FIRMWARE format files, handles AES-CBC decryption, | |
| extracts kernel images, bootloaders, and FFS filesystems. |