Skip to content

Instantly share code, notes, and snippets.

@h-a-t-zz
Last active November 10, 2017 22:57
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h-a-t-zz/b558fac265d7712c4e611aa844f210cd to your computer and use it in GitHub Desktop.
Save h-a-t-zz/b558fac265d7712c4e611aa844f210cd to your computer and use it in GitHub Desktop.
nmap RCE
FROM alexellis2/faas-alpinefunction:latest
RUN apk update && apk add nmap
ENV fprocess="xargs nmap"
CMD ["fwatchdog"]
provider:
name: faas
gateway: http://localhost:8080
functions:
nmap:
lang: Dockerfile
handler: ./Dockerfile
image: hat/nmap
@alexellis
Copy link

alexellis commented Sep 23, 2017

Wow this is so concise - nmap as an OpenFaaS Function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment