ec2stepshell: init at unstable-2023-04-07
This commit is contained in:
parent
b7a9deb5bd
commit
e553dbe0a6
46
pkgs/tools/security/ec2stepshell/default.nix
Normal file
46
pkgs/tools/security/ec2stepshell/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "ec2stepshell";
|
||||||
|
version = "unstable-2023-04-07";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "saw-your-packet";
|
||||||
|
repo = "EC2StepShell";
|
||||||
|
rev = "ab1298fa7f2650de711e86e870a693dcce0e1935";
|
||||||
|
hash = "sha256-zy33CgGwa2pBYouqaJ1LM6uRIh3Q1uxi2zNXpDNPsuQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/saw-your-packet/EC2StepShell/pull/1
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace "realpython" "ec2stepshell"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
boto3
|
||||||
|
colorama
|
||||||
|
pyfiglet
|
||||||
|
termcolor
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"ec2stepshell"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "AWS post-exploitation tool";
|
||||||
|
homepage = "https://github.com/saw-your-packet/EC2StepShell";
|
||||||
|
changelog = "https://github.com/saw-your-packet/EC2StepShell/blob/${version}/CHANGELOG.txt";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -38769,6 +38769,8 @@ with pkgs;
|
||||||
dxvk_1 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "1.10"; };
|
dxvk_1 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "1.10"; };
|
||||||
dxvk_2 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "2.1"; };
|
dxvk_2 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "2.1"; };
|
||||||
|
|
||||||
|
ec2stepshell = callPackage ../tools/security/ec2stepshell { };
|
||||||
|
|
||||||
ecdsatool = callPackage ../tools/security/ecdsatool { };
|
ecdsatool = callPackage ../tools/security/ecdsatool { };
|
||||||
|
|
||||||
electricsheep = callPackage ../misc/screensavers/electricsheep { };
|
electricsheep = callPackage ../misc/screensavers/electricsheep { };
|
||||||
|
|
Loading…
Reference in a new issue