<commit_before>class Exploitdb < Formula
  desc "The official Exploit Database"
  homepage "https://www.exploit-db.com/"
  url "https://github.com/offensive-security/exploitdb.git",
      :tag      => "2019-10-31",
      :revision => "caad53ed8d2363397a0135aba01ca1be6be806de"
  version "2019-10-31"
  head "https://github.com/offensive-security/exploitdb.git"

  bottle :unneeded

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

    optpath = opt_share/"exploitdb"<commit_msg>exploitdb 2019-11-01 (#46055)<commit_after>class Exploitdb < Formula
  desc "The official Exploit Database"
  homepage "https://www.exploit-db.com/"
  url "https://github.com/offensive-security/exploitdb.git",
      :tag      => "2019-11-01",
      :revision => "c99b957a9fd40282d121719d6d2bdbec6407a8b9"
  version "2019-11-01"
  head "https://github.com/offensive-security/exploitdb.git"

  bottle :unneeded

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

    optpath = opt_share/"exploitdb"
{'fraction_non_alphanumeric': 0.15027322404371585, 'fraction_numerical': 0.08287795992714025, 'mean_word_length': 3.522633744855967, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4584236', 'n_tokens_mistral': 473, 'n_tokens_neox': 401, 'n_words': 61}