Xuất hiện những cảnh báo sau đây:
Warning [2] Trying to access array offset on value of type null - Line: 59 - File: inc/class_session.php PHP 8.1.33 (Linux)
File Line Function
/inc/class_session.php 59 errorHandler->error
/global.php 54 session->init
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.33 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.33 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key 2 - Line: 89 - File: inc/plugins/phptpl.php PHP 8.1.33 (Linux)
File Line Function
/inc/plugins/phptpl.php 89 errorHandler->error
[PHP]   {closure}
/inc/plugins/phptpl.php 109 preg_replace_callback_array
/inc/plugins/phptpl.php(70) : eval()'d code 19 phptpl_parsetpl
/global.php 844 phptpl_templates->get
/printthread.php 16 require_once
Warning [2] Undefined array key 2 - Line: 89 - File: inc/plugins/phptpl.php PHP 8.1.33 (Linux)
File Line Function
/inc/plugins/phptpl.php 89 errorHandler->error
[PHP]   {closure}
/inc/plugins/phptpl.php 109 preg_replace_callback_array
/inc/plugins/phptpl.php(70) : eval()'d code 19 phptpl_parsetpl
/global.php 844 phptpl_templates->get
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 102 - File: global.php(844) : eval()'d code PHP 8.1.33 (Linux)
File Line Function
/global.php(844) : eval()'d code 102 errorHandler->error
/global.php 844 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.33 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.33 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.33 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.33 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "avatar" - Line: 80 - File: global.php(938) : eval()'d code PHP 8.1.33 (Linux)
File Line Function
/global.php(938) : eval()'d code 80 errorHandler->error
/global.php 938 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "pms_unread" - Line: 99 - File: global.php(938) : eval()'d code PHP 8.1.33 (Linux)
File Line Function
/global.php(938) : eval()'d code 99 errorHandler->error
/global.php 938 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "logoutkey" - Line: 101 - File: global.php(938) : eval()'d code PHP 8.1.33 (Linux)
File Line Function
/global.php(938) : eval()'d code 101 errorHandler->error
/global.php 938 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.33 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



F@rum_Haiquan.info (*_*)
Hướng dẫn báo mật cho chát box của Chang - Bản rút gọn

+- F@rum_Haiquan.info (*_*) (http://haiquan.info/F@rum)
+-- Diễn đàn: Văn Phòng Điều Hành (http://haiquan.info/F@rum/forumdisplay.php?fid=1)
+--- Diễn đàn: Góp ý- Thăc Mắc (http://haiquan.info/F@rum/forumdisplay.php?fid=73)
+--- Chủ đề: Hướng dẫn báo mật cho chát box của Chang (/showthread.php?tid=1064)



Hướng dẫn báo mật cho chát box của Chang - Hồng Hoa - 02-01-2013

Hiện tại Forum Trường Tài Chính hải Quan dùng chát box của Chang
Nhưng vì bảo mật không tốt nên Mình Vào Được ,Mình Xin Nói lỗi Để Các bạn Fix
Hum nay Hồng Hoa (forum.hui.vn) sẽ chia sẻ 1 số thủ thuật nho nhỏ để chống hack
Sau khi tải code chát về ,bạn mở file config.php lên
b1 : 2 dòng sau bạn đổi thành true nhé
Trích dẫn:$config['check_domain_reffer'] = true;
$config['check_chatbox_key'] = true;
b2 :
Trích dẫn: $config['chatboxkey'] =
$config['password_tools']
nhớ đổi pass cho riêng mình nhé
b3
Trích dẫn:$command['prune'] = '/abc';
$command['ban'] = '/abcd';
$command['notice'] = '/l123';
$command['unban'] = '/987';
Bạn thay các lệnh abc - abcd - 123 - 987 bằng các lệnh khác để khi hack mò vào cũng ko biết mà phá
b4 : Chmod file config thành 404 --- thư mục thành 101
B5 : xong rùi đó


RE: Hướng dẫn báo mật cho chát box của Chang - ngocvu1403 - 02-01-2013

(02-01-2013, 11:16 AM)Hồng Hoa Đã viết: Hiện tại Forum Trường Tài Chính hải Quan dùng chát box của Chang
Nhưng vì bảo mật không tốt nên Mình Vào Được ,Mình Xin Nói lỗi Để Các bạn Fix
Hum nay Hồng Hoa (forum.hui.vn) sẽ chia sẻ 1 số thủ thuật nho nhỏ để chống hack
Sau khi tải code chát về ,bạn mở file config.php lên
b1 : 2 dòng sau bạn đổi thành true nhé
Trích dẫn:$config['check_domain_reffer'] = true;
$config['check_chatbox_key'] = true;
b2 :
Trích dẫn: $config['chatboxkey'] =
$config['password_tools']
nhớ đổi pass cho riêng mình nhé
b3
Trích dẫn:$command['prune'] = '/abc';
$command['ban'] = '/abcd';
$command['notice'] = '/l123';
$command['unban'] = '/987';
Bạn thay các lệnh abc - abcd - 123 - 987 bằng các lệnh khác để khi hack mò vào cũng ko biết mà phá
b4 : Chmod file config thành 404 --- thư mục thành 101
B5 : xong rùi đó

Thay mặt BQT rất thank @Hồng Hoa... do mấy hôm nay mình bận quá chưa fix được chat bõ cảu Chang.. nhân đây thank bạn đã nhắc nhở góp phần phát triển diễn đàn phi lợi nhuận- sân chơi chung của SV...
Chúc Diễn Đàn HUI ngày một phát triển
:soldier_baby11: :soldier_baby11: :soldier_baby11: