I would say that is normal technically speaking. There is a directive in the Apache web server named “DirectoryIndex” that allows you to specify which files are going to be treated as the document index. Most of the time it is set to treat the “index.html” files as the main entry point before the “index.php” or others. With the current public version “1.7.8” the plugin is composed by seventy-seven files that we can categorize like this:
- 1 PHP file (the plugin itself)
- 6 index.html files (to prevent directory listing)
- 61 HTML templates
- 3 JavaScript files
- 2 plain text files (readme.txt and LICENSE)
- 2 PNG images
- 1 CSS file
- 1 hidden file (which is a .htaccess)
Can you try once again? But before install the new version verify that the “/wp-content/plugins/sucuri-scanner/” directory is empty, actually I would delete it completely. If you keep seeing the “Avoid the directory listing” message then delete the “index.html” located inside the plugin’s directory, flush the cache of your browser and try again.
Let me know if this works.