Skip to content
All writing

CTF writeup · · 1 min

picoCTF Includes: A Flag Split Across CSS and JS

The flag is broken in two and hidden in the linked stylesheet and script. Read the included files, not just the page.

By George Wanyoike

Includes

Author: LT 'syreal' Jones

Description

Can you get the flag?

Additional details will be available after launching your challenge instance.

Hints

Is there more code than what the inspector initially shows?

  1. Lanading Page

picoCTF Includes: A Flag Split Across CSS and JS — figure 1

  1. This needed some more reading…

  2. Inspecting the landing page

picoCTF Includes: A Flag Split Across CSS and JS — figure 2

  1. We have tw directories – in this case files: script.css and Script.js. From the hint I’ll check the contents of each

A. Script.jss had

picoCTF Includes: A Flag Split Across CSS and JS — figure 3

B. Script.css had

picoCTF Includes: A Flag Split Across CSS and JS — figure 4

  1. The two completes the flag

picoCTF{1nclu51v17y_1of2_f7w_2of2_b8f4b022}

  • CTF
  • Web Security
  • picoCTF