From 751a6a4d9878fa1533039f3fa0a423a5b8bd11cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Wed, 12 Jul 2023 00:11:39 +0200 Subject: c --- root/.bash_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'root/.bash_aliases') diff --git a/root/.bash_aliases b/root/.bash_aliases index eefa6c3..9d01211 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -1,7 +1,7 @@ export CT_ALLOW_BUILD_AS_ROOT_SURE=1 function register () { n=`curl https://www.register.si | grep nonce | head -n 1 | cut -d\" -f8` - curl https://www.register.si/wp-admin/admin-ajax.php -X POST --data-raw "_ajax_nonce=$n&action=get_whois_data&domain=$1" 2> /dev/null | grep "" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]" + curl https://www.register.si/wp-admin/admin-ajax.php -X POST --data-raw "_ajax_nonce=$n&action=get_whois_data&domain=`sed s/.si\$//g <<<$1`.si" 2> /dev/null | grep "" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]" } alias r=R alias R="R --quiet" -- cgit v1.2.3