🏳️
Bag of Flags
  • Home
  • 2023
    • 🅿️picoCTF 2023
      • money-ware
      • repetitions
      • two-sum
      • ReadMyCert
      • rotation
      • hideme
      • PcapPoisoning
      • who is it
      • Reverse
      • timer
      • Safe Opener 2
      • findme
      • MatchTheRegex
      • SOAP
    • 🐦magpieCTF 2023
      • Space Plan
      • Space Exploration
      • So Meta
      • There is no flag
      • Momma says to play fair
      • Rubis
      • What is the password?
      • Eavesdropper
      • Shredded
      • Missing Flag
      • This outta be large enough right?
      • No Password Here
      • Chocolate Chips with Zero-G
      • Education Comes First
    • 🌴ISSessions CTF 2023
      • Basic Permissions
      • Crack Me
      • File Detective
      • Word Vomit
      • Fileception
      • Coding Time
      • Ghost File
      • CryptoTools1
      • CryptoTools2
      • 1337
      • ROT++
      • RunedMyDay
      • RSA_2
      • The Man Who Sold the World
      • VaultChallenge
      • Lost Media
      • Decontamination
      • Decade Capsule
      • Password in A Haystack
  • 2022
    • 🏁UW CTF S22
      • 0s and 1s
      • simple image
      • Helikopter
      • Meow
      • Google Form
      • Strings, literally
      • WASM
      • Audio
      • Pwn0
      • YATD
      • steg
      • Passwords
      • Vitalik
  • Practice
    • 🧠CryptoHack
      • Introduction
        • Finding Flags
        • Great Snakes
      • General
        • ASCII
        • Hex
        • Base64
        • Bytes and Big Integers
        • XOR Starter
        • XOR Properties
        • Favourite byte
        • You either know, XOR you don't
        • Greatest Common Divisor
Powered by GitBook
On this page
  • Description
  • All the Colors of the Rainbow
  • Flag
  1. 2022
  2. UW CTF S22

WASM

PreviousStrings, literallyNextAudio

Last updated 2 years ago

Description

All the Colors of the Rainbow

The website shows nothing more than a simple message

Here check_flag() seems to refer to some JavaScript function

We can try running it in the Console tab with various arguments

Here we can learn a few things

  • check_flag does not like any of the answers I gave and responds with a not answer

  • check_flag takes in a string

After trying some more strings, I stopped to think about the hint a little more than the surface-level colours that were listed

Thinking about technologies blue, red, yellow, blue, green, red, there was a certain name that came to mind...

Windows.

But that didn't work. Eventually, I came to the actual solution

Flag

uwctf{W45M_4772a105377592cd}

🏁
https://ctf.csclub.uwaterloo.ca/ctf-uploads/noob/wasm/chall.html
check_flag is quite picky...