diff --git a/conn.sh b/conn.sh index 947bb2e..2e76d91 100644 --- a/conn.sh +++ b/conn.sh @@ -39,7 +39,8 @@ while [ ! -z "$1" ]; do echo "-----------------------------------------------------" echo "-------------------Portscan---------------------" nmap --reason -Pn $2 - fping -c 4 -A $2 + echo "" + fping -c 4 $2 echo "------------------------------------------------" exit elif [[ $1 == "-n" ]] || [[ "$1" == "--no" ]];then @@ -56,7 +57,8 @@ while [ ! -z "$1" ]; do echo "-----------------------------------------------------" echo "-------------------Portscan---------------------" nmap --reason -Pn -6 $2 - fping -6 -c 4 -A $2 + echo "" + fping -6 -c 4 $2 echo "------------------------------------------------" exit elif [[ $1 == "-4" ]] || [[ "$1" == "--force-ipv4" ]];then @@ -67,7 +69,8 @@ while [ ! -z "$1" ]; do echo "-----------------------------------------------------" echo "-------------------Portscan---------------------" nmap --reason -Pn $2 - fping -6 -c 4 -A $2 + echo "" + fping -6 -c 4 $2 echo "------------------------------------------------" exit elif [[ "$1" == "-w" ]] || [[ "$1" == "--wait" ]];then @@ -84,7 +87,8 @@ while [ ! -z "$1" ]; do if [[ "$portscan" = "y" ]] || [[ -z "$portscan" ]]; then echo "-------------------Portscan---------------------" nmap --reason -Pn $2 - fping -c 4 -A $2 + echo "" + fping -c 4 $2 echo "------------------------------------------------" exit else @@ -102,7 +106,8 @@ while [ ! -z "$1" ]; do if [[ "$portscan" = "y" ]] || [[ -z "$portscan" ]]; then echo "-------------------Portscan---------------------" nmap --reason -Pn -6 $1 - fping -6 -c 4 -A $1 + echo "" + fping -6 -c 4 $1 echo "------------------------------------------------" else exit @@ -130,7 +135,8 @@ while [ ! -z "$1" ]; do if [[ "$portscan" = "y" ]] || [[ -z "$portscan" ]]; then echo "-------------------Portscan---------------------" nmap --reason -Pn $1 - fping -c 4 -A $1 + echo "" + fping -c 4 $1 echo "------------------------------------------------" exit else