andrew-d/static-binaries
소개
정적으로 링크된 바이너리로 빌드된 다양한 *nix 도구
기타 프로젝트측정된 스타 증가
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +5
- in 1 month
- +6
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalstatic-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
- ag / the_silver_searcher
- binutils
- file
- ht
- nano
- nmap
- p0f v3
- pv (Pipe Viewer)
- python
- socat
- strace
- tcpdump
- yasm
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
NMAPDIRenvironment variable:NMAPDIR=/usr/share/nmap nmap -vvv -A www.target.comThe
nmap_centos5binary 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 -sSNote: 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
TERMINFOenvironment 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. Runfileas such:file -m /path/to/magic.mgc myfile.foo.
관련 프로젝트 살펴보기
불러오는 중…