
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
github.com/hardymunjal/html_parser
This repo implements a html parser package, which extracts the links and texts from "a"(hyperlink) tag and returns as a array of json objects.
Clone or download the github repo from here.
Data contains dummy templates for testing. You can also create your own file in the same directory which you would want to test.
Go to the file main.go and assign filename variable with the name of your file.
filename := "test2.html" #replace test2.html
Run the file using the below command:
go run main.go
Images - Contains the screenshot of output of test2.html file.
data - Contains the template files for testing.
main - Contains the main file for execution.
src - Contains the source code.
Credits - Project idea by Jon Calhoun
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.