Skip to main content

Run VIM/Busybox and remote binaries accesible by http/https/ftp as a Python module in Linux/x86_64 systems

Motivation: run programs not available in restricted environments where any package can be installed by pip

Installation

pip install binloader

Usage:

Vim

python -m binloader --local vim /etc/passwd

Busybox

python -m binloader --local busybox uname -a

Remote binary

python -m binloader  --remote https://github.com/dtschan/vim-static/releases/download/v8.1.1045/vim --app vim /etc/passwd

Run the binary from memory. Might be useful if there is no permissions to create/write files

python -m binloader --on_memory --local busybox id

Local development. Run tests

python tests/tests.py

ToDo

  1. Support for other OS/architectures
  2. Add other binaries

Author

Ulises ulises.odysseus22@gmail.com

Release files for binloader 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for binloader 0.0.3
File Size Uploaded
binloader-0.0.3.tar.gz 2.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for binloader 0.0.3
File Interpreter ABI Platform
binloader-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 MB

Release files / binloader-0.0.3.tar.gz

Download URL binloader-0.0.3.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
07a857f012ab1d7244dfb3679199acd95c76bec1da895501bb99b4b625ce8f1c
BLAKE2b-256 checksum
How to use checksums
d30db4635f4a38204919a81484b356bb5c5fa7bd37ebdbb78165e37f553c9899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / binloader-0.0.3-py3-none-any.whl

Download URL binloader-0.0.3-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ffa6f3fb41a0f0f96385370092e65d225c1789536204cdd9e7113d979dbe615f
BLAKE2b-256 checksum
How to use checksums
c7fa91e6e994d0059a16b63bb267c34bea0701406458ef05a635795c737101d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page