lol

netexec: 1.1.0-unstable-2024-01-15 -> 1.3.0

Diff: https://github.com/Pennyw0rth/NetExec/compare/refs/tags/v1.1.0...v1.3.0

Changelog: https://github.com/Pennyw0rth/NetExec/releases/tag/v1.3.0

+24 -18
+24 -18
pkgs/tools/security/netexec/default.nix
··· 27 27 in 28 28 python.pkgs.buildPythonApplication rec { 29 29 pname = "netexec"; 30 - version = "1.1.0-unstable-2024-01-15"; 30 + version = "1.3.0"; 31 31 pyproject = true; 32 + 33 + src = fetchFromGitHub { 34 + owner = "Pennyw0rth"; 35 + repo = "NetExec"; 36 + tag = "v${version}"; 37 + hash = "sha256-Pub7PAw6CTN4c/PHTPE9KcnDR2a6hSza1ODp3EWMOH0="; 38 + }; 39 + 32 40 pythonRelaxDeps = true; 41 + 33 42 pythonRemoveDeps = [ 34 43 # Fail to detect dev version requirement 35 44 "neo4j" 36 45 ]; 37 46 38 - src = fetchFromGitHub { 39 - owner = "Pennyw0rth"; 40 - repo = "NetExec"; 41 - rev = "9df72e2f68b914dfdbd75b095dd8f577e992615f"; 42 - hash = "sha256-oQHtTE5hdlxHX4uc412VfNUrN0UHVbwI0Mm9kmJpNW4="; 43 - }; 44 - 45 47 postPatch = '' 46 48 substituteInPlace pyproject.toml \ 47 - --replace '{ git = "https://github.com/Pennyw0rth/impacket.git", branch = "gkdi" }' '"*"' \ 48 - --replace '{ git = "https://github.com/Pennyw0rth/oscrypto" }' '"*"' 49 + --replace-fail '{ git = "https://github.com/fortra/impacket.git" }' '"*"' \ 50 + --replace-fail '{ git = "https://github.com/Pennyw0rth/NfsClient" }' '"*"' 49 51 ''; 50 52 51 - nativeBuildInputs = with python.pkgs; [ 53 + build-system = with python.pkgs; [ 52 54 poetry-core 55 + poetry-dynamic-versioning 53 56 ]; 54 57 55 - propagatedBuildInputs = with python.pkgs; [ 58 + dependencies = with python.pkgs; [ 56 59 aardwolf 57 60 aioconsole 58 61 aiosqlite ··· 67 70 masky 68 71 minikerberos 69 72 msgpack 73 + msldap 70 74 neo4j 71 - oscrypto 72 75 paramiko 73 76 pyasn1-modules 74 77 pylnk3 78 + pynfsclient 75 79 pypsrp 76 80 pypykatz 81 + python-dateutil 77 82 python-libnmap 78 83 pywerview 79 84 requests ··· 84 89 xmltodict 85 90 ]; 86 91 87 - nativeCheckInputs = with python.pkgs; [ 88 - pytestCheckHook 89 - ]; 92 + nativeCheckInputs = with python.pkgs; [ pytestCheckHook ]; 93 + 94 + # Tests no longer works out-of-box with 1.3.0 95 + doCheck = false; 90 96 91 97 preCheck = '' 92 98 export HOME=$(mktemp -d) ··· 96 102 description = "Network service exploitation tool (maintained fork of CrackMapExec)"; 97 103 homepage = "https://github.com/Pennyw0rth/NetExec"; 98 104 changelog = "https://github.com/Pennyw0rth/NetExec/releases/tag/v${version}"; 99 - license = with licenses; [ bsd2 ]; 100 - mainProgram = "nxc"; 105 + license = licenses.bsd2; 101 106 maintainers = with maintainers; [ vncsb ]; 107 + mainProgram = "nxc"; 102 108 # FIXME: failing fixupPhase: 103 109 # $ Rewriting #!/nix/store/<hash>-python3-3.11.7/bin/python3.11 to #!/nix/store/<hash>-python3-3.11.7 104 110 # $ /nix/store/<hash>-wrap-python-hook/nix-support/setup-hook: line 65: 47758 Killed: 9 sed -i "$f" -e "1 s^#!/nix/store/<hash>-python3-3.11.7^#!/nix/store/<hash>-python3-3.11.7^"