← All scrolls
巻 rank
Darkest Hour CTF · Web

Gaslighter: talking an AI out of its flag

An AI chatbot challenge with source code: reading it shows exactly which word the prompt needs.

16 Feb 20251 min read
#ai#prompt-injection#source-review

Description

What do you know about AI? What about Love? Prove your problem solving skills and become a professional Gaslighter ◉_◉

Author: 99lives

Challenge Link And we’re given rar file containg the source code

When we dive deep in the source code with see an interesting part

SourceCodePwned

We see that to get the flag our prompt must contain a certain word : PWNED

And yeah that worked !

FLAG

FLAG

Securinets {PR0FE$I0N4L_G4S_L1T3R}