mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
netexec: 1.3.0 -> 1.4.0
Diff: https://github.com/Pennyw0rth/NetExec/compare/refs/tags/v1.3.0...refs/tags/v1.4.0 Changelog: https://github.com/Pennyw0rth/NetExec/releases/tag/v1.4.0
This commit is contained in:
parent
496fcd4aee
commit
5f478b3a2b
1 changed files with 8 additions and 9 deletions
|
@ -3,6 +3,7 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
python3,
|
python3,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
python = python3.override {
|
python = python3.override {
|
||||||
|
@ -27,14 +28,14 @@ let
|
||||||
in
|
in
|
||||||
python.pkgs.buildPythonApplication rec {
|
python.pkgs.buildPythonApplication rec {
|
||||||
pname = "netexec";
|
pname = "netexec";
|
||||||
version = "1.3.0";
|
version = "1.4.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Pennyw0rth";
|
owner = "Pennyw0rth";
|
||||||
repo = "NetExec";
|
repo = "NetExec";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-Pub7PAw6CTN4c/PHTPE9KcnDR2a6hSza1ODp3EWMOH0=";
|
hash = "sha256-1yNnnPntJ5aceX3Z8yYAMLv5bSFfCFVp0pgxAySlVfE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = true;
|
pythonRelaxDeps = true;
|
||||||
|
@ -46,8 +47,9 @@ python.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail '{ git = "https://github.com/fortra/impacket.git" }' '"*"' \
|
--replace-fail " @ git+https://github.com/fortra/impacket.git" "" \
|
||||||
--replace-fail '{ git = "https://github.com/Pennyw0rth/NfsClient" }' '"*"'
|
--replace-fail " @ git+https://github.com/wbond/oscrypto" "" \
|
||||||
|
--replace-fail " @ git+https://github.com/Pennyw0rth/NfsClient" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = with python.pkgs; [
|
build-system = with python.pkgs; [
|
||||||
|
@ -56,6 +58,7 @@ python.pkgs.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
dependencies = with python.pkgs; [
|
dependencies = with python.pkgs; [
|
||||||
|
jwt
|
||||||
aardwolf
|
aardwolf
|
||||||
aioconsole
|
aioconsole
|
||||||
aiosqlite
|
aiosqlite
|
||||||
|
@ -89,15 +92,11 @@ python.pkgs.buildPythonApplication rec {
|
||||||
xmltodict
|
xmltodict
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = with python.pkgs; [ pytestCheckHook ];
|
nativeCheckInputs = with python.pkgs; [ pytestCheckHook ] ++ [ writableTmpDirAsHomeHook ];
|
||||||
|
|
||||||
# Tests no longer works out-of-box with 1.3.0
|
# Tests no longer works out-of-box with 1.3.0
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
export HOME=$(mktemp -d)
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Network service exploitation tool (maintained fork of CrackMapExec)";
|
description = "Network service exploitation tool (maintained fork of CrackMapExec)";
|
||||||
homepage = "https://github.com/Pennyw0rth/NetExec";
|
homepage = "https://github.com/Pennyw0rth/NetExec";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue