Merge pull request #228360 from fabaff/smbmap

smbmap: init at unstable-2023-03-29
This commit is contained in:
figsoda 2023-04-26 15:03:55 -04:00 committed by GitHub
commit d12fa94d29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "smbmap";
version = "unstable-2023-03-29";
format = "setuptools";
src = fetchFromGitHub {
owner = "ShawnDEvans";
repo = "smbmap";
rev = "ce60773320e11b2ecd1ce1b5ab2a62d43d4a4423";
hash = "sha256-4DdiICH3B7x8Wr5CcqiuhCHPv6W/5bT5MGdXkyE0OKA=";
};
propagatedBuildInputs = with python3.pkgs; [
impacket
pyasn1
pycrypto
configparser
termcolor
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"smbmap"
];
meta = with lib; {
description = "SMB enumeration tool";
homepage = "https://github.com/ShawnDEvans/smbmap";
changelog = "https://github.com/ShawnDEvans/smbmap/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1638,6 +1638,8 @@ with pkgs;
sorted-grep = callPackage ../tools/text/sorted-grep { };
smbmap = callPackage ../tools/security/smbmap { };
smbscan = callPackage ../tools/security/smbscan { };
spectre-cli = callPackage ../tools/security/spectre-cli { };