Build precise queries to find exactly what you need
Press ESC to close
@DarknessBBB
Favorites0
Views
Projects0
Please let me know it this code to add is ok: elif [ ${DLTYPE} == 'it' ]; then TYPE=italy WHOIS_SERVER="whois.nic.it" . . . . elif [ $TYPE == 'italy' ]; then day=`cat ${FILE} | awk '/Expire Date:/' | cut -d ':' -f2 | cut -d ' ' -f9 | cut -d '-' -f3` month=`cat ${FILE} | awk '/Expire Date:/' | cut -d ':' -f2 | cut -d ' ' -f9 | cut -d '-' -f2` year=`cat ${FILE} | awk '/Expire Date:/' | cut -d ':' -f2 | cut -d ' ' -f9 | cut -d '-' -f1` expiration=$day-$month-$year sometimes the server responds only with te status (without expire date), but I think it depends on how many queries per hour it receives from the same source IP. Thank you
Reviewed 11 years ago