Challenge 1: The Cryptic Terminal 🖥️

Found at Dr. CAT's Workstation

Message from Luna Ledger, Head of Security

The Terminal Window Contents

# Dr. CAT's Last Commit - file: mysterious_script.btc

# Additional Found Timestamps
21:15 - Script is curled up on keyboard
22:30 - System alert: "CAT" command failing
23:15 - Full moon visible through east window
23:30 - Script sees the moon and eyes begin glowing
23:43 - Power fluctuation and subsequent failure in Lab 3
23:44 - Script starts hovering
23:45 - All instances of CAT become BAT
23:46 - Multiple BATs detected in ventilation

Mysterious Note Found on Dr. CAT's Coffee Mug

In case I forget.

To unlock:
Fragment 1. When did Script first appear? [__ : __]
Fragment 2. Where did the power fail? [___][_]
Fragment 3. What triggers the change? [WHEN][CAT][____][____]

Concatenate in uppercase with underscores to proceed...

Challenge Instructions

  1. Decode the three fragments (case sensitive)

  2. Understand how OP_CAT concatenates strings in Bitcoin Script

  3. Submit your findings (click on the button OPEN LABORATORY DOOR and enter the code)

Helpful Context

  • OP_CAT takes two values from the stack and concatenates them

  • Each Fragment builds a piece of the message

Example of OP_CAT Operation

OP_PUSH "Hello"    # Stack: "Hello"
OP_PUSH "World"    # Stack: "World" "Hello"
OP_CAT            # Stack: "HelloWorld"

Solve it!

Enter transformation sequence...
Format: TIME_LOCATION_TRIGGER
Warning: 3 attempts maximum before lockout

# Secret Validation
OP_SHA256
OP_PUSH "????????????????????????????"
OP_EQUALVERIFY

Enter the code here to access Professor BAT’s laboratory level.