<?phpecho system("sudo docker run -t -i loen/hj:v0.0.1 php /root/index.php ruby PD9waHAKZWNobyAiaGVsbG8gcGhwIjsKPz4="); // 這句不能執行 使用docker ps -a 沒看到執行成功!echo system("ls -al");// 這句能執行?>結果total 24drwxr-xr-x 2 root root 4096 Jun 23 16:24 .drwxr-xr-x 3 root root 4096 Jun 23 15:30 ..-rw-r--r-- 1 root root 1 Jun 23 15:42 index.html-rw-r--r-- 1 root root 215 Jun 23 16:24 index.php使用 php ./index.phpsystem("sudo docker ...") 是能執行的 使用 瀏覽器訪問 就不能執行
- 3 回答
- 0 關注
- 2116 瀏覽
添加回答
舉報
0/150
提交
取消