Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pocsuite3 1.9.1 #97076

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions Formula/pocsuite3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ class Pocsuite3 < Formula

desc "Open-sourced remote vulnerability testing framework"
homepage "https://pocsuite.org/"
url "https://files.pythonhosted.org/packages/e7/0f/850ed9fe694bdaf6bba5ccc22d88ded32dcf25d62e7741a897ec5e47b081/pocsuite3-1.9.0.tar.gz"
sha256 "88bd927300ec14fd433aec8ff4663076d6f54a973fa1679e3a1d2038efcdc750"
url "https://files.pythonhosted.org/packages/17/1d/bdaacb23a558c2dea0bd57ea7fd0890f72343e9fa18b83620f50b0dc1646/pocsuite3-1.9.1.tar.gz"
sha256 "72123bc05f0c45f73d6f9be2d1a1278fbf96973fa97fead501141d3771a3d91b"
license "GPL-2.0-only"
head "https://github.com/knownsec/pocsuite3.git", branch: "master"

Expand All @@ -17,9 +17,7 @@ class Pocsuite3 < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "4849865c57e0246fea192119f5294846c8760500bdd2141db5ffa408c0a14a77"
end

depends_on "rust" => :build # for cryptography
depends_on "[email protected]"
depends_on "[email protected]"
depends_on "[email protected]"
depends_on "six"

uses_from_macos "libffi"
Expand Down Expand Up @@ -54,8 +52,8 @@ class Pocsuite3 < Formula
end

resource "Faker" do
url "https://files.pythonhosted.org/packages/45/7b/aba10bc978415345db63925a4ffbd34a7854e54d34be4e36b3f9b4e95808/Faker-13.3.0.tar.gz"
sha256 "618b140c77475786dbe3a5409ad53521cb76746ab7a5c77b99c663f3ef1b1bc2"
url "https://files.pythonhosted.org/packages/4e/34/86691abe2391c30854becce2e2c4cd63680e94b1d54269473e6ec253da1f/Faker-13.3.2.tar.gz"
sha256 "fe969607836ce7100e38b88dcb598aacb733d895e6e9401894dd603e35623000"
end

resource "idna" do
Expand All @@ -64,8 +62,8 @@ class Pocsuite3 < Formula
end

resource "prettytable" do
url "https://files.pythonhosted.org/packages/89/c1/3043e85bf06f252f51817dad51a37368daaf7b1c101b43cd5aa6100f09b1/prettytable-3.1.1.tar.gz"
sha256 "43c9e23272ca253d038ae76fe3adde89794e92e7fcab2ddf5b94b38642ef4f21"
url "https://files.pythonhosted.org/packages/cb/7d/7e6bc4bd4abc49e9f4f5c4773bb43d1615e4b476d108d1b527318b9c6521/prettytable-3.2.0.tar.gz"
sha256 "ae7d96c64100543dc61662b40a28f3b03c0f94a503ed121c6fca2782c5816f81"
end

resource "pycryptodomex" do
Expand Down Expand Up @@ -104,8 +102,8 @@ class Pocsuite3 < Formula
end

resource "urllib3" do
url "https://files.pythonhosted.org/packages/b0/b1/7bbf5181f8e3258efae31702f5eab87d8a74a72a0aa78bc8c08c1466e243/urllib3-1.26.8.tar.gz"
sha256 "0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"
url "https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz"
sha256 "aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e"
end

resource "wcwidth" do
Expand All @@ -118,6 +116,6 @@ def install
end

test do
assert_match "Module (pocs_ecshop_rce) options:", shell_output("#{bin}/pocsuite -r ecshop_rce.py --options")
assert_match "Module (pocs_ecshop_rce) options:", shell_output("#{bin}/pocsuite -k ecshop --options")
end
end