summaryrefslogtreecommitdiffstats
path: root/root/.bash_aliases
blob: 9264dc766251bbe8953dab59c346d93016430e43 (plain) (blame)
1
2
3
4
export CT_ALLOW_BUILD_AS_ROOT_SURE=1
function register () {
	curl https://www.register.si/wp-admin/admin-ajax.php -X POST --data-raw "_ajax_nonce=693acd4cff&action=get_whois_data&domain=$1" 2> /dev/null | grep "<td>" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]"
}