TAILIEUCHUNG - Hacking Firefox - part 22

Bây giờ bạn có giá trị này và thêm nó vào danh sách nội các định dạng các loại với các bước sau: 1. Công cụ mở ➪ Mimetype. 2. Click vào nút New Type (thể hiện trong hình 11-15), mở ra một cửa sổ Edit Type, thể hiện trong hình 11-16. | 212 Part IV Hacking Navigation Downloads and Searching From our LiveHTTPHeaders Firefox download example you can see that the MIME type or Content-Type in the header information is as follows Content-Type application x-msdos-program Now you take this value and add it to the internal list of MIME types with the following steps 1. Open Tools Mimetype. 2. Click on the New Type button shown in Figure 11-15 which opens the Edit Type window shown in Figure 11-16. 3. Populate the MIME Type field with the Content-Type value of application x-msdos-program. 4. Type a general description such as Program Files or Application. 5. Enter exe in the Extension field which corresponds to the filename extension. 6. Choose a default action for this type and then enable or disable the Always ask me before handling files of this type setting according to your preference. Figure 11-16 Mimetype Editor s Edit Type screen This MIME type update is applied immediately and can be tested by redownloading the file in question. If the Opening dialog shown in Figure 11-13 still pops up make sure you have supplied the correct MIME Type without leading or trailing spaces and that you are using the correct filename extension. Chapter 11 Download and Plugin Hacks 213 What Is MIME Type Spoofing MIME type spoofing is commonly used by different software update sites to force a download open or save prompt. The technique they use is to create a custom header with the addition of a custom MIME type. Because the browser does not recognize the MIME type it will bring up the Opening prompt and ask you how to handle the download. One possible spoof could look like this application download-this You would have to add this custom type and associate the default actions that you prefer. Using LiveHTTPHeaders you are able to easily detect any MIME type spoofing practices by capturing the header information while the file is downloading. Installing via the Install link on the Mimetype Editor web page may not work .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.