- package: tis-malwarebytes
- name: Malwarebytes
- version: 4.6.8.370-6
- categories: Security
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: Malwarebytes
- licence: freemium
- locale: all
- target_os: windows
- impacted_process: mbam,MbamBgNativeMsg,MBAMInstallerService,MbamPt,MBAMService,mbamtray,MBAMWsc,mbuns,malwarebytes_assistant
- architecture: all
- signature_date:
- size: 1.45 Mo
- installed_size: 250.85 Mo
- homepage : https://fr.malwarebytes.com/
package : tis-malwarebytes
version : 4.6.8.370-6
architecture : all
section : base
priority : optional
name : Malwarebytes
categories : Security
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : Malwarebytes is an anti-malware software that finds and removes malware
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://www.malwarebytes.com/mwb-download
installed_size : 250847232
impacted_process : mbam,MbamBgNativeMsg,MBAMInstallerService,MbamPt,MBAMService,mbamtray,MBAMWsc,mbuns,malwarebytes_assistant
description_fr : Malwarebytes est un logiciel créé pour détecter et supprimer les logiciels malveillants
description_pl : Malwarebytes to oprogramowanie anty-malware, które znajduje i usuwa złośliwe oprogramowanie
description_de : Malwarebytes ist eine Anti-Malware-Software, die Malware findet und beseitigt
description_es : Malwarebytes es un software antimalware que encuentra y elimina el malware
description_pt : Malwarebytes é um software anti-malware que encontra e remove malware
description_it : Malwarebytes è un software anti-malware che trova e rimuove il malware
description_nl : Malwarebytes is een anti-malware software die malware vindt en verwijdert
description_ru : Malwarebytes - это антивирусное программное обеспечение, которое находит и удаляет вредоносные программы
audit_schedule :
editor : Malwarebytes
keywords : malware,spyware,ads
licence : freemium
homepage : https://fr.malwarebytes.com/
package_uuid : 68b014c7-71a4-405a-a9f9-59c61cab8b9a
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 6.1
max_os_version :
icon_sha256sum : 1fe4f6c86e0972272f4398673d2c3cfecbdfc2436f9d0e407aef7e4aeef95354
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : kjsm/0GCmDa5gP4D33zEOLMcZuiT2mA54czB5kcZRWTxn0LviRMjtoQPHLRnZdBL3miu5CSd1lutE23+txlXC3O9PVGafHRdMUKAVV2M9zjI6nQ2y8GweDlUPHT+1Z++RFXrBTQukXXhSBG/mixOLXVb9aOPVunbQo+fpWjsykpeBqhMcE3yTQX1nwYu68lxecrxxRKErQlp5x9paMW1/qMeNudYIAyvofxP52URIEY/Moo8rtdDDBzPYKuI+Xr5yLtn5zVxKhpdn4ZICyiPXXgViBkz7cOxY3XTvh1PkjCoOhUA+p/+geyNhZ4Qr2HhUm6cqpPFP3zXfdazyzdx4w==
signature_date : 2024-01-25T00:00:08.066686
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_name = "MBSetup.exe"
silentflags = "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART"
app_uninstallkey = "{35065F43-4BB2-439A-BFF7-0F1014F2E0CD}_is1"
app_editor_dir = makepath(programfiles, "Malwarebytes")
app_dir = makepath(programfiles, "Malwarebytes", "Anti-Malware")
bin_path = makepath(app_dir, "mbuns.exe")
def install():
# Declaring local variables
package_version = control.get_software_version()
# Installing the software
print("Installing: %s (%s)" % (control.name, package_version))
install_exe_if_needed(bin_name, silentflags=silentflags, key=app_uninstallkey, min_version="", timeout=600)
# Avoiding the usage by WAPT of the app built-in Uninstallstring
uninstallkey.remove(app_uninstallkey)
def audit():
# Declaring local variables
package_version = control.version.split("-", 1)[0]
app_name = control.name
# Getting installed software version
if installed_softwares(uninstallkey=app_uninstallkey):
installed_version = installed_softwares(uninstallkey=app_uninstallkey)[0]["version"]
else:
installed_version = None
# Auditing software
print("Auditing: %s" % control.package)
if installed_version is None:
print("%s is not installed" % (app_name, installed_version))
return "ERROR"
else:
print("%s is installed in correct version (%s)" % (app_name, installed_version))
return "OK"
def uninstall():
# Uninstalling the software
for to_uninstall in installed_softwares(app_uninstallkey):
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(control.impacted_process.split(","))
run([bin_path] + ["/VERYSILENT"] + ["/NORESTART"])
wait_uninstallkey_absent(to_uninstall["key"])
""" if service_installed("MBAMService"):
service_delete("MBAMService") """
""" if isdir(app_dir):
killalltasks(control.impacted_process.split(","))
print("Removing: %s" % (app_dir))
remove_tree(app_dir)
if isdir(app_editor_dir) and dir_is_empty(app_editor_dir):
print("Removing: %s since he is empty" % (app_editor_dir))
remove_tree(app_editor_dir) """
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://www.malwarebytes.com/mwb-download"
download_url = "https://data-cdn.mbamupdates.com/web/mb4-setup-consumer/MBSetup.exe"
latest_bin = download_url.split("/")[-1]
# Downloading latest binaries
if not isfile(latest_bin):
remove_file(latest_bin)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
version = get_version_from_binary(latest_bin, "FileVersion")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
60fcf66adaf6443786899e2fb2cda116eabde54064aaf7af2cf9482b8520cc1a : setup.py
c39c4e3985810f7e1a13892a9aeec6649c5a9d626536d25594bd28a79e1fe633 : update_package.py
1fe4f6c86e0972272f4398673d2c3cfecbdfc2436f9d0e407aef7e4aeef95354 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4fc58a3479f8238e4f16dc3eaca2ee1223d9c93c995f98b24b3718a87277ace6 : WAPT/changelog.txt
57d4c5559a39b5f818c87c3e25468549ebc81d4a252b4b9fbd4476327a84c59d : luti.json
377ac497bdeb20e13ea84ca1eab709946535b77d4231007a7646509386a4af33 : MBSetup.exe
3dcb141a661cadcd5deb324257505d9845be19a2e3cf4fa92513ed598e536c30 : WAPT/control
4.5.2.260-5
===
split update package