Docker wrapper for a modified version of fiche from pihole
This is a docker container that runs a modified version of fiche in a container, and drops the input text into an html file in the nginx root. Each input text will have an autogenerated url when using nc
ps auwwx | nc container-ip 59999
Will return a url like http://docker-host:10080/g89sfs.
docker run -itd --rm -p 10.2.0.3:80:80 -p 10.2.0.3:59999:9999 --name pv pipe-viewer && docker ps
Fiche Port | Docker Exposed Port |
---|---|
9999/tcp | 59999/tcp |
80/tcp | 80/tcp |
These can be modified in the Dockerfile, the line where it echos the fiche command to the run_nginx.sh file.
This application has a large buffer for input via NC. This means it can be easily attacked if the server is publically facing. Another note on nc or netcat: this is a tool that can be easily abused; if this tool is installed on a machine, please take extra care to have it secured from unauthorized access. It is my suggestion to make this docker container airgapped, and especially, not be run on a host that is in a privileged network.