rustcat: init at 1.3.0

This commit is contained in:
Fabian Affolter 2021-09-29 13:17:26 +02:00
parent 7c1a58a630
commit 07ebe7baab
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "rustcat";
version = "1.3.0";
src = fetchFromGitHub {
owner = "robiot";
repo = pname;
rev = "v${version}";
sha256 = "0f4g0fk3i9p403r21w1cdz4r9778pkz58y8h7w2fmj27bamsyfhb";
};
cargoSha256 = "0zlgnnlnglix0qrjc5v0g91v083lm20iw1fhvjpvjlfq7shdkhyd";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Port listener and reverse shell";
homepage = "https://github.com/robiot/rustcat";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -8869,6 +8869,10 @@ with pkgs;
rust-petname = callPackage ../tools/text/rust-petname { };
rustcat = callPackage ../tools/networking/rustcat {
inherit (darwin.apple_sdk.frameworks) Security;
};
rustscan = callPackage ../tools/security/rustscan {
inherit (darwin.apple_sdk.frameworks) Security;
};