Benign go Download

non-sso-tab/src/app.js

Calls readFileSyncReads files with Node.js
SHA-2569519935f228569b8c2657b3fa104e4a7d5a0a79706c7a800fd4f15273f23e776
MaleculeH₂(Cm₂F)

Evidence

Orator/Restify HTTP service server lines 1–10
1const restify = require("restify");
2const send = require("send");
3const fs = require("fs");
4
5//Create HTTP server.
6const server = restify.createServer({
7 key: process.env.SSL_KEY_FILE ? fs.readFileSync(process.env.SSL_KEY_FILE) : undefined,
8 certificate: process.env.SSL_CRT_FILE ? fs.readFileSync(process.env.SSL_CRT_FILE) : undefined,
9 formatters: {
10 "text/html": funct …
Node generic server listens on endpoint lines 18–30
18:4… estify.plugins.serveStatic({
19 directory: __dirname,
20 })
21);
22
23server.listen(process.env.port || process.env.PORT || 3333, function () {
24 console.log(`\n${server.name} listening to ${server.url}`);
25});
26
27// Adding tabs to our app. This will setup routes to various views
28// Setup home page
29server.get("/", (req, res, next) => {
30 s …
English function-word token "the" lines 30–35
30:23… + "/views/hello.html").pipe(res);
31});
32
33// Setup the static tab
34server.get("/tab", (req, res, next) => {
35 send(req, __dirname + "/views/hello.html" …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.