post by tommy @ 31 元月, 2007 08:52
post by tommy @ 24 元月, 2007 17:51
post by tommy @ 02 十一月, 2006 15:15
post by tommy @ 16 九月, 2006 21:14
最近老是在我的 /tmp 裡頭, 發現有個多出來的 /tmp/cmdtemp 檔案. 也在 apache 的 error_log 中發現一些訊息如下:
sh: -c: line 1: syntax error near unexpected token `;'
sh: -c: line 1: `; 1> /tmp/cmdtemp 2>&1; cat /tmp/cmdtemp; rm ^M'
rm: cannot remove `\r': No such file or directory
sh: line 1: /tmp/cmdtemp: Permission denied
rm: cannot remove `\r': No such file or directory
sh: line 1: /tmp/cmdtemp: Permission denied
sh: -c: line 1: syntax error near unexpected token `;'
sh: -c: line 1: `; 1> /tmp/cmdtemp 2>&1; cat /tmp/cmdtemp; rm ^M'
cat: write error: Broken pipe
rm: cannot remove `\r': No such file or directory
sh: line 1: /tmp/cmdtemp: Permission denied
雖然我的 /tmp 是獨立的, 且被 mount 為 noexec, 所以上頭的指令都無法正確的執行. 不過... 為什麼會讓人家有辦法把檔案寫入 /tmp/ 內呢?
(閱讀全文)post by tommy @ 11 八月, 2006 19:22
post by tommy @ 26 七月, 2006 10:55
昨天 eAccelerator 釋出了 0.9.5-rc1, 有幾個改進的地方:
- 完全支援 PHP 5.1
- 終於改掉以前 mmcache 那個 control panel, 有一個新的 control panel 介面可以使用 (control.php, 必須放在 eaccelerator.allowed_admin_path 所設定的路徑內, 使用者與密碼不再使用以往 php.ini 中的設定, 直接寫到 control.php 之中).
- 存在 disk 的檔案不再全部放到一個目錄下頭, 改用 hash 的方式增加存取速度.
post by tommy @ 28 六月, 2006 13:10
post by tommy @ 10 六月, 2006 20:37
post by tommy @ 17 四月, 2006 19:30
post by tommy @ 13 四月, 2006 11:11