HTB - Wordpress Skills Assessment Q3

Hey, this is probably a really stupid question from me but I am trying to solve the following from the Wordpress skills assessment: Submit the contents of the flag file in the directory with directory listing enabled.

I have tried a few things to solve the problem:

  1. Entering the following into the URL: htt://blog.inlanefreight.loca/wp-content/plugins/.
  2. http://blog.inlanefreight.local/wp-content/plugins/index.php.
  3. htt://blog.inlanefreight.local/wp-content/index.php.
  4. htt://blog.inlanefreight.local/wp-content/.
  5. htt://blog.inlanefreight.local/wp-content/themes/index.php.
  6. htt://blog.inlanefreight.local/wp-content/themes/.

However, none of the above urls have led me to the flag. I don’t necessarily want the answer, but if anyone can lead me closer to solving this that would be much appreciated :).

(Yes, I used http in the above links; however, HTB limits me to adding only two links in a post so I had to write it the way it is shown).

I found it by checking the links on the source code.
check for something in the form: wp-content/<dir_name>/
don’t waste time looking inside plugins nor themes.