12 lines
514 B
JavaScript
12 lines
514 B
JavaScript
const domain = "not-ip-logger.alpha.beta.gamma.among-us-sussy-impostor.goofy-ahh-subdomain.google.com.zip.txt.tar.gz.celery.eu.org";
|
|
|
|
module.exports = (app, dir, log) => {
|
|
app.get("*", (req, res, next) => {
|
|
if (req.headers.host === domain) {
|
|
log.info(`someone from ${req.headers["x-forwarded-for"]} fell for it`);
|
|
res.send(`<meta http-equiv="refresh" content="0; url = https://www.youtube.com/watch?v=dQw4w9WgXcQ">\n<pre>haha you are beig logge'd</pre>`);
|
|
} else {
|
|
next();
|
|
}
|
|
});
|
|
}
|