
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).
crystolnetwork-log
Advanced tools
Esse modulo foi desenvolvido com o intuito de auxilixar nas atividades de registro de logs da CrystolNetwork.
npm install crystolnetwork-log
const crystol = require("crystolnetwork-log");
[NOVO] - Suporte a timeZones (Padrão: America/Sao_Paulo)
crystol.log("Bom dia mundo!!", "bomdiamundo.log", "America/New_York") // (timeZone, America/Sao_Paulo, etc)
// Definir um registro simples.
crystol.log("Bom dia mundo!!", "bomdiamundo.log") // (txt, log, etc)
// Definir um registro dentro de uma pasta.
// NOTA: Sempre verifique antes se essa pasta direcionada no registro existe.
crystol.log("Bom dia mundo!!", "./registros/bomdiamundo.log") // (txt, log, etc)
// Remover um registro.
crystol.remove("bomdiamundo.log")
// Verifique se o arquivo existe
if (crystol.exists('bomdiamundo.log')) console.log("✅")
// Envie uma mensagem colorida no console.
crystol.error("Oi erro!") -> mensagem vermelha
crystol.warn("Oi aviso!") -> mensagem amarela
crystol.debug("Oi debug!") -> mensagem azul
// Utilize um sistema de cores baseado no Minecraft
crystol.text("&0Oi, tudo bem?") -> mensagem preto
// Previna erros e ainda registre qualquer possível erro com:
crystol.debugFunction(() => {
// Seu código inteiro aqui.
function test() {
return console.log(user) // Return user is not defined (error)
}
test()
}, "teste.log")
// Localização/nome do arquivo que será responsável por guardar qualquer erro que venha a acontecer.
Este projeto está licenciado sob a Licença Apache License 2.0
FAQs
A simple module to make your life easier.
The npm package crystolnetwork-log receives a total of 0 weekly downloads. As such, crystolnetwork-log popularity was classified as not popular.
We found that crystolnetwork-log 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.