<commit_before>class Exploitdb < Formula
  desc "The official Exploit Database"
  homepage "https://www.exploit-db.com/"
  url "https://github.com/offensive-security/exploit-database.git",
      :tag => "2017-08-19",
      :revision => "1a85ec2c8718c629942c4ac1dc179efa85b7d82b"
  version "2017-08-19"
  head "https://github.com/offensive-security/exploit-database.git"

  bottle :unneeded

  def install
    inreplace "searchsploit", "gitpath=\"/opt/exploit-database\"", "gitpath=\"#{pkgshare}\""
    bin.install "searchsploit"
    pkgshare.install %w[files.csv platforms .git]
  end

  test do
    system "#{bin}/searchsploit", "sendpage"
  end
end<commit_msg>exploitdb 2017-08-29 (#17358)<commit_after>class Exploitdb < Formula
  desc "The official Exploit Database"
  homepage "https://www.exploit-db.com/"
  url "https://github.com/offensive-security/exploit-database.git",
      :tag => "2017-08-29",
      :revision => "72d44bf877d059c38576a2cae4576a7dc7a4f24d"
  version "2017-08-29"
  head "https://github.com/offensive-security/exploit-database.git"

  bottle :unneeded

  def install
    inreplace "searchsploit", "gitpath=\"/opt/exploit-database\"", "gitpath=\"#{pkgshare}\""
    bin.install "searchsploit"
    pkgshare.install %w[files.csv platforms .git]
  end

  test do
    system "#{bin}/searchsploit", "sendpage"
  end
end
{'fraction_non_alphanumeric': 0.15, 'fraction_numerical': 0.07014925373134329, 'mean_word_length': 3.9483394833948338, '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': '5069383', 'n_tokens_mistral': 560, 'n_tokens_neox': 483, 'n_words': 85}