From 9d592af3449931bef9f15a601f66ad15dc64d165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 29 Jan 2023 20:55:51 +0100 Subject: register.si --- root/.bash_aliases | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 root/.bash_aliases diff --git a/root/.bash_aliases b/root/.bash_aliases new file mode 100644 index 0000000..c1ee012 --- /dev/null +++ b/root/.bash_aliases @@ -0,0 +1,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 "" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]" +} -- cgit v1.2.3