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ể.


3 Responses to “Proper Way to Generate MD5 Hash for XCache Administration Password with md5sum or PHP” 3 hồi đáp tới "Chi Way to Tạo MD5 hash cho XCache mật khẩu quản trị với md5sum hay PHP"

  1. How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum » My Digital Life 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 »My Digital Life
    December 10th, 2008 02:26 10 tháng mười hai, 2008 02:26
    3 3

    [...] 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 [...]

  2. michosn michosn
    April 24th, 2008 10:24 24 tháng tư, 2008 10:24
    2 2

    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?

  3. vlader vlader
    April 22nd, 2008 19:54 22 tháng tư, 2008 19:54
    1 1

    The correct script is Đúng là chữ viết

    Without “” in (). Nếu không có "" trong ().

Leave a Reply Để lại một trả lời

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Bạn có thể sử dụng các thẻ:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Đăng ký nhận xét tính năng đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo về ý kiến mới nhất được đăng, đăng ký với My Digital Life Comments RSS feed Cuộc sống kỹ thuật số Bình luận của tôi nguồn cấp dữ liệu RSS or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong thư điện tử tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm kiếm các điều khoản cho các Điều

linux md5 password Linux md5 mật khẩu - -- md5 password linux mật khẩu md5 Linux - -- linux password hash Linux mật khẩu hash - -- md5sum password md5sum mật khẩu - -- linux password md5 Linux mật khẩu md5 - -- md5 hash decoder md5 hash decoder - -- md5sum password generator md5sum mật khẩu máy phát điện - -- linux md5 hash Linux md5 hash - -- hash admin hash: admin - -- md5 hash linux md5 hash Linux - -- generate md5 password tạo mật khẩu md5 - -- linux md5 hash password Linux md5 hash mật khẩu - -- linux generate md5 hash Linux tạo md5 hash - -- generate md5sum tạo ra md5sum - -- linux create md5 hash Linux tạo md5 hash - -- create md5 password tạo mật khẩu md5 - -- create md5 hash linux tạo md5 hash Linux - -- md5sum check password md5sum kiểm tra mật khẩu - -- linux hash password Linux hash mật khẩu - -- decode md5 hash decode md5 hash - -- linux create md5 password Linux tạo mật khẩu md5 - -- create MD5 password linux tạo mật khẩu MD5 Linux - -- md5 hash password linux md5 hash mật khẩu Linux - -- linux generate password md5 Linux tạo mật khẩu md5 - -- generate md5 password hash tạo mật khẩu md5 hash - -- using hash in password security free ebook hash mật khẩu bằng cách sử dụng trong bảo mật miễn phí ebook - -- linux create md5 pass Linux tạo md5 qua - -- md5 password generate linux md5 tạo mật khẩu Linux - -- linux generate password hash Linux tạo mật khẩu hash - -- md5 linux password md5 Linux mật khẩu - -- generate md5 hash password tạo mật khẩu md5 hash - -- linux generate hashed pw Linux tạo hashed PW - -- linux create md5 Linux tạo md5 - -- admin md5 hash admin md5 hash - -- php md5 unix password generation php md5 unix tạo mật khẩu - -- linux generate password hash pw.pl Linux tạo mật khẩu hash pw.pl - -- generate md5 password linux tạo mật khẩu md5 Linux - -- generate md5 passwords tạo mật khẩu md5 - -- md5 digest generate linux gcc md5 tiêu tạo ra Linux gcc - -- linux md5 generator Linux md5 máy phát điện - -- md5 hash linux generating md5 hash Linux tạo - -- how do i unzip a file in vista làm thế nào để tôi unzip một tập tin trong vista - -- md5 generator linux md5 máy phát điện Linux - -- make md5 password md5 làm cho mật khẩu - -- how to generate MD5 password làm thế nào để tạo mật khẩu MD5 - -- md5sum decoder md5sum decoder - -- md5 password + linux mật khẩu md5 + Linux - -- linux md5sum password Linux md5sum mật khẩu - -- generate password linux tạo mật khẩu Linux - -- linux how to create md5 hash Linux như thế nào để tạo md5 hash - --