In this activity, you will find four flags (and an optional bonus flag) hidden somewhere within the website. Each flag will include a random word. Keep track of the random words. You will submit all words in the next item.
1. The first flag is hidden in the site's source code. Use the View Page Source feature to find it. If your right-click is disabled, copy and paste this into your web browser:
view-source:https://CodeCrew-CodeSchool.github.io/esd/site
2. In the source code, there is a style.css file. Search this file for the second flag. Take note of the web address of this file. How is it different than the original website?
3. In the source code, there is also a script.js file. Search this file for the third flag. Look at the web address here as well. What is the only part of the address that is different in each file?
4. Lastly, there is another file that is NOT listed on the website or in the source code. You can only access this file by typing it in the web address bar. To find this file, unscramble the following word and place it in the web address in the format shown:
- Unscramble this word: eteceditv
- Use the following format to navigate to the hidden file. Replace the blank before
.txtwith the unscrambled word and go to that site: - https://code-crew.org/___________.txt
5. Advanced Bonus Flag (Optional): Right-click on the image of the cat and save the file to your desktop. Open the file with a text editor (either Notepad on a Windows computer or TextEdit on a Mac). Find the bonus flag!
Submission
Using our the codebase from our public git repository, create your own repo that you will submit for credit in completing the workshop and the challenge.
Instructions for (1) creating your account, (2) setting up 2-Factor Authentication (2FA), (3) forking, and (4) cloning, and (5) staging, commiting, and (6) updating the repo can be found here:
- Create an Account
- Set up 2FA
- Fork the Repo
- Clone the Repo
- Review and Save Your Changes
- Push/Update Your Changes
After completing steps 1-4, create a file called Submission.md to keep track of your findings as you hunt for each flag. Make sure that you include the 5 flags you've found, and the answers for each of the reflections from the README.md file.
Use Visual Studio Code to send your updates back to your Github repo.
Email the link to your updated Github Repo to: codeschool@code-crew.org