I Hate Physics!
dawgctf
A plain-text file of messy physics study notes hides the flag as a first-and-last-character acrostic: taking the first character and the last character of each of the first 15 lines and concatenating them yields DawgCTF{therm0dyn4mic5sucks!} — 'thermodynamics sucks!' in leet speak, matching the task title 'I Hate Physics!'. Every 'error' in the notes — wrong variables, dangling letters, misspellings like 'Klevin', trailing terms like '*tau', the nonsense line 15 — exists only to force the right first/last characters on each line.
$ ls tags/ techniques/
I Hate Physics! — DawgCTF SP26
Description
There's a secret message in these Physics study notes. Can you find it? The flag will be in the format
DawgCTF{squarer00tofpi}.File:
STUDYME.txt
The provided STUDYME.txt is a 71-line plain-text file that looks like someone's thermodynamics study notes: kinetic energy, work, heat capacities at constant pressure/volume, ideal gas law, Boltzmann's entropy formula, a fully-worked ice + water mixing problem, and so on. The flag format example squarer00tofpi (i.e. "square root of pi" in leet speak) strongly hints that the hidden content is a short English phrase written with leet substitutions.
Analysis
1. First impression — many things are "wrong"
Reading the first 15 lines carefully:
D=1/2mv^2 (force * displacement) = 1/2 * mass * velocity^2 + alpha
w=fd (force * displacement) with respect to displacement lag
Cp=20.79 J/K/Mol for a constant pressure ONLY FOR OUTPUT
FINAL TEMPERATURE ALWAYS COMES FIRST BECAUSE THE TEMPERATURE DELTA IS INSIDE {
temperature min, temperature max}, like with
e=u+pVr
m=0
dU=mcdT and remember that sometimes mcdT can be a dy
nA is number of moles of gas A/B^4
mA*cA*∆T=cB*cB*∆T when two things are equalizing i.e and indirect carnot cycli
c, such as with the following equation: 2500kg*cA*(500-400)=cB*cB*∆T*5
s=ksubb * ln * omega * tau
cv=12.47J/K/Mol for a constant vol, Klevin is k
s=integral from vi to vf of (1/T *dU) for a general delta!
}]\d\wa\dT
Almost every line contains something that does not belong in a physics textbook:
...
Permission denied (requires auth)
Sign in to read this free writeup
This writeup is free — just sign in with GitHub to read it.
$ssh [email protected]