summaryrefslogtreecommitdiffstats
path: root/root/.bash_aliases
blob: c1ee012e436cb59568ba14fe873ddb44a307a1d1 (plain) (blame)
1
2
3
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:]]"
}