From 190bf349658ceb6f64c6d69cdccbddfb5491f894 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 16 Sep 2023 14:47:29 +0300 Subject: 2023-09-16 --- modules/common/nmap.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/common/nmap.nix') diff --git a/modules/common/nmap.nix b/modules/common/nmap.nix index 73f948c..03586c0 100644 --- a/modules/common/nmap.nix +++ b/modules/common/nmap.nix @@ -26,11 +26,9 @@ in { }; programs.bash = { - shellAliases = let - base = "${pkgs.nmap}/bin/nmap -sV"; - in { - nmap-vulners = "${base} --script=vulners/vulners.nse"; - nmap-vulscan = "${base} --script=vulscan/vulscan.nse"; + shellAliases = { + nmap-vulners = "nmap -sV --script=vulners/vulners.nse"; + nmap-vulscan = "nmap -sV --script=vulscan/vulscan.nse"; }; initExtra = mkAfter '' _complete_alias nmap-vulners _nmap nmap -- cgit 1.4.1