Gitcha
Description
Analysis
<!-- John, don't forget to take the .git route down, we don't need it anymore -->const checkAdmin = (req, res) => {
if (req.cookies["SECRET_COOKIE_VALUE"] === "thisisahugesecret") {
return true;
}
return false;
};app.get("/robots.txt", (req, res) => {
res.type("text/plain");
res.send("User-agent: *\nDisallow: /.git/\nDisallow: /supersecret/");
});Solution
Last updated