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.
gh-pages
monsieurmarc 2021-11-11 14:13:51 +00:00 committed by GitHub
parent b66568e492
commit 10f44f6cb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash /usr/lib/turtle/turtle_module #!/bin/bash /usr/lib/turtle/turtle_module
VERSION="1.0" VERSION="1.1"
DESCRIPTION="Network Mapper discovers hosts and services on a network" DESCRIPTION="Network Mapper discovers hosts and services on a network"
CONF=/tmp/blank.form CONF=/tmp/blank.form
OUTPUT=/tmp/nmap.out OUTPUT=/tmp/nmap.out
@ -159,7 +159,7 @@ function profile {
} }
function log { 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 if [ -d $LOG ]; then
uci set nmap.log="$LOG" uci set nmap.log="$LOG"
uci commit nmap uci commit nmap