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

  1. Upgraded jQuery version
  2. Changed some static resources to local calls
  3. Fixed 2 XSS vulnerabilities
  4. No longer displays .php files
  5. Reordered folders and files (folders appear first by default)
  6. 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

  1. Download source code and place it in the root directory of your site.
  2. Rename config.simple.php to config.php.
  3. Set your password in config.php.
  4. The file management username is admin, and the password is the one set in config.php.

Other Information

Open source is not easy. If you find Zdir useful, please scan the QR code below to donate.