• Stars
    star
    2,720
  • Rank 16,742 (Top 0.4 %)
  • Language
    Shell
  • License
    Other
  • Created over 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Various *nix tools built as statically-linked binaries

static-binaries

This repo contains a bunch of statically-linked binaries of various tools, along with the Dockerfiles / other build scripts that can be used to build them. I generally just create these as I need them - not all tools are available for every platform or architecture. Please file an issue if you want a new tool or a tool on a new platform.

Current List of Tools

Building

Generally, if the directory contains a Dockerfile, you can run the build by doing something like (where FOO is the directory name):

cd FOO
docker build -t static-binaries-FOO .
docker run -v `pwd`/../binaries:/output static-binaries-FOO

Notes:

nmap

  • In order to do script scans, Nmap must know where the various Lua files live. You can do this by setting the NMAPDIR environment variable:
    NMAPDIR=/usr/share/nmap nmap -vvv -A www.target.com

  • The nmap_centos5 binary isn't statically-linked; rather, it's built on CentOS5, so it "should" run on just about every modern version of Linux. Use this if something in the static binary doesn't work properly.

  • On Windows, the nmap binary will probably not work without WinPcap. It also appears to have a random crashing problem with regular TCP scans - I'm not quite sure what's up with that yet.

nping

  • On Windows, nping has the same issues as nmap (see above).

python

  • Getting a static build of Python that works is HARD. Not everything in this particular tool functions properly, and you have to run it with some strange options, but it's usable. In short, you need to run it like so:
    PYTHONPATH=/path/to/python2.7.zip python -sS

  • Note: sqlite isn't currently supported. Adding this is an ongoing TODO of mine.

ht

  • On Linux, the appropriate terminal information must be present. On some versions of Linux (e.g. Debian Jessie), the information may be in a different place - you can use the TERMINFO environment variable to specify the correct location: TERMINFO=/lib/terminfo ./ht

file

  • You need to pass the correct magic database to file - one is provided named magic.mgc. Run file as such: file -m /path/to/magic.mgc myfile.foo.

More Repositories

1

cpplog

Simple C++ logging library
C++
82
star
2

rough-auditing-tool-for-security

Automatically exported from code.google.com/p/rough-auditing-tool-for-security
C
80
star
3

emoji256

Base256 encoding with emoji
Rust
75
star
4

interfaces-rs

Library to work with network interfaces in Rust.
Rust
52
star
5

rssh

Reverse shell over SSH
Go
39
star
6

go-termutil

Terminal utilities for golang
Go
39
star
7

goscrape

Structured scraper for Go
Go
24
star
8

docker-rust-musl

Docker container containing a Rust compiler that uses the musl libc on Linux
Shell
21
star
9

go-webapp-skeleton

Skeleton of a Go webapp with an API, DB, migration, static file and template support.
Go
19
star
10

regex-rustgo

Attempt to use the Rust regex library from Go
Go
14
star
11

binscope

Check a Windows PE file for some basic security flags
Go
12
star
12

docker-osxcross

9
star
13

osquery-profiles

Extension table to show information about installed configuration profiles on OS X
C++
8
star
14

imagehost

Simple self-hosted image hosting service.
Go
7
star
15

extika

Elixir wrapper for Apache Tika
Elixir
7
star
16

leveldb-rs

Bindings to LevelDB for Rust
Rust
6
star
17

tinycdb-rs

Bindings to TinyCDB for Rust.
C
5
star
18

build-nix

Collection of bash scripts to build self-contained Nix binaries
Nix
5
star
19

Hoboken

Sinatra-like web framework for Python
Python
5
star
20

MarkovHN

Markov generator for HN. You probably don't want to use this.
5
star
21

csmrand

Golang's math/rand backed onto crypto/rand's CSPRNG
Go
5
star
22

findcrypt

Rust
4
star
23

site-monitor

Monitor URLs for changes
Go
4
star
24

demux

Straightforward protocol demultiplexer
Go
4
star
25

lua-ext

Standard library / extensions for Lua
Lua
4
star
26

profiles

Some random reverse-engineering of Apple's ConfigurationProfiles.framework
C++
4
star
27

mastodon_exporter

Prometheus metric to export data about a Mastodon instance
Go
4
star
28

meta

A bunch of random projects that don't need their own repo
Go
4
star
29

exmagic

libmagic NIF bindings for Elixir
Elixir
4
star
30

keep

Simple self-hosted Google Keep replacement
JavaScript
3
star
31

dotfiles

My dotfiles
Python
3
star
32

json-strip

Strip comments from a JSON file
C++
3
star
33

id

Golang package for generating IDs with some nice properties.
Go
3
star
34

docker-musl-clang

Docker image that contains a version of clang built to support the musl libc
Shell
3
star
35

python-testing-helpers

Some helpers and enhancements for the Python unittest module.
Python
3
star
36

systemd-backoff

Exponential backoff helper for systemd services
Go
3
star
37

bbuild

Pseudo-package manager focused on static binaries.
Shell
3
star
38

pub-block

Rust syntax extension that makes things public
Rust
2
star
39

cmacrop

Better C macros in Python
Python
2
star
40

lzma

Automatically exported from code.google.com/p/lzma
Go
2
star
41

holepunch

Tunnel packets over various different transports
Go
2
star
42

immutable-cursor

An implementation of cursors on top of Facebook's immutable-js
JavaScript
2
star
43

Specter.py

WebKit scripting with Python
Python
2
star
44

lenovo-throttling-rust

Port of https://github.com/erpalma/lenovo-throttling-fix/ to Rust
Rust
2
star
45

Shift

A generic template library for Python
Python
2
star
46

bttray

Simple tray icon to swap Bluetooth headset modes
Python
2
star
47

mastodon-tools

A set of helpful utilities for Mastodon; useful primarily for instance owners/admins
Go
2
star
48

gateway-failover

Failover controller for dual-WAN systems to automatically update default route
Go
1
star
49

docker-nginx-php

Nginx
1
star
50

wolf-old

Simple little boilerplate around httprouter and net/context
Go
1
star
51

aws-ip-scan

Quick-and-dirty scanner for public IPs in AWS
Go
1
star
52

raku

Java
1
star
53

sshcp

Golang helper library to copy a file over SSH
Go
1
star
54

docker-gitlist

Shell
1
star
55

dotfiles-redux

Simpler, more compatible dotfiles
Vim Script
1
star
56

docker-tools

Some useful tools for working with Docker.
Go
1
star
57

enkil

A Python system information module
Python
1
star
58

docker-busybox-nix

Build a Docker image containing the base Nix install
Shell
1
star
59

docker-transmission

Transmission daemon running in a small Alpine Linux container
Shell
1
star
60

secure-transport-proxy

Proxy that allows applications to use client certificates in the Apple Keychain via Secure Transport
Rust
1
star
61

docker-musl-cross

Docker image containing the musl-cross toolchain
1
star
62

computer2mqtt

Publish information about a computer to MQTT
Go
1
star
63

affilpy

Affiliate link library for Python
Python
1
star
64

dashboard

A dashboard. Surprising, huh?
C
1
star
65

futures-multistream

A Rust futures-rs implementation that supports selecting over multiple sub-Streams.
Rust
1
star
66

docker-mingw-w64

1
star
67

socks

SOCKS5 proxy with some useful features
Go
1
star
68

vim-grep-syntax

Vim syntax for grep output
Vim Script
1
star
69

minibashrc

A simple (< 100 lines) and well-commented bashrc that you can wget onto any computer.
Shell
1
star
70

batcher

Package for collecting batches of concurrent calls in Go
Go
1
star
71

enbridge-scraper

Simple Puppeteer-based scraper for Enbridge Gas
Nix
1
star
72

oisc

Old one-instruction-set compiler I wrote
Python
1
star
73

afterarch

Helper functions for storing a ZIP archive appended to a Go binary
Go
1
star
74

hass-addons

Shell
1
star