Rows:
CHALLENGE | AUTHORS | SOLVES (CURRENT) | SOLVE RATE (AT CONTEST TIME) |
---|---|---|---|
WelcomeMisc | 858solves | - | |
Simple LoginWeb | 366solves | Top 28%= 84/300 users | |
echoPwn | 240solves | Top 32%= 56/174 users | |
qrimeCrypto | 177solves | Top 38%= 91/239 users | |
172solves | Top 15%= 71/458 users | ||
Country DBWeb | 148solves | Top 33%= 246/729 teams | |
inboundPwn | 138solves | Top 28%= 57/197 users | |
masking tapeRev | 112solves | Top 19%= 61/316 users | |
before-writePwn | 107solves | - | |
catcpyPwn | 104solves | Top 20%= 41/197 users | |
91solves | Top 15%= 42/279 users | ||
Rainbow Sweet AlchemistCrypto | 87solves | Top 17%= 42/239 users | |
hexechoPwn | 86solves | Top 15%= 27/174 users | |
Alpaca PollWeb | 83solves | Top 9%= 42/458 users | |
CaaSWeb | 63solves | Top 4%= 13/300 users | |
A Dance of Add and MulCrypto | 59solves | Top 12%= 30/239 users | |
Pico Note 1Web | 58solves | Top 3%= 10/300 users | |
XOR-CBCCrypto | 57solves | - | |
OysterPwn | 57solves | Top 42%= 40/95 users | |
writePwn | 56solves | - |
Rows:
ある条件を満たすとフラグが得られるようです
import Fastify from "fastify";
import fastifyCookie from "@fastify/cookie";
const fastify = Fastify();
fastify.register(fastifyCookie);
fastify.get("/", async (req, reply) => {
reply.setCookie('admin', 'false', { path: '/', httpOnly: true });
if (req.cookies.admin === "true")
reply.header("X-Flag", process.env.FLAG);
return "can you get the flag?";
});
fastify.listen({ port: process.env.PORT, host: "0.0.0.0" });
*完全なソースコードは以下からダウンロード可能です。