<commit_before>cask 'malwarebytes' do
  version '3.9.32.2826'
  sha256 '3b54989df78d589c1b6c77e9b32a00aadae76f84557b7722f2064fd1d1895a86'

  # data-cdn.mbamupdates.com/web was verified as official when first introduced to the cask
  url "https://data-cdn.mbamupdates.com/web/mb#{version.major}_mac/Malwarebytes-Mac-#{version}.pkg"
  appcast 'https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://downloads.malwarebytes.com/file/mb3-mac'
  name 'Malwarebytes for Mac'
  homepage 'https://www.malwarebytes.com/mac/'

  auto_updates true
  depends_on macos: '>= :yosemite'

  pkg "Malwarebytes-Mac-#{version}.pkg"

  uninstall delete:    '/Library/Application Support/Malwarebytes/MBAM',
            kext:      'com.malwarebytes.mbam.rtprotection',
            launchctl: [
                         'com.malwarebytes.mbam.frontend.agent',
                         'com.malwarebytes.mbam.rtprotection.daemon',
                         'com.malwarebytes.mbam.settings.daemon',
                       ],
            pkgutil:   'com.malwarebytes.mbam.*',
            quit:      'com.malwarebytes.mbam.frontend.agent',
            rmdir:     '/Library/Application Support/Malwarebytes'

  zap trash: [
               '~/Library/Application Support/com.malwarebytes.mbam.frontend.*',
               '~/Library/Saved Application State/com.malwarebytes.mbam.frontend.application.savedState',
               '~/Library/Preferences/com.malwarebytes.mbam.frontend.*',
               '~/Library/Caches/com.crashlytics.data/com.malwarebytes.mbam.frontend.*',
               '~/Library/Caches/com.malwarebytes.mbam.frontend.*',
               '~/Library/Caches/io.fabric.sdk.mac.data/com.malwarebytes.mbam.frontend.*',
             ]
end
<commit_msg>Update malwarebytes from 3.9.32.2826 to 4.0.27.3069 (#72058)<commit_after>cask 'malwarebytes' do
  version '4.0.27.3069'
  sha256 'cc7996e73e81d8522d0caafab86c8e8493544f8bae4295d424396e01757f74c2'

  # data-cdn.mbamupdates.com/web was verified as official when first introduced to the cask
  url "https://data-cdn.mbamupdates.com/web/mb#{version.major}_mac/Malwarebytes-Mac-#{version}.pkg"
  appcast 'https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://downloads.malwarebytes.com/file/mb3-mac'
  name 'Malwarebytes for Mac'
  homepage 'https://www.malwarebytes.com/mac/'

  auto_updates true
  depends_on macos: '>= :yosemite'

  pkg "Malwarebytes-Mac-#{version}.pkg"

  uninstall delete:    '/Library/Application Support/Malwarebytes/MBAM',
            kext:      'com.malwarebytes.mbam.rtprotection',
            launchctl: [
                         'com.malwarebytes.mbam.frontend.agent',
                         'com.malwarebytes.mbam.rtprotection.daemon',
                         'com.malwarebytes.mbam.settings.daemon',
                       ],
            pkgutil:   'com.malwarebytes.mbam.*',
            quit:      'com.malwarebytes.mbam.frontend.agent',
            rmdir:     '/Library/Application Support/Malwarebytes'

  zap trash: [
               '~/Library/Application Support/com.malwarebytes.mbam.frontend.*',
               '~/Library/Saved Application State/com.malwarebytes.mbam.frontend.application.savedState',
               '~/Library/Preferences/com.malwarebytes.mbam.frontend.*',
               '~/Library/Caches/com.crashlytics.data/com.malwarebytes.mbam.frontend.*',
               '~/Library/Caches/com.malwarebytes.mbam.frontend.*',
               '~/Library/Caches/io.fabric.sdk.mac.data/com.malwarebytes.mbam.frontend.*',
             ]
end

{'fraction_non_alphanumeric': 0.131216633885923, 'fraction_numerical': 0.03624613655521214, 'mean_word_length': 2.5004916420845626, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4852943', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1185, 'n_words': 134}