summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-01-29 20:55:51 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-01-29 20:55:51 +0100
commit9d592af3449931bef9f15a601f66ad15dc64d165 (patch)
treecef689817a23464d5d53913b84bc233309dc7b08 /root
parentMerge ssh://ni/var/lib/git/sijanec/n (diff)
downloadn-9d592af3449931bef9f15a601f66ad15dc64d165.tar
n-9d592af3449931bef9f15a601f66ad15dc64d165.tar.gz
n-9d592af3449931bef9f15a601f66ad15dc64d165.tar.bz2
n-9d592af3449931bef9f15a601f66ad15dc64d165.tar.lz
n-9d592af3449931bef9f15a601f66ad15dc64d165.tar.xz
n-9d592af3449931bef9f15a601f66ad15dc64d165.tar.zst
n-9d592af3449931bef9f15a601f66ad15dc64d165.zip
Diffstat (limited to '')
-rw-r--r--root/.bash_aliases3
1 files changed, 3 insertions, 0 deletions
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 "<td>" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]"
+}