#!/bin/sh
hop0="$(hop0 "$1")"
if [ "$hop0" = "192.168.0.2" ];then
 if ! printf "%s" "$1" | grep "^192\.168\.0\." 2>&1 >/dev/null;then
  IP=$(dig +short armitage.hacking.allowed.org @8.8.8.8)
 fi
else
 IP=$hop0
fi
ipconvert "$IP" | grep "^dec: " | cut '-d ' -f2