Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Gulag Cleaner is a tool designed to remove advertisements from PDFs, making it easier to read and navigate documents without being disrupted by unwanted ads.
This tool does not just crop the ads out of the PDF, instead, we extract the original file without ads by manipulating the internal structure of the PDF, ensuring maximum quality.
In addition to removing advertisements, Gulag Cleaner is also capable of extracting metadata, such as the author, subject, university, and more, from the file.
This tool can be used without installation directly from our website (in Spanish).
To install Gulag Cleaner, please download and install Python and then run the following command in your terminal:
pip install gulagcleaner
Gulag Cleaner can be used through both a Command Line Interface (CLI) and in your code.
To use Gulag Cleaner through the CLI, simply run the following command, replacing <filename>
with the name of one or more PDF files or folders containing PDF:
gulagcleaner [-r] [-s] [-n] [-h] [-v] <filename>...
Gulag Cleaner provides several options for its usage:
- '-r': Replace the original file with the cleaned version.
- '-s': Do not show metadata about cleaned files.
- '-n': Force the naive cleaning method.
- '-h': Display the help message, providing information on how to use Gulag Cleaner.
- '-v': Display the current version of Gulag Cleaner.
To use Gulag Cleaner in your code, you can use the following code snippet:
from gulagcleaner.extract import clean_pdf
return_msg = clean_pdf_path("input.pdf","output.pdf")
Gulag Cleaner is distributed under the GPL-3 license, which means it's open-source and free to use.
We're always looking for ways to improve Gulag Cleaner, and we welcome contributions from the community. If you have ideas for improvements or bug fixes, please feel free to submit a pull request.
If you want to help, these are the top priorities right now:
FAQs
Ad removal tool for PDFs.
We found that gulagcleaner 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.