diff --git a/shit.mjs b/shit.mjs index acf9874..612ad80 100644 --- a/shit.mjs +++ b/shit.mjs @@ -10,7 +10,7 @@ createServer(async (request, response) => { response.writeHead(200, { 'content-type': 'text/html', }).end( - `
${
+ `${
(await readFile('a.txt', {flag: 'a+', encoding: 'utf8'}))
// ugh, fine, i'll html escape it. no xss for you
.replace(/[<>&'"]/g, match => ({