<commit_before>class Exploitdb < Formula
  desc "Database of public exploits and corresponding vulnerable software"
  homepage "https://www.exploit-db.com/"
  url "https://github.com/offensive-security/exploitdb.git",
      tag:      "2021-11-13",
      revision: "a7e24bac978cb6807ab86db5b72f39d7b85afe22"
  version "2021-11-13"
  license "GPL-2.0-or-later"
  head "https://github.com/offensive-security/exploitdb.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f07e65da6279cc65d0db5bcce33ecc0c388bdac8b1923c4733113f765c086d4e"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "cce5375e7f43f1f61173e528ad37ab2eb4e43b2264e9698feeb6e4ec6bd9a548"
    sha256 cellar: :any_skip_relocation, monterey:       "f1af6d1a39a63ed53291a92af4080bf2bce73d4dae3a719785918265a17d7105"
    sha256 cellar: :any_skip_relocation, big_sur:        "746056e6698af16622d912b43808e811bebc627700bbafd36c2c6d56dc707c28"
    sha256 cellar: :any_skip_relocation, catalina:       "cc0e25012efc765bfb7a2f01dcf85acacd1804765920c4a9552883c51b8463b7"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "85f2c9dc983a409f6804b2b2c32b4990c5616b631c93d102a9733e198f76691f"
  end

  def install
    inreplace "searchsploit",<commit_msg>exploitdb 2021-11-16<commit_after>class Exploitdb < Formula
  desc "Database of public exploits and corresponding vulnerable software"
  homepage "https://www.exploit-db.com/"
  url "https://github.com/offensive-security/exploitdb.git",
      tag:      "2021-11-16",
      revision: "412b034ee9854fcf7d80ec659a23c56d95e13240"
  version "2021-11-16"
  license "GPL-2.0-or-later"
  head "https://github.com/offensive-security/exploitdb.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f07e65da6279cc65d0db5bcce33ecc0c388bdac8b1923c4733113f765c086d4e"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "cce5375e7f43f1f61173e528ad37ab2eb4e43b2264e9698feeb6e4ec6bd9a548"
    sha256 cellar: :any_skip_relocation, monterey:       "f1af6d1a39a63ed53291a92af4080bf2bce73d4dae3a719785918265a17d7105"
    sha256 cellar: :any_skip_relocation, big_sur:        "746056e6698af16622d912b43808e811bebc627700bbafd36c2c6d56dc707c28"
    sha256 cellar: :any_skip_relocation, catalina:       "cc0e25012efc765bfb7a2f01dcf85acacd1804765920c4a9552883c51b8463b7"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "85f2c9dc983a409f6804b2b2c32b4990c5616b631c93d102a9733e198f76691f"
  end

  def install
    inreplace "searchsploit",
{'fraction_non_alphanumeric': 0.07854026180087267, 'fraction_numerical': 0.25109083696945655, 'mean_word_length': 5.928571428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6676888', 'n_tokens_mistral': 1437, 'n_tokens_neox': 1095, 'n_words': 130}