Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a0024b4

Browse files
Slight Makefile and README tidy
1 parent 7bb2b63 commit a0024b4

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

‎Makefile

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ dropbear-2020.81: zlib-1.2.11
7878
$(GRABBY_HANDS) /output/bin/dropbearkey /grabby/dropbearkey-2020.81
7979
$(GRABBY_HANDS) /output/sbin/dropbear /grabby/$@
8080

81-
socat-1.7.4.1: readline-8.1 openssl-1.1.1k
81+
socat-1.7.4.1: openssl-1.1.1k readline-8.1
8282
$(DOCKER_BUILD)
8383
$(GRABBY_HANDS) /output/bin/socat /grabby/$@
8484

85-
nmap-7.90: openssl-1.1.1k libpcap-1.10.1 zlib-1.2.11 pcre-8.45
85+
nmap-7.90: libpcap-1.10.1 openssl-1.1.1k pcre-8.45 zlib-1.2.11
8686
$(DOCKER_BUILD)
8787
$(GRABBY_HANDS) /output/bin/nmap /grabby/$@
8888

@@ -94,30 +94,33 @@ tcpdump-4.99.1: libpcap-1.10.1
9494
$(DOCKER_BUILD)
9595
$(GRABBY_HANDS) /output/bin/tcpdump /grabby/$@
9696

97-
loggedfs-0.9: pcre-8.45 libxml2-2.9.12 fuse-2.9.9
97+
loggedfs-0.9: fuse-2.9.9 libxml2-2.9.12 pcre-8.45
9898
$(DOCKER_BUILD)
9999
$(GRABBY_HANDS) /output/bin/loggedfs /grabby/$@
100100

101101
busybox-1.33.1: musl-cross-make
102102
$(DOCKER_BUILD)
103103
$(GRABBY_HANDS) /output/bin/busybox /grabby/$@
104104

105-
# Currently this will only build on 64 bit ARM, 32 or 64 bit x86. This will be sorted out later.
106-
nsjail-3.0: libnl-3.2.25 protobuf-3.19.1
105+
openssh-8.8p1: openssl-1.1.1k zlib-1.2.11
107106
$(DOCKER_BUILD)
108-
$(GRABBY_HANDS) /build/nsjail-3.0/nsjail /grabby/$@
107+
$(GRABBY_HANDS) /output/bin/ssh /grabby/ssh-8.8p1
108+
$(GRABBY_HANDS) /output/bin/scp /grabby/scp-8.8p1
109+
$(GRABBY_HANDS) /output/bin/sftp /grabby/sftp-8.8p1
110+
$(GRABBY_HANDS) /output/bin/ssh-keygen /grabby/ssh-keygen-8.8p1
111+
112+
## Slightly crusty tools
109113

110114
# By default just build the basic 'git' binary. If you want "everything" then set GIT_FULL as an environment variable. The 'git-versionnumber' binary will need to be renamed to just 'git' to work.
111-
git-2.33.0: expat-2.4.1 openssl-1.1.1k curl-7.79.1 zlib-1.2.11
115+
git-2.33.0: curl-7.79.1 expat-2.4.1 openssl-1.1.1k zlib-1.2.11
112116
$(DOCKER_BUILD)
113-
#$(GRABBY_HANDS) /output/bin/git /grabby/$@
117+
$(GRABBY_HANDS) /output/bin/git /grabby/$@
114118
ifdef GIT_FULL
115119
$(GRABBY_HANDS) /output/full.tar.gz /grabby/$@.tar.gz
116120
endif
117121

118-
openssh-8.8p1: musl-cross-make zlib-1.2.11 openssl-1.1.1k
122+
# Currently this will only build on 64 bit ARM, 32 or 64 bit x86. This will be sorted out later.
123+
nsjail-3.0: libnl-3.2.25 protobuf-3.19.1
119124
$(DOCKER_BUILD)
120-
$(GRABBY_HANDS) /output/bin/ssh /grabby/ssh-8.8p1
121-
$(GRABBY_HANDS) /output/bin/scp /grabby/scp-8.8p1
122-
$(GRABBY_HANDS) /output/bin/sftp /grabby/sftp-8.8p1
123-
$(GRABBY_HANDS) /output/bin/ssh-keygen /grabby/ssh-keygen-8.8p1
125+
$(GRABBY_HANDS) /build/nsjail-3.0/nsjail /grabby/$@
126+

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# static-binary-zoo
22

3-
A set of Dockerfiles to statically cross-compile various "hacker tools" using [musl-cross-make](https://github.com/richfelker/musl-cross-make). This is a work in progress, and more tools and libraries will be added over time.
3+
A set of Dockerfiles to statically cross-compile various "hacker tools" using [musl-cross-make](https://github.com/richfelker/musl-cross-make) and abusing Docker. This is a work in progress, and more tools and libraries will be added over time.
44

55
## Usage
66

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /