Month: November 2021

How to create a docker container for a node.js application

Introduction A Docker container is a lightweight, standalone, executable package of software that includes everything needed to run an application, including the code, runtime, system tools, libraries, and settings. Containers are similar to virtual machines in that they provide an isolated environment for running applications, but they are much more lightweight and efficient because they

Read more

Step-by-Step Guide: Installing Node.js on Windows for Beginners

Introduction Node.js is an open-source, server-side runtime environment built on Chrome’s V8 JavaScript engine. It allows you to run JavaScript code outside of a web browser, enabling you to build scalable and high-performance applications on the server side. Node.js uses an event-driven, non-blocking I/O (input/output) model, making it efficient and suitable for handling concurrent requests

Read more

Remote Code Injection in Node.js

Remote code injection is a type of attack that allows an attacker to inject malicious code into a web application while it is running. This code can be used to manipulate data, steal confidential information, or gain access to sensitive areas of the application. It is one of the most dangerous security vulnerabilities and can

Read more

Node.js Copy a Folder With Node fs-extra package

Introduction: In this blog post, We learn how can you copy a directory or folder (which contains some files) to another location in Node.js. To do this here we are going to use a third-party library named as fs-extra. fs-extra adds file system methods that aren’t included in the core fs module and adds promise support to the fs methods.

Read more

Reflected XSS attack | How to prevent XSS attack in Node.js

Introduction In this blog post, I will explain to you about the Reflected XSS attack. Reflected cross-site scripting (XSS) occurs whenever an application takes untrusted data and sends it to a web browser without proper validation or escaping. Reflected cross-site scripting (XSS) allows attackers to execute scripts in the victims’ browser, which can access any

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site