This commit is contained in:
pika 2025-05-18 13:14:23 +02:00
parent c16ead958a
commit 2413eb3860

View file

@ -1,3 +1,7 @@
get_ip() {
ip a | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | cut -d/ -f1 | head -n 1
}
random() {
openssl rand -hex "${1:-32}"
}