Zdir Directory Listing Tool Updated to v1.1 with Security Fixes
Zdirdirectory listingPHP open sourceXSS vulnerability fixfile manager
Published·Modified·
Zdir is a directory listing program developed using PHP. It is completely open-source and free. Zdir has been updated to version 1.1, fixing two XSS vulnerabilities. It is recommended to update as soon as possible.

v1.1 (2019-03-16) Changelog
- Upgraded jQuery version
- Changed some static resources to local calls
- Fixed 2 XSS vulnerabilities
- No longer displays
.phpfiles - Reordered folders and files (folders appear first by default)
- Optimized some details
Implemented Features
- Directory browsing
- Markdown file preview
- One-click copy for CSS/JavaScript
- File hash generation
- Image preview
- Video playback (supports only mp4 format)
- Text viewer (supports formats: .txt, .sh, .py, .go, .c, .cpp)
- Online Office preview (supports .doc, .docx, .xls, .xlsx, .ppt, .pptx)
- File indexing
- QR code generation
- File search
- File management (upload, delete, compress, etc.)
Installing Zdir
- Download source code and place it in the root directory of your site.
- Rename
config.simple.phptoconfig.php. - Set your password in
config.php. - The file management username is
admin, and the password is the one set inconfig.php.
Other Information
- Zdir Source Code: https://github.com/helloxz/zdir
- Demo Address: http://soft.xiaoz.org/
- Help Documentation: https://dwz.ovh/zdir
Open source is not easy. If you find Zdir useful, please scan the QR code below to donate.
