Renamed examples.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM kapow
|
||||
RUN apk add nmap
|
||||
COPY nmap.kapow .
|
||||
CMD kapow nmap.kapow
|
||||
COPY nmap.pow .
|
||||
CMD kapow nmap.pow
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
GET /ps {
|
||||
ps -fax > @fifo:response/body
|
||||
}
|
||||
|
||||
GET /ls {
|
||||
echo "text/plain" > @fifo:response/header/Content-Type
|
||||
ls -la @value:request/params/path > @fifo:response/body
|
||||
}
|
||||
|
||||
GET / = index.html
|
||||
|
||||
GET /cmdline {
|
||||
cat /proc/cmdline > @fifo:response/body
|
||||
}
|
||||
Reference in New Issue
Block a user