bbs/delete.php 파일에러
웹취약성 검토를 하였는데 bbs/delete.php 파일에 에러코드가 뜬다네요
select count(*) as cnt from where wr_reply like '%' and wr_id <> '' and wr_num = '' and wr_is_comment = 0
1064 : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where wr_reply like '%' and wr_id <> ''
error file : /bbs/delete.php
delete.php파일은 새로운버젼에도 내용이 똑같던데.
이부분은 어떻게 수정해야하나요?ㅠ
select count(*) as cnt from where wr_reply like '%' and wr_id <> '' and wr_num = '' and wr_is_comment = 0
1064 : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where wr_reply like '%' and wr_id <> ''
error file : /bbs/delete.php
delete.php파일은 새로운버젼에도 내용이 똑같던데.
이부분은 어떻게 수정해야하나요?ㅠ
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 1개
그누보드 사이트의 delete를 검사해보면, 자신의 글이 아니라서 삭제 불가라고 나옵니다.
원본파일로 교체해 주세요