tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ec2stepshell: init at unstable-2023-04-07
Fabian Affolter
2 years ago
e553dbe0
b7a9deb5
+48
2 changed files
expand all
collapse all
unified
split
pkgs
tools
security
ec2stepshell
default.nix
top-level
all-packages.nix
+46
pkgs/tools/security/ec2stepshell/default.nix
···
1
1
+
{ lib
2
2
+
, python3
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
python3.pkgs.buildPythonApplication rec {
7
7
+
pname = "ec2stepshell";
8
8
+
version = "unstable-2023-04-07";
9
9
+
format = "pyproject";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "saw-your-packet";
13
13
+
repo = "EC2StepShell";
14
14
+
rev = "ab1298fa7f2650de711e86e870a693dcce0e1935";
15
15
+
hash = "sha256-zy33CgGwa2pBYouqaJ1LM6uRIh3Q1uxi2zNXpDNPsuQ=";
16
16
+
};
17
17
+
18
18
+
postPatch = ''
19
19
+
# https://github.com/saw-your-packet/EC2StepShell/pull/1
20
20
+
substituteInPlace pyproject.toml \
21
21
+
--replace "realpython" "ec2stepshell"
22
22
+
'';
23
23
+
24
24
+
nativeBuildInputs = with python3.pkgs; [
25
25
+
setuptools
26
26
+
];
27
27
+
28
28
+
propagatedBuildInputs = with python3.pkgs; [
29
29
+
boto3
30
30
+
colorama
31
31
+
pyfiglet
32
32
+
termcolor
33
33
+
];
34
34
+
35
35
+
pythonImportsCheck = [
36
36
+
"ec2stepshell"
37
37
+
];
38
38
+
39
39
+
meta = with lib; {
40
40
+
description = "AWS post-exploitation tool";
41
41
+
homepage = "https://github.com/saw-your-packet/EC2StepShell";
42
42
+
changelog = "https://github.com/saw-your-packet/EC2StepShell/blob/${version}/CHANGELOG.txt";
43
43
+
license = licenses.mit;
44
44
+
maintainers = with maintainers; [ fab ];
45
45
+
};
46
46
+
}
+2
pkgs/top-level/all-packages.nix
···
38769
38769
dxvk_1 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "1.10"; };
38770
38770
dxvk_2 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "2.1"; };
38771
38771
38772
38772
+
ec2stepshell = callPackage ../tools/security/ec2stepshell { };
38773
38773
+
38772
38774
ecdsatool = callPackage ../tools/security/ecdsatool { };
38773
38775
38774
38776
electricsheep = callPackage ../misc/screensavers/electricsheep { };