From a1e43d757571527ca0bab76e77b2f2c463dcc7d5 Mon Sep 17 00:00:00 2001 From: slerena Date: Mon, 30 Jun 2008 09:03:11 +0000 Subject: [PATCH] 2008-06-30 Sancho Lerena * util/plugin/udp_nmap_plugin.sh: Added UDP port check plugin that uses NMAP to check if UDP ports are open. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/util/plugin/udp_nmap_plugin.sh | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 pandora_server/util/plugin/udp_nmap_plugin.sh diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index c2f8423e99..e7ffb1aa9f 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2008-06-30 Sancho Lerena + + * util/plugin/udp_nmap_plugin.sh: Added UDP port check plugin + that uses NMAP to check if UDP ports are open. + 2008-06-19 Sancho Lerena * pandora_plugin: Added startup script. diff --git a/pandora_server/util/plugin/udp_nmap_plugin.sh b/pandora_server/util/plugin/udp_nmap_plugin.sh new file mode 100755 index 0000000000..3a48c9545a --- /dev/null +++ b/pandora_server/util/plugin/udp_nmap_plugin.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# This is called like -p xxx -h xxxx +HOST=$4 +PORT=$2 +nmap -T5 -p $PORT -sU $HOST | grep open | wc -l