From 10f44f6cb1cc5420691a52d5118c0d536e2b4e52 Mon Sep 17 00:00:00 2001 From: monsieurmarc Date: Thu, 11 Nov 2021 14:13:51 +0000 Subject: [PATCH] Update nmap-scan (#45) Updated the dselect height for setting the log path. The original setting was too large for a default putty screen and was preventing a user from setting the log path. --- modules/nmap-scan | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nmap-scan b/modules/nmap-scan index 0db183b..3d2d25d 100755 --- a/modules/nmap-scan +++ b/modules/nmap-scan @@ -1,5 +1,5 @@ #!/bin/bash /usr/lib/turtle/turtle_module -VERSION="1.0" +VERSION="1.1" DESCRIPTION="Network Mapper discovers hosts and services on a network" CONF=/tmp/blank.form OUTPUT=/tmp/nmap.out @@ -159,7 +159,7 @@ function profile { } function log { -LOG=$(dialog --title "Select a directory to store the nmap log" --stdout --title "Select nmap log directory" --dselect / 18 60) +LOG=$(dialog --title "Select a directory to store the nmap log" --stdout --title "Select nmap log directory" --dselect / 14 60) if [ -d $LOG ]; then uci set nmap.log="$LOG" uci commit nmap