This topic created in 5217 days ago, the information mentioned may be changed or developed.
今天看python的CGI那部分,突然想起来bash也是解释器阿,那Perl 和python能当CGI脚本解释器,那bash也行阿。试了试,果不其然~~赤裸裸的在浏览器里显示出 ifconfig 和 ps -e了。
直接捣鼓CGI比捣鼓框架有趣阿,我只是说有趣而已。实用性就不谈了 ^_^
3 replies • 1970-01-01 08:00:00 +08:00
 |
|
1
gwmwhu Apr 13, 2012
有标准输入和标准输出的语言都可以写cgi啊
|
 |
|
2
ruchee Apr 14, 2012
LZ奇葩了,CGI是不限语言的
|
 |
|
3
594duck Dec 10, 2012
麻烦楼主。你的bash cgi是在什么中间件下执行的。apache ? nginx?
|