From 718952024d06ac043ac99352d27656c688cbde3a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Jul 2024 20:49:16 +0200 Subject: [PATCH] metasploit: 6.4.15 -> 6.4.16 --- pkgs/tools/security/metasploit/Gemfile | 2 +- pkgs/tools/security/metasploit/Gemfile.lock | 11 +++++++---- pkgs/tools/security/metasploit/default.nix | 4 ++-- pkgs/tools/security/metasploit/gemset.nix | 16 +++++++++++++--- 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/security/metasploit/Gemfile b/pkgs/tools/security/metasploit/Gemfile index 125546793296..e96d4350d251 100644 --- a/pkgs/tools/security/metasploit/Gemfile +++ b/pkgs/tools/security/metasploit/Gemfile @@ -1,4 +1,4 @@ # frozen_string_literal: true source "https://rubygems.org" -gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.15" +gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.16" diff --git a/pkgs/tools/security/metasploit/Gemfile.lock b/pkgs/tools/security/metasploit/Gemfile.lock index f8839316b6a1..548118f22da0 100644 --- a/pkgs/tools/security/metasploit/Gemfile.lock +++ b/pkgs/tools/security/metasploit/Gemfile.lock @@ -1,9 +1,9 @@ GIT remote: https://github.com/rapid7/metasploit-framework - revision: b4a408704631fd0a0a4587f1f1a0017bcec9fb45 - ref: refs/tags/6.4.15 + revision: d21ca8b456e74278a0149a34ced9292692b5c52d + ref: refs/tags/6.4.16 specs: - metasploit-framework (6.4.15) + metasploit-framework (6.4.16) aarch64 abbrev actionpack (~> 7.0.0) @@ -51,6 +51,7 @@ GIT nessus_rest net-imap net-ldap + net-sftp net-smtp net-ssh network_interface @@ -297,6 +298,8 @@ GEM net-ldap (0.19.0) net-protocol (0.2.2) timeout + net-sftp (4.0.0) + net-ssh (>= 5.0.0, < 8.0.0) net-smtp (0.5.0) net-protocol net-ssh (7.2.3) @@ -481,4 +484,4 @@ DEPENDENCIES metasploit-framework! BUNDLED WITH - 2.5.9 + 2.5.11 diff --git a/pkgs/tools/security/metasploit/default.nix b/pkgs/tools/security/metasploit/default.nix index 6bd3bf152e58..f73cfe86b63a 100644 --- a/pkgs/tools/security/metasploit/default.nix +++ b/pkgs/tools/security/metasploit/default.nix @@ -15,13 +15,13 @@ let }; in stdenv.mkDerivation rec { pname = "metasploit-framework"; - version = "6.4.15"; + version = "6.4.16"; src = fetchFromGitHub { owner = "rapid7"; repo = "metasploit-framework"; rev = "refs/tags/${version}"; - hash = "sha256-CJXti/pX2Q59fJgRbAodUDMlMHIJH0eh3kOZxrQEllY="; + hash = "sha256-dCeSSxIIDMsEa6hQ43tcoRDMLkE3o+UzwsGOWE7jUPA="; }; nativeBuildInputs = [ diff --git a/pkgs/tools/security/metasploit/gemset.nix b/pkgs/tools/security/metasploit/gemset.nix index c1918985810b..c1b2f3484aa7 100644 --- a/pkgs/tools/security/metasploit/gemset.nix +++ b/pkgs/tools/security/metasploit/gemset.nix @@ -724,12 +724,12 @@ platforms = []; source = { fetchSubmodules = false; - rev = "b4a408704631fd0a0a4587f1f1a0017bcec9fb45"; - sha256 = "0mln0jscd6a3vshlf7q9f8q2acsh3l56q4cqgiyhxnapza5yv588"; + rev = "d21ca8b456e74278a0149a34ced9292692b5c52d"; + sha256 = "1w2hwd75i3n1q8ryb8rp84pcq451bixy6l58dc2cn308295r49vl"; type = "git"; url = "https://github.com/rapid7/metasploit-framework"; }; - version = "6.4.15"; + version = "6.4.16"; }; metasploit-model = { groups = ["default"]; @@ -891,6 +891,16 @@ }; version = "0.2.2"; }; + net-sftp = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0r33aa2d61hv1psm0l0mm6ik3ycsnq8symv7h84kpyf2b7493fv5"; + type = "gem"; + }; + version = "4.0.0"; + }; net-smtp = { groups = ["default"]; platforms = [];