
Research
Using Trusted Protocols Against You: Gmail as a C2 Mechanism
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
red-html-to-image
Advanced tools
Create node for node-red to parse pdf file.
Run the following command in the root directory of your Node-RED install:
npm i node-red-read-pdf
Buffer object that corresponds to a pdf file or a filepath leading to a pdf file.
Results of the parsing will be returned the object corresponding to a pages in the pdf.
{
numpages: <number> Number of pages,
numrender: <number> Number total page,
info: {
PDFFormatVersion: <string> PDFFormatVersion,
IsAcroFormPresent: <bool> false,
IsXFAPresent: <bool> false,
Creator: <string> Creator,
Producer: <string> Producer,
CreationDate: <string> CreationDate
},
metadata: <unknown> null,
text: <string> PDF content,
version: <string> Version PDF
}
{
"Meta": {
"PDFFormatVersion": <string> PDF foramt version,
"IsAcroFormPresent": <bool> false,
"IsXFAPresent": <bool> false,
"Author": <string> Author,
"Creator": <string> Creator,
"Producer": <string> Producer,
"CreationDate": <string> Date,
"Metadata": <object> {}
},
"Pages": [
{
"Width": <number> Page width,
"Height": <number> Page height,
"HLines": <object[]> Horizontal lines,
"VLines": <object[]> Vertical lines,
"Fills": <object[]> Fills,
"Texts": <object[]> PDF content,
"Fields": <object[]> Fields,
"Boxsets": <object[]> Boxsets,
}
]
}
FAQs
Conver html code image base64.
The npm package red-html-to-image receives a total of 2 weekly downloads. As such, red-html-to-image popularity was classified as not popular.
We found that red-html-to-image 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
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.