Created
February 7, 2021 09:05
-
-
Save hyjk2000/4c8e966297325e5bd2e60ab64654283d to your computer and use it in GitHub Desktop.
Node.js Tarpit Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require("http"); | |
const server = http.createServer((req) => { | |
console.info(`${new Date()} ${req.method} ${req.url}`); | |
}); | |
server.listen(8080); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment