Skip to content

Instantly share code, notes, and snippets.

@Rutenioum
Rutenioum / dns.he.net.sh
Created February 15, 2022 17:32 — forked from qinghon/dns.he.net.sh
he.net ddns auto update
#!/bin/bash
nic="eth0"
export LastIP=`/bin/cat /var/log/ipv6addr`
export NowIP=`ip -o -6 addr show dev $nic scope global |head -n 1 | /bin/sed -e's/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d'`
password="you password"
hostname="nas.d.youdomain.com"
if [ -z "$NowIP" ]
then
@Rutenioum
Rutenioum / he-ddns.sh
Created February 15, 2022 17:31 — forked from tx0dev/he-ddns.sh
Updater for Hurricane Electric for their Dynamic dns service. IPv6 updates are NOT enable at the moment.
#!/bin/bash
# HOSTS
HOSTS="example.com foo.example.com"
# HOSTS PASSWORD
# Because I'm lazy, it needs to be the same for all hosts
HOST_KEY="YOUR_PASSWORD"
# Get Current IPs
@Rutenioum
Rutenioum / trial.key
Created September 2, 2017 15:36 — forked from huqi/trial.key
Beyond Compare 4 license for Mac
Beyond Compare 4
Licensed to: ASIO Allsoftinone
Quantity: 1 user
Serial number: 1822-9597
License type: Pro Edition for Windows
--- BEGIN LICENSE KEY ---
H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ
vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja
hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t
0.0.0.0
101.0.92.66
101.50.3.120
101.99.80.71
103.10.214.18
103.1.115.181
103.11.213.98
103.1.173.156
103.11.74.118
103.1.209.214
27.150.192.0/21
27.150.200.0/22
27.150.204.0/24
27.150.205.0/24
27.150.206.0/23
27.150.208.0/21
27.150.216.0/22
27.150.220.0/23
27.150.222.0/24
27.150.223.0/24
iptables -I INPUT -s 27.150.192.0/21 -j DROP
iptables -I INPUT -s 27.150.200.0/22 -j DROP
iptables -I INPUT -s 27.150.204.0/24 -j DROP
iptables -I INPUT -s 27.150.205.0/24 -j DROP
iptables -I INPUT -s 27.150.206.0/23 -j DROP
iptables -I INPUT -s 27.150.208.0/21 -j DROP
iptables -I INPUT -s 27.150.216.0/22 -j DROP
iptables -I INPUT -s 27.150.220.0/23 -j DROP
iptables -I INPUT -s 27.150.222.0/24 -j DROP
iptables -I INPUT -s 27.150.223.0/24 -j DROP