This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /etc/apt/keyrings/ && wget -O /etc/apt/keyrings/zabbly.asc https://pkgs.zabbly.com/key.asc | |
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-lts-6.0.sources | |
Enabled: yes | |
Types: deb | |
URIs: https://pkgs.zabbly.com/incus/lts-6.0 | |
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME}) | |
Components: main | |
Architectures: $(dpkg --print-architecture) | |
Signed-By: /etc/apt/keyrings/zabbly.asc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount -o remount,size=8G /run/archiso/cowspace | |
mdadm --stop /dev/md/* | |
#install fucking ubuntu | |
qemu-system-x86_64 -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 -m 1024M -localtime -enable-kvm -hda /dev/sda -hdb /dev/sdb -vnc 0.0.0.0:0 -cdrom /tmp/proxmox-ve_7.1-1.iso -boot d | |
#fix the fucking boot parition that the installer did not install because fucking ubuntu | |
#source https://serverfault.com/questions/1019079/how-do-i-make-grub-install-on-a-software-raid-disk | |
mdadm --fail /dev/md0 /dev/sda | |
mdadm --remove /dev/md0 /dev/sda | |
sfdisk -d /dev/sdd > raidinfo-partitions.sdd | |
sfdisk /dev/sda < raidinfo-partitions.sdd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.youtube.com/@beegeewanders | |
https://www.youtube.com/@PJDreams | |
https://www.youtube.com/@ASMRDivinity | |
https://www.youtube.com/@asmrnirvana1428 | |
https://www.youtube.com/@GibiASMR | |
https://www.youtube.com/@asmrglow | |
https://www.youtube.com/@DudeThatsWholesome | |
https://www.youtube.com/@PPOMO | |
https://www.youtube.com/@SeafoamKitten | |
https://www.youtube.com/@ASMRLillyVinnily |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests, random, os | |
reader = open('proxies.txt', 'r') | |
proxies = reader.readlines() | |
proxiesList = [] | |
for proxy in proxies: | |
proxy = proxy.replace("\n","") | |
try: | |
r = requests.head(f"http://10.0.{proxy}.1:8888", timeout=(5, 5)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#python3 cluster.py http://admin:admin@localhost:2001/,http://admin:admin@localhost:2001/ | |
from pymongo import MongoClient | |
import sys | |
client = MongoClient() | |
client = MongoClient("mongodb://127.0.0.1:27017/") | |
dbs = client.list_database_names() | |
print(f"Updating cluster to {[sys.argv[1]]}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#bash basesync.sh 1.1.1.1 8.8.8.8 | |
mkdir /tmp/basedflare | |
rsync -r root@$1:/etc/haproxy/ /tmp/basedflare/ | |
ssh root@$2 systemctl stop haproxy | |
ssh root@$2 systemctl stop dataplaneapi | |
rsync -r /tmp/basedflare/map root@$2:/etc/haproxy/ | |
rsync -r /tmp/basedflare/ssl root@$2:/etc/haproxy/ | |
ssh root@$2 systemctl stop dataplaneapi | |
ssh root@$2 systemctl start haproxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /root | |
apt-get install git pgp lua5.3 liblua5.3-dev argon2 libargon2-dev luarocks -y | |
sudo git config --global url."https://".insteadOf git:// #don't ask. | |
sudo luarocks install argon2 | |
git clone https://gitgud.io/fatchan/haproxy-protection.git | |
curl https://haproxy.debian.net/bernat.debian.org.gpg \ | |
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fallocate -l 1G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -f /etc/machine-id | |
rm -f /var/lib/dbus/machine-id | |
dbus-uuidgen --ensure | |
systemd-machine-id-setup | |
reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
echo -e "Explanation: tor meta, always run latest version of obfs4proxy | |
Package: obfs4proxy | |
Pin: release a=bullseye-backports | |
Pin-Priority: 500" > /etc/apt/preferences.d/obfs4proxy.pref | |
apt-get install obfs4proxy tor -y | |
sudo setcap cap_net_bind_service=+ep /usr/bin/obfs4proxy | |
sed -i 's/NoNewPrivileges=yes/NoNewPrivileges=no/' /lib/systemd/system/[email protected] | |
sed -i 's/NoNewPrivileges=yes/NoNewPrivileges=no/' /lib/systemd/system/[email protected] | |
systemctl daemon-reload |
NewerOlder