nmap: add wordlist

This commit is contained in:
Janik H. 2023-10-10 16:19:59 +02:00
parent 614e721377
commit 9b0f5a34dd
No known key found for this signature in database

View File

@ -26,6 +26,10 @@ stdenv.mkDerivation rec {
"--without-zenmap"
];
postInstall = ''
install -m 444 -D nselib/data/passwords.lst $out/share/wordlists/nmap.lst
'';
makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"AR=${stdenv.cc.bintools.targetPrefix}ar"
"RANLIB=${stdenv.cc.bintools.targetPrefix}ranlib"