Skip to content
KitploitKITPLOIT
FerramentasBlog
Enviar
FerramentasBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
metashield-clean-up-sdk-python | Kitploit
Ferramentas/GitHubGitHub/elevenpaths/metashield-clean-up-sdk-python
Scripting e AutomaçãoRecuperação de DadosPrivacidadeUtilitários e Frameworks
GitHubelevenpaths/metashield-clean-up-sdk-python

metashield-clean-up-sdk-python

Ver Repositório

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
Compartilhar
22há 8 anosAinda não revisado

Metashield-clean-up-sdk-python

Instalação

Instale o pacote metashield_clean_up usando pip::

root@kitploit:~
pip install metashield_clean_up

Uso

Exemplo para limpar um arquivo.

.. 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)

Executar testes

Antes de executar os testes, substitua algumas configurações no módulo tests/settings_default.py.

Os testes foram construídos com Python Unittest, execute os seguintes comandos::

root@kitploit:~
python -m unittest discover tests
Baixar ferramenta