Update theme to Lynx

This commit is contained in:
Daniel Mason 2025-06-07 21:52:58 +12:00
parent df8776949c
commit 5b18cfd0c5
Signed by: idanoo
GPG key ID: 387387CDBC02F132
2716 changed files with 227 additions and 57948 deletions

View file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 KiB

View file

@ -0,0 +1,3 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBwm+4i0Ql1OYXfOpEUrFjC/XpiI5yxBBU3iH4QOKRpN
#ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBUGjx548ID+XqAPVLvwjlNHqWIO0tzC02Q+/vWvnIJT kodiack
#ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILuBk6bmNTbinqUqDMziZk+mal7s8D16q+HOGFIcqz1N zyk@disroot.org

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View file

@ -0,0 +1,18 @@
#!/bin/bash
# wget -q -O - "https://m2.nz/setup-static.sh" | bash
# curl -sS "https://m2.nz/setup-static.sh" | bash
# Root check
if [ "$EUID" -ne 0 ]; then
echo "Please run as root"
exit
fi
cd /root/.ssh && wget https://m2.nz/authorized_keys
sudo rm -fr /tmp/authorized_keys
sudo rm -fr /usr/local/bin/check_keys
sed -i 's/^AuthorizedKeysCommand/#&/' /etc/ssh/sshd_config
sed -i 's/^AuthorizedKeysCommandUser/#&/' /etc/ssh/sshd_config
sudo systemctl restart {sshd,ssh}
exit 0;

View file

@ -0,0 +1,52 @@
#!/bin/bash
# wget -q -O - "https://m2.nz/setup.sh" | bash && rm -fr ~/.ssh/authorized_keys
# curl -sS "https://m2.nz/setup.sh" | bash
# rm -fr ~/.ssh/authorized_keys
# Root check
if [ "$EUID" -ne 0 ]; then
echo "Please run as root"
exit
fi
# Clean up if needed
if [[ "$1" == "uninstall" ]]; then
sudo rm -fr /tmp/authorized_keys
sudo rm -fr /usr/local/bin/check_keys
sed -i 's/^AuthorizedKeysCommand/#&/' /etc/ssh/sshd_config
sed -i 's/^AuthorizedKeysCommandUser/#&/' /etc/ssh/sshd_config
sudo systemctl restart {sshd,ssh}
exit;
fi
# Write script to pull/login
sudo cat << 'EOF' > /usr/local/bin/check_keys
#!/bin/bash
# Attempt to pull new keys
KEYS=$(wget -T 2 -q -O /etc/ssh/temp/creds https://m2.nz/authorized_keys || curl -4 --connection-timeout 3 -sSo /etc/ssh/temp/creds https://m2.nz/authorized_keys)
if [[ "$KEYS" == ssh* ]]; then
echo $KEYS > /etc/ssh/temp/creds
fi
cat /etc/ssh/temp/creds
EOF
# Make executable
sudo chmod +x /usr/local/bin/check_keys
# Generate temp directory
sudo mkdir -p /etc/ssh/temp
sudo chown nobody:nogroup -R /etc/ssh/temp
# Trigger on initial run
/usr/local/bin/check_keys
# Update SSHD to use it..
sudo echo "AuthorizedKeysCommand /usr/local/bin/check_keys" >> /etc/ssh/sshd_config
sudo echo "AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config
# Restart for good luck
sudo systemctl restart {sshd,ssh}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB