-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrufflehog.rb
More file actions
45 lines (40 loc) · 1.57 KB
/
trufflehog.rb
File metadata and controls
45 lines (40 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Trufflehog < Formula
desc "Find credentials all over the place"
homepage "https://github.com/trufflesecurity/trufflehog"
version "3.93.8"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.93.8/trufflehog_3.93.8_darwin_amd64.tar.gz"
sha256 "32e94de8572cdb014a261ee04b86d45ee5f2bb08b40aee1a054076284a3c2396"
define_method(:install) do
bin.install "trufflehog"
end
end
if Hardware::CPU.arm?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.93.8/trufflehog_3.93.8_darwin_arm64.tar.gz"
sha256 "f6eb3ae49c653e1ec8474ee3d4161666548e895d5051dad509ec8baa5b1fb89e"
define_method(:install) do
bin.install "trufflehog"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.93.8/trufflehog_3.93.8_linux_amd64.tar.gz"
sha256 "b965dd2a4106dc3c194dfcaa93931fe0a93571261e3e1f46f2d1728b6612e019"
define_method(:install) do
bin.install "trufflehog"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.93.8/trufflehog_3.93.8_linux_arm64.tar.gz"
sha256 "9d51b703515502ee5a7be0ac48719a8f13c33544cecb5abaedcaaf6ad8238537"
define_method(:install) do
bin.install "trufflehog"
end
end
end
end