<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nodejs on Security Addict</title><link>https://blog.medarkus.net/tags/nodejs/</link><description>Recent content in nodejs on Security Addict</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><managingEditor>me@darkus.dev (DeMarcus Williams)</managingEditor><webMaster>me@darkus.dev (DeMarcus Williams)</webMaster><lastBuildDate>Sun, 12 Jul 2020 13:55:16 -0500</lastBuildDate><atom:link href="https://blog.medarkus.net/tags/nodejs/index.xml" rel="self" type="application/rss+xml"/><item><title>Gynvael Web Challenge 6</title><link>https://blog.medarkus.net/posts/gynvael-web-challenge-6/</link><pubDate>Sun, 12 Jul 2020 13:55:16 -0500</pubDate><author>me@darkus.dev (DeMarcus Williams)</author><guid>https://blog.medarkus.net/posts/gynvael-web-challenge-6/</guid><description>We&amp;rsquo;re back again with another NodeJS web challenge from Gynvael. Let&amp;rsquo;s get into it!
Description Just like the previous challenges, we are given the source code for the NodeJS application:
const http = require(&amp;#39;http&amp;#39;) const express = require(&amp;#39;express&amp;#39;) const fs = require(&amp;#39;fs&amp;#39;) const path = require(&amp;#39;path&amp;#39;) const PORT = 5006 const FLAG = process.env.FLAG || &amp;#34;???&amp;#34; const SOURCE = fs.readFileSync(path.basename(__filename)) const app = express() const checkSecret = (secret) =&amp;gt; { return [ secret.</description></item><item><title>Gynvael Web Challenges</title><link>https://blog.medarkus.net/posts/gynvael-web-challenges/</link><pubDate>Tue, 12 May 2020 13:55:01 -0500</pubDate><author>me@darkus.dev (DeMarcus Williams)</author><guid>https://blog.medarkus.net/posts/gynvael-web-challenges/</guid><description>It was recently brougt to my attention that Gynvael Coldwin has been releasing some CTF-style Express.js web challenges, so I decided to give them a try :)
As of 5/12/2020, there are only 3 challenges published
Level 1 Level 1 begins here, where we are presented with a standard layout for this type of web challenge: a blank page with the JS source echoed back to us.
Source code
Level 1 const express = require(&amp;#39;express&amp;#39;) const fs = require(&amp;#39;fs&amp;#39;) const PORT = 5001 const FLAG = process.</description></item></channel></rss>