Proper Way to Generate MD5 Hash for XCache Administration Password with md5sum or PHP Cách đúng để Tạo MD5 hash cho XCache mật khẩu quản trị với md5sum hay PHP
XCache is a PHP opcode cacher, more commonly known as PHP accelerator that speeds up PHP-based web pages serving and reduces web server load. XCache là một PHP opcode cacher, thường được gọi như là PHP accelerator rằng tốc độ tăng PHP-dựa trên các trang web phục vụ và giảm tải máy chủ trang web. XCache comes with a web-based administration page (admin-page) user interface that allows administrators or webmasters to monitor and operate the PHP opcode cache in the memory with the performance statistics. XCache đi kèm với một trang web dựa trên trang quản trị (admin-trang) giao diện người dùng, cho phép các quản trị viên hoặc các webmaster để theo dõi và hoạt động của PHP opcode bộ nhớ cache trong bộ nhớ với các thống kê hiệu suất. To use this admin-page, an user ID and password have to be defined in PHP.INI configuration file under xcache.admin.user and xcache.admin.pass parameter to authenticate the http-auth process. Để sử dụng trang này: admin, một người sử dụng ID và mật khẩu phải được định nghĩa trong PHP.INI tập tin cấu hình dưới xcache.admin.user và xcache.admin.pass tham số để xác nhận quá trình http-auth.
For security purpose, password value entered in xcache.admin.pass has to be the MD5 hash. Đối với mục đích an ninh, mật khẩu có giá trị nhập trong xcache.admin.pass đã được MD5 hash. When user go to XCache admin-page, the http-auth will prompt to ask for user name and password credential. Khi người sử dụng đi đến XCache: admin-trang, các http-auth sẽ nhắc nhở để yêu cầu tên người dùng và mật khẩu credential. If the MD5 hash value for the password that user wants to use and assumed to be correct, is in fact a wrong one, then user will unable to login to the admin-page. Nếu giá trị hash MD5 cho mật khẩu mà người dùng muốn sử dụng và giả định được chính xác, thực sự là một sai một, sau đó người dùng sẽ không thể đăng nhập vào admin-trang.
To Tới generate the MD5 hashes tạo ra các MD5 hashes for your desired password for XCache admin-page in PHP.INI, there are plenty of methods. mong muốn của bạn cho mật khẩu cho XCache admin-trang trong PHP.INI, có nhiều phương pháp. The following two ways are some of the simplest way to get the password's MD5 value without compromising security by transmitting password across network or Internet in plain text. Hai cách sau đây là một số cách đơn giản nhất để nhận được mật khẩu của MD5 giá trị mà không có compromising bảo mật của mật khẩu truyền trên mạng hay Internet ở đồng bằng văn bản.
PHP Script PHP Script
Create a new PHP script page on the webserver, and place the file within a website or virtual directory accessible from Internet: Tạo một tập lệnh PHP mới trên trang web, và để các tập tin trong một trang web hoặc thư mục ảo có thể truy cập từ Internet:
<?php <? php
echo md5(”password”); echo md5 ( "mật khẩu");
?> ?>
After saving the file with any name, request it from web browser using your domain name and get the MD5 hash value for your password, and update PHP.INI with the value. Sau khi lưu các tập tin với tên bất kỳ, yêu cầu báo cáo từ trình duyệt web bằng cách sử dụng tên miền của bạn và nhận được những giá trị hash MD5 cho mật khẩu của bạn, và cập nhật PHP.INI với giá trị.
md5sum md5sum
md5sum is a computer program which calculates and verifies MD5 hashes, and is installed by default in most Unix, Linux, and Unix-like operating systems or compatibility layers, including CentOS, the popular operating system for web hosts. md5sum là một chương trình máy tính có tính toán và xác minh MD5 hashes, và được cài đặt theo mặc định trong hầu hết các UNIX, Linux, và kiểu Unix hệ điều hành hoặc các lớp tương thích, bao gồm cả CentOS, các hệ điều hành phổ biến cho các trang web lưu trữ.
To generate MD5 hash value for the password using md5sum, the correct syntax is as follow: Để tạo ra giá trị MD5 hash cho các mật khẩu bằng cách sử dụng md5sum, đúng cú pháp là như sau:
echo -n “password” | md5sum echo-n "mật khẩu" | md5sum
SSH to the server and run above command, the enter the value generate into PHP.INI. SSH vào máy chủ và chạy lệnh trên, việc tạo ra giá trị nhập vào PHP.INI.
In both cases, restart Apache web server after editing PHP.INI to make the changes effective. Trong cả hai trường hợp, khởi động lại máy chủ web Apache PHP.INI sau khi chỉnh sửa để thực hiện những thay đổi có hiệu quả.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum Làm thế nào để Tính toán và Tạo MD5 hash giá trị gia tăng trong Linux và Unix với md5sum
- Install XCache PHP Accelerator in Linux by Compiling from Source Cài đặt XCache PHP Accelerator trong Linux của Biên từ tháng
- Run WordPress at Top Fast Speed by Putting Objects and Variables into XCache or eAccelerator Cache Memory (Plugin) Chạy nhanh hàng đầu tại WordPress Tốc độ của đối tượng và đưa vào các biến XCache hoặc eAccelerator bộ nhớ Cache (Plugin)
- Hash Calculator to Get, Compute and Calculate MD5 and SHA1 File Checksum or Hash Value Nhận hash để tính toán, Tính toán và Tính toán MD5 và SHA1 file hash checksum hoặc giá trị gia tăng
- Keep Your Password Safely With MyPadlock Password Manager Giữ của bạn Mật khẩu Safely Với MyPadlock Trưởng Mật khẩu
- Remove The Automatic Appearance of Your Password In The Password Box Hủy bỏ Những thức về tự động của bạn Mật khẩu Mật khẩu In The Box
- Trick to Enable and Allow Windows XP and Vista Remote Desktop Login Without Password (or With Blank Null Password) Trick để Kích hoạt và cho phép Windows XP và Vista Remote Desktop Đăng nhập Tên đăng nhập Mật khẩu Nếu không có (hoặc Với Trống Mật khẩu Null)
- Forgot Windows Administrator Password? Quên mật khẩu Quản trị viên Windows? Ways to Recover and Reset Password in Vista/XP/2003/2K/NT Cách phục hồi và Thiết lập lại mật khẩu trong Vista/XP/2003/2K/NT
- Check File Integrity By Comparing Hash Value with FileVerifier Kiểm tra tệp Tính Bởi So sánh với giá trị hash FileVerifier
- Apple iPhone Root Password and Mobile User Password Apple iPhone mật khẩu và mật khẩu người dùng di động










































December 10th, 2008 02:26 10 tháng mười hai, 2008 02:26
[...] servers powered by cPanel or Plesk, where administrators or webmasters have to commonly generate MD5 hash for the password used in PHP scripts or other web [...] [...] Máy chủ được cung cấp bởi cPanel hoặc Plesk, nơi các quản trị viên hoặc các webmaster thường phải tạo ra MD5 hash cho các mật khẩu được sử dụng trong PHP script hoặc các trang web [...]
April 24th, 2008 10:24 24 tháng tư, 2008 10:24
i found many sites that give md5 coding and decoding like i được tìm thấy rất nhiều các trang web cung cấp cho md5 mã hóa và tinh như
http://www.joomlaaa.com/md5-coding-decoding http://www.joomlaaa.com/md5-coding-decoding
i do not know how they can decode md5 tôi không biết làm thế nào họ có thể decode md5
anyone know a script to decode md5? bất cứ ai biết một tập lệnh để decode md5?
April 22nd, 2008 19:54 22 tháng tư, 2008 19:54
The correct script is Đúng là chữ viết
Without “” in (). Nếu không có "" trong ().