From ab0d4fe259b303c3748ae789f4ea7bebd131cd9d Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 28 Apr 2024 10:47:31 +1000 Subject: [PATCH] =?UTF-8?q?NMAPDEV=20plugin=20work=20v0.6=20#645=20?= =?UTF-8?q?=F0=9F=86=95=F0=9F=94=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- docker-compose.yml | 8 ++++---- front/php/templates/footer.php | 2 +- front/plugins/nmap_dev_scan/config.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a857935..fd10842c 100755 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY . ${INSTALL_DIR}/ RUN pip install requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli chardet \ && bash -c "find ${INSTALL_DIR} -type d -exec chmod 750 {} \;" \ && bash -c "find ${INSTALL_DIR} -type f -exec chmod 640 {} \;" \ - && bash -c "find ${INSTALL_DIR} -type f \( -name '*.sh' -o -name '*.py' -o -name 'pialert-cli' -o -name 'speedtest-cli' \) -exec chmod 750 {} \;" + && bash -c "find ${INSTALL_DIR} -type f \( -name '*.sh' -o -name '*.py' -o -name 'speedtest-cli' \) -exec chmod 750 {} \;" # second stage FROM alpine:3.19 as runner diff --git a/docker-compose.yml b/docker-compose.yml index 55f3fe43..fee16695 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,10 +11,10 @@ services: network_mode: host # restart: unless-stopped volumes: - - ${APP_DATA_LOCATION}/netalertx_dev/config:/app/config - # - ${APP_DATA_LOCATION}/netalertx/config:/app/config - - ${APP_DATA_LOCATION}/netalertx_dev/db:/app/db - # - ${APP_DATA_LOCATION}/netalertx/db:/app/db + # - ${APP_DATA_LOCATION}/netalertx_dev/config:/app/config + - ${APP_DATA_LOCATION}/netalertx/config:/app/config + # - ${APP_DATA_LOCATION}/netalertx_dev/db:/app/db + - ${APP_DATA_LOCATION}/netalertx/db:/app/db # (optional) useful for debugging if you have issues setting up the container # - ${LOGS_LOCATION}:/app/front/log # --------------------------------------------------------------------------- diff --git a/front/php/templates/footer.php b/front/php/templates/footer.php index 205ac926..6529bb4e 100755 --- a/front/php/templates/footer.php +++ b/front/php/templates/footer.php @@ -22,7 +22,7 @@
- | Docs + | Docs | | | diff --git a/front/plugins/nmap_dev_scan/config.json b/front/plugins/nmap_dev_scan/config.json index e40e6d2a..c8ae7d89 100755 --- a/front/plugins/nmap_dev_scan/config.json +++ b/front/plugins/nmap_dev_scan/config.json @@ -315,7 +315,7 @@ "description": [ { "language_code": "en_us", - "string": "Arguments to run nmap-scan with. Recommended and tested only with the setting:
sudo nmap -sn .

Note: The plugin attaches the interface and network mask, for example -e eth1 192.168.1.0/24 and performs a separate scan for each interface specified in the SCAN_SUBNETS setting." + "string": "Arguments to run nmap-scan with. Recommended and tested only with the setting:
sudo nmap -sn -PR -n .

Note: The plugin attaches the interface and network mask, for example -e eth1 192.168.1.0/24 and performs a separate scan for each interface specified in the SCAN_SUBNETS setting." } ] }