Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
metashield-clean-up-sdk-python | Kitploit
Tools/GitHubGitHub/elevenpaths/metashield-clean-up-sdk-python
Scripting & AutomationData RecoveryPrivacyUtilities & Frameworks
GitHubelevenpaths/metashield-clean-up-sdk-python

metashield-clean-up-sdk-python

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
228 years agoNot yet reviewed

============================== Metashield-clean-up-sdk-python

Installation

Install the metashield_clean_up package using pip::

root@kitploit:~
pip install metashield_clean_up

Usage

Example for cleaning a file.

.. code-block:: python

root@kitploit:~
import time
import base64
from metashield_clean_up.api import MetashieldCleanUp

api = MetashieldCleanUp("REPLACE_APP_ID_HERE", "REPLACE_SECRET_KEY_HERE")
with open("file.pdf", "rb") as f:
    response = api.clean_file(f.read(), "file.pdf")

clean_id = response.data["cleanId"]

time.sleep(5)  # wait until file is cleaned

response2 = api.get_clean_result(clean_id)
decoded = base64.b64decode(response2.data[clean_id])

with open("cleanFile.pdf", "w") as f:
    f.write(decoded)

Run tests

Before run tests, replace some settings in tests/settings_default.py module.

Tests was built with Python Unittest, run the following commands::

root@kitploit:~
python -m unittest discover tests
Download Tool