erosmb: init at 0.1.1
This commit is contained in:
parent
cbe587c735
commit
1a87016de5
2 changed files with 49 additions and 0 deletions
47
pkgs/tools/security/erosmb/default.nix
Normal file
47
pkgs/tools/security/erosmb/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "erosmb";
|
||||
version = "0.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "viktor02";
|
||||
repo = "EroSmb";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-d7iSl7weIHWXDnMYQKxafVd5JrZ0fnuWRDpEirBVdcg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
chardet
|
||||
colorama
|
||||
cryptography
|
||||
impacket
|
||||
ldap3
|
||||
ldapdomaindump
|
||||
pyasn1
|
||||
setuptools
|
||||
six
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
$out/bin/erosmb --help
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "SMB network scanner";
|
||||
homepage = "https://github.com/viktor02/EroSmb";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -438,6 +438,8 @@ with pkgs;
|
|||
|
||||
enum4linux-ng = python3Packages.callPackage ../tools/security/enum4linux-ng { };
|
||||
|
||||
erosmb = callPackage ../tools/security/erosmb { };
|
||||
|
||||
onesixtyone = callPackage ../tools/security/onesixtyone {};
|
||||
|
||||
oletools = with python3.pkgs; toPythonApplication oletools;
|
||||
|
|
Loading…
Reference in a new issue