# Print the movie index for i, movie in enumerate(movie_index): print(f"i+1. os.path.basename(movie) - movie")
Using the search query is a technique known as "Google Dorking." It exploits the way web servers (like Apache or Nginx) display lists of files when no default home page (like index.html ) is present. index of movies parent directory new
: A link found at the top of these pages that allows you to move one level up in the server's folder hierarchy. For example, if you are in /movies/action/ , clicking "Parent Directory" takes you back to 2. How People Use It to Find Movies # Print the movie index for i, movie