#!/bin/bash
SERVER="opfer.sec-labs.de"
PORT=25

echo ping test
ping -c 4 $SERVER
echo http test
wget http://$SERVER/tux.png
wget  http://$SERVER/daemon.pdf
echo https test
curl https://$SERVER
echo ssh test
ssh kit@$SERVER hostname
echo smtp test
nc "$SERVER" "$PORT" <<'EOF'
EHLO kit.de
MAIL FROM:<thomas.will@xinux.de>
RCPT TO:<kit@opfer.sec-labs.de>
DATA
Subject: Testmail

Hallo Welt
.
QUIT
EOF
echo smtp test
ftp -inv "$SERVER" <<EOF
user xinux 123Start$
binary
get 47164.sh
bye 
EOF
