-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrufflehog.rb
51 lines (44 loc) · 1.57 KB
/
trufflehog.rb
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
46
47
48
49
50
51
# 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.88.18"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.88.18/trufflehog_3.88.18_darwin_amd64.tar.gz"
sha256 "30309e0241fd432c85d91b1695814ef467cf5d0f7c22a746ceebb3504c66b7b4"
def install
bin.install "trufflehog"
end
end
if Hardware::CPU.arm?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.88.18/trufflehog_3.88.18_darwin_arm64.tar.gz"
sha256 "585070552258b0bbab157d5c305a737c4d9a098877398f44f1fc30b698f66d9d"
def install
bin.install "trufflehog"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.88.18/trufflehog_3.88.18_linux_amd64.tar.gz"
sha256 "7becf6e523485e28aceb323c85ec566d55312e2ef75acd625a9e9d14f47daa0a"
def install
bin.install "trufflehog"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/trufflesecurity/trufflehog/releases/download/v3.88.18/trufflehog_3.88.18_linux_arm64.tar.gz"
sha256 "e5fc10a041dc2c30db58204fc650de5e4a2661a3e1d1262174eb53a4a39126e2"
def install
bin.install "trufflehog"
end
end
end
end
end