summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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:]]"
+}