From efd62d4a5ea4860b291436382417a2d8729670ce Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Jul 15 2012 15:38:39 +0000 Subject: Remove nmap test on eth0 --- diff --git a/tests/p_nmap/nmap_test_eth0.sh b/tests/p_nmap/nmap_test_eth0.sh deleted file mode 100755 index df24b90..0000000 --- a/tests/p_nmap/nmap_test_eth0.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# Author: Christoph Galuschka - -t_Log "Running $0 - nmap querys eth0 and checks for open ssh-port" - -# Grabing IP of eth0 -IP=$(ip -f inet addr list eth0 | grep 'inet ') -regex='.*inet\ (.*)\/.*' -if [[ $IP =~ $regex ]] - then - t_Log "Found eth0 IP - starting nmap test" - nmap ${BASH_REMATCH[1]} | grep -iq ssh -fi - -t_CheckExitStatus $?