
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@soymaycol/mayhtml
Advanced tools
Un módulo de Node.js que captura screenshots de contenido HTML usando CatBox y NightAPI.
npm install mayhtml
const MayHTML = require('mayhtml');
const mayhtml = new MayHTML();
const htmlContent = `
<!DOCTYPE html>
<html>
<head>
<title>Mi Página</title>
<style>
body {
font-family: Arial;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
padding: 40px;
}
</style>
</head>
<body>
<h1>¡Hola Mundo!</h1>
<p>Este HTML será capturado como imagen</p>
</body>
</html>
`;
async function capturar() {
try {
const rutaImagen = await mayhtml.captureHTML(
htmlContent,
'./screenshots/', // Directorio de descarga
'mi-captura' // Nombre del archivo
);
console.log('Imagen guardada en:', rutaImagen);
} catch (error) {
console.error('Error:', error.message);
}
}
capturar();
const mayhtml = new MayHTML();
async function capturarArchivo() {
try {
const rutaImagen = await mayhtml.captureFromFile(
'./mi-pagina.html', // Archivo HTML
'./capturas/', // Directorio de descarga
'captura-especial' // Nombre personalizado
);
console.log('Captura guardada:', rutaImagen);
} catch (error) {
console.error('Error:', error.message);
}
}
capturarArchivo();
Hecho ️por SoyMaycol con ♥ para la comunidad de desarrolladores
FAQs
Módulo para capturar screenshots de HTML usando CatBox y NightAPI
The npm package @soymaycol/mayhtml receives a total of 9 weekly downloads. As such, @soymaycol/mayhtml popularity was classified as not popular.
We found that @soymaycol/mayhtml demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.