https://github.com/arthepsy/linux-portable-bin
Portable (static / old glibc linked) Linux binaries for red-team / blue-team
https://github.com/arthepsy/linux-portable-bin
binaries blue-team ctf glibc linux pentesting portable red-team static
Last synced: 6 months ago
JSON representation
Portable (static / old glibc linked) Linux binaries for red-team / blue-team
- Host: GitHub
- URL: https://github.com/arthepsy/linux-portable-bin
- Owner: arthepsy
- License: mit
- Created: 2020-05-20T18:24:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T21:35:24.000Z (over 1 year ago)
- Last Synced: 2024-04-16T10:56:30.601Z (over 1 year ago)
- Topics: binaries, blue-team, ctf, glibc, linux, pentesting, portable, red-team, static
- Language: C
- Homepage:
- Size: 210 KB
- Stars: 11
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# linux-portable-bin
Portable Linux binaries, either fully static or shared with old glibc symbol versioning.
Made for various for red-team and blue-team activities.
Binaries are produced with Docker, using [musl.cc](https://musl.cc/) for static compilation
and [dockcross](https://github.com/dockcross/dockcross) for shared binaries.
Manual hacks and patches are applied to get desired binaries.## usage
Change directory to relevant tool and run `run.sh` for available options.
Every `run.sh` has `build` argument to build Docker image and `pack` argument to extract and archive the package.
Example, building and packaging `nmap`:```
$ cd nmap
$ ./run.sh
$ ./run.sh build x86
$ ./run.sh pack x86
$ ls ./out
ncat-7.80.x86.tar.gz nmap-7.80.x86.tar.gz nping-7.80.x86.tar.gz
```## supported
| | versions | features | x86 | x64 |
| ---------------|------------------------------------------------------------------------|--------------------|-------------|-------------|
| aide | `0.17.4` | | static | static |
| busybox | `1.36.0.`, `1.35.0` | | static | static |
| openssl | `1.1.1s`, [`1.0.2-bad`](https://github.com/drwetter/openssl-1.0.2.bad) | `zlib`, `weak-ssl` | static | static |
| nmap | `7.92`, `HEAD` | `bad-ssl`, `weak-ssl`, integrates [`nmap-vulners`](https://github.com/vulnersCom/nmap-vulners), run script | static | static |
| socat | `1.7.4.4` | `ssl`, `weak-ssl` | static | static |
| masscan | `1.3.2`, `head` | includes `libpcap` | GLIBC_2.7 | GLIBC_2.7 |
| proxychains-ng | `4.16`, `4.15`, `head` | | GLIBC_2.9 | GLIBC_2.9 |
| oathtool | `2.6.7` | | static | static |
| go-graft | `0.2.15`, `head` | | N/A | static |
| graftcp | `0.5.0-beta.1`, `0.4.0`, `head` | | static | static |
| procps-ng | `4.0.2`, `3.3.16`, `head` | | static | static |