static-binaries

Various *nix tools built as statically-linked binaries

  • 所有者: andrew-d/static-binaries
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者andrew-d/static-binaries
主編程語言Shell
編程語言Shell (語言數: 5)
平台
許可證Other
所有者活动
創建於2015-02-18 21:50:15
推送於2023-08-21 10:57:31
最后一次提交2020-04-26 13:49:10
發布數0
用户参与
星數3.4k
關注者數67
派生數602
提交數76
已啟用問題?
問題數36
打開的問題數29
拉請求數3
打開的拉請求數7
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?