• This repository has been archived on 07/Nov/2023
  • Stars
    star
    124
  • Rank 286,580 (Top 6 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fork of the pbzx stream parser (www.tonymacx86.com/general-help/135458-pbzx-stream-parser.html)

pbzx stream parser

This repository is a fork of PHPdev32's implementation of the pbzx stream parser program of which the original source code can be found here. Pbzx is a format employed in later versions of OSX disk images (starting with 10.10) to encode payload data in .pkg files. Pbzx unpacks .pkg files and outputs to stdout to be unpacked with cpio. Note that .pkg files are plain .xar archives.

pbzx SomePkg.pkg | cpio -i  # or
pbzx -n Payload  | cpio -i

To compile pbzx, do

clang -llzma -lxar -I /usr/local/include pbzx.c -o pbzx

If <lzma.h> or <xar/xar.h> are missing, install them with Homebrew using

brew install xz && brew link xz

Install via Homebrew

You can install pbzx via Homebrew now!

$ brew install pbzx

Changelog

v1.0.2

  • Add -v flag to print version of pbzx

v1.0.1

  • Support unpacking from stdin and and plain pbzx files (see new command-line parameters)
  • Add command-line flags
    • Flag - specifies reading a pbzx file from stdin (currently does not support xar input)
    • Flag -n specifies that the file is a pbzx instead of a xar file
    • Flag -h shows usage and some information, then exits

v1.0.0

  • Initial version with exact code from source.

License

Copyright (C) 2017 Niklas Rosenstein Copyright (C) 2014 PHPdev32

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

More Repositories

1

pydoc-markdown

Create Python API documentation in Markdown format.
Python
450
star
2

myo-python

Python bindings for the Myo SDK
Python
257
star
3

houdini-library

My personal library of Houdini digital assets and shelf tools.
C
111
star
4

movrepair

Attempts to repair a broken .MOV file using a working reference file
Python
39
star
5

python-localimport

Isolated import of Python Modules for embedded applications.
Python
27
star
6

flux-ci

Flux is your own private & lightweight CI server.
Python
27
star
7

slap

Slap is a CLI to assist in the process for developing and releasing Python packages.
Python
19
star
8

python-github-bot-api

API for creating GitHub bots and webhooks in Python.
Python
19
star
9

python-baserow-client

Python client for Baserow.io
Python
15
star
10

python-docspec

Docspec is a JSON object specification for representing API documentation of programming languages.
Python
13
star
11

houdini-nodeshape-converter

Convert SVG paths to Houdini JSON nodeshapes.
Python
13
star
12

python-databind

Databind is a library inspired by jackson-databind to de-/serialize Python dataclasses.
Python
11
star
13

novella

Novella is a build system for processing data in a temporary directory isolated from the project, designed for documentation source code preprocessing.
Python
11
star
14

file.io-cli

Command-line tool to upload files to https://file.io
Python
8
star
15

python-typeapi

Typeapi provides a sane and stable API to introspect Python type hints.
Python
6
star
16

readthedocs-custom-steps

A hack to run custom shell commands when building documentation on Read the Docs.
Python
5
star
17

terraform-helm-hcloud-k3s-cluster-autoscaler

Deploy Kubernetes cluster-autoscaler for Hetzner cloud using Helm + Terraform.
HCL
3
star
18

osxt

Install arbitrary XCode command-line tools, generate macOS ISO's and set-up an OSX VirtualBox machine.
Python
3
star
19

nocrux

painless per-user daemon manager
Python
3
star
20

git-profile

Easily switch between multiple Git configuration profiles on an individual repository basis.
Python
2
star
21

python-builddsl

A superset of the Python programming language with support for closures and multi-line lambdas
Python
2
star
22

poetry-link

A Poetry plugin to add a "link" command for editable installs.
Python
2
star
23

nyl

Nyl facilitates the orchestration of infrastructure and application deployment pipelines across different tools, making them work together in a seamless manner.
Python
1
star
24

poetry-release

A Poetry plugin to automate releasing new versions of Python packages.
Python
1
star
25

git-svnmodule

Track svn repositories as modules in git. Experimental
Python
1
star
26

python-hcl2-eval

Evaluate HCL2 configuration ASTs from hcl2-ast.
Python
1
star
27

python-nr.io.graphviz

A simple utility for writing Graphviz files.
Python
1
star
28

python-hcl2-ast

A HCL2 parser based on python-hcl2 that produces an Abstract Syntax Tree.
Python
1
star
29

git-worklog

Migrated to https://gitlab.niklasrosenstein.com/NiklasRosenstein/python/nr.cli.git-worklog
Python
1
star
30

cytonic

[Unmaintained] A Python framework to define REST APIs and automatically generate server side bindings and clients.
Python
1
star
31

statigen

Statigen is a minimal, customizable static site generator.
Python
1
star