Skip to main content

Run VIM and Busybox. Optionally run remote binaries

Project description

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

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

binloader-0.0.3.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

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

binloader-0.0.3-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file binloader-0.0.3.tar.gz.

File metadata

  • Download URL: binloader-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for binloader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 07a857f012ab1d7244dfb3679199acd95c76bec1da895501bb99b4b625ce8f1c
MD5 a83afe89f79b58f761460cfd47452489
BLAKE2b-256 d30db4635f4a38204919a81484b356bb5c5fa7bd37ebdbb78165e37f553c9899

See more details on using hashes here.

File details

Details for the file binloader-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: binloader-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for binloader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa6f3fb41a0f0f96385370092e65d225c1789536204cdd9e7113d979dbe615f
MD5 5bda9204db284e839e1f7becf1ddc021
BLAKE2b-256 c7fa91e6e994d0059a16b63bb267c34bea0701406458ef05a635795c737101d1

See more details on using hashes here.

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