Skip to content

Commit

Permalink
Fixed support for .kr TLD.
Browse files Browse the repository at this point in the history
Signed-off-by: vlad11 <[email protected]>
  • Loading branch information
click0 committed Jun 13, 2024
1 parent 8654fdf commit f4fefd6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions domain-check-2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
# Author: Matty < matty91 at gmail dot com >
# Co-author: Vladislav V. Prodan <github.com/click0>
#
# Current Version: 2.70
# Last Updated: 07-Apr-2024
# Current Version: 2.71
# Last Updated: 13-Jun-2024
#
# Revision History:
#
# Version 2.71
# Fixed support for .kr TLD. -- Vladyslav V. Prodan <github.com/click0>
#
# Version 2.70
# Fixed support for .sg domain -- Vladyslav V. Prodan <github.com/click0>
#
Expand Down Expand Up @@ -723,7 +726,7 @@ check_domain_status()
REGISTRAR=`${AWK} -F'(' '/Registrar:/ && $0 != "" { getline; sub(/^[ \t]+/,"",$0); print $1 }' ${WHOIS_TMP}`
elif [ "${TLDTYPE}" == "kr" ];
then
REGISTRAR=`${AWK} -F: '/Registrant / && $2 != "" { REGISTRAR=substr($2,2,30) } END { print REGISTRAR }' ${WHOIS_TMP}`
REGISTRAR=$(${AWK} -F: '/Registrant / && $2 != "" { sub(/^[ \t]+/,"",$2); print $2 }' ${WHOIS_TMP})

elif [ "${TLDTYPE}" == "hk" ];
then
Expand Down

0 comments on commit f4fefd6

Please sign in to comment.