New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

binloader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binloader

Run VIM and Busybox. Optionally run remote binaries

pipPyPI
Version
0.0.3
Maintainers
1

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

  • Support for other OS/architectures
  • Add other binaries

Author

Ulises ulises.odysseus22@gmail.com

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts