
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).
urls-crawler
Advanced tools
Provide a fully qualified url to fetch all urls belongs to that domain.
It will give Active and dead urls in a object as output
It will save output in a file named as urls.json
Install:
npm install urls-crawler
Fetch urls
const Urls = require('urls-crawler').default
let urls = new Urls("https://www.example.com/")
urls.getAllUrls()
.then( allUrls => {
let activeUrls = allUrls.active
let deadUrls = allUrls.dead
console.log("Active urls: ", activeUrls)
console.log("Dead urls: ", deadUrls)
})
.catch( err => console.log(err))
Fetch urls of a blog
let urls = new Urls("https://www.example.com/blog/")
You can Specify a regex in parameters for specific url paths, Like specifying
let urls = new Urls("https://www.example.com/", "/blog")
It will fetch all urls which have /blog in their url path
FAQs
Crawl all urls of a domain
The npm package urls-crawler receives a total of 1 weekly downloads. As such, urls-crawler popularity was classified as not popular.
We found that urls-crawler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.