<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-08-28",
      revision: "ac4322c402cdd33966a45ed97667c4b537cabe6c"
  version "2021-08-28"
  license "GPL-2.0-or-later"
  head "https://github.com/offensive-security/exploitdb.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "bbdf24205f0297e9bd1ab3860a2b5239fc4fca5dd2e13c17a3482ea71af0ccd0"
    sha256 cellar: :any_skip_relocation, big_sur:       "6303363ce415c3bfb2d6e7743145678dcbb44257caf519334c8e368717d793ee"
    sha256 cellar: :any_skip_relocation, catalina:      "d85c138f37bf6c2c80d032a7ea1720d2e811e7735085e7aaeeead07335f75e45"
    sha256 cellar: :any_skip_relocation, mojave:        "4281f453ec483a5740e92e7d7a284f03acf60e5217ad02e9a1d87f5a274f9655"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "4da827136f55e76f20cfdd6ef0ea1bef2d98ecff2467551ffc48afe568bf0764"
  end

  def install
    inreplace "searchsploit",
              "rc_file=\"\"", "rc_file=\"#{etc}/searchsploit_rc\""

    optpath = opt_share/"exploitdb"
    inreplace ".searchsploit_rc" do |s|
      s.gsub! "\"/opt/exploitdb\"", optpath
      s.gsub! "\"/opt/exploitdb-papers\"", "#{optpath}-papers"
    end<commit_msg>exploitdb: update 2021-08-28 bottle.<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-08-28",
      revision: "ac4322c402cdd33966a45ed97667c4b537cabe6c"
  version "2021-08-28"
  license "GPL-2.0-or-later"
  head "https://github.com/offensive-security/exploitdb.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "b4aca8ff9f24dd694ba62b5c75ff08bfa78c288bf0534acc864e85bd9343988d"
    sha256 cellar: :any_skip_relocation, big_sur:       "ad96296c2c40b0fbc4378e898d8d8f8687cb6b2480c36ef9e01aec01acf43344"
    sha256 cellar: :any_skip_relocation, catalina:      "83da3576076c2943186d36d06c9e515b24f902112f973da0aa027b1056a32c16"
    sha256 cellar: :any_skip_relocation, mojave:        "2959b3b7a3d1a9906efb6e41dec51d3e9e6c429398abc4588cae401f5fd60dc4"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "885b7e346028d1d393a73858045b88390a99e51de2f2c4cdaa38b4eae0800b4d"
  end

  def install
    inreplace "searchsploit",
              "rc_file=\"\"", "rc_file=\"#{etc}/searchsploit_rc\""

    optpath = opt_share/"exploitdb"
    inreplace ".searchsploit_rc" do |s|
      s.gsub! "\"/opt/exploitdb\"", optpath
      s.gsub! "\"/opt/exploitdb-papers\"", "#{optpath}-papers"
    end
{'fraction_non_alphanumeric': 0.10648315827598696, 'fraction_numerical': 0.1926838102136907, 'mean_word_length': 4.671457905544147, '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': '6773066', 'n_tokens_mistral': 1463, 'n_tokens_neox': 1161, 'n_words': 148}