Skip to content

Instantly share code, notes, and snippets.

<?php
set_time_limit(0);
$set = (require 'config/config.php');
date_default_timezone_set(''.$set["timezone"].'');
include 'libs/TeamSpeak3/TeamSpeak3.php';
include 'libs/TeamSpeak3/ts3admin.class.php';
$teamspeak = TeamSpeak3::factory("serverquery://".$set['pseudo'].":".$set['mot_de_passe']."@".$set['adresse_ip'].":".$set['port_query']."/?server_port=".$set['port_teamspeak']."&nickname=".$set['msgauto_pseudo']);
if($set['msgauto'] == "1"){
@retouching
retouching / vanities_checker.py
Last active August 8, 2022 22:41
✨ Bulk check Discord Vanities availability
import requests
import os
import time
### CONFIGURATION ###
INPUT_TEXTFILE='vanities.txt'
OUTPUT_TEXTFILE='vanities_checked.txt'
PROXIES = 'proxies.txt'
@retouching
retouching / waifus.txt
Created August 31, 2022 11:26
💖 Waifu - List (08/31/2022 13:25 - anilist.co)
This file has been truncated, but you can view the full file.
Faye|https://s4.anilist.co/file/anilistcdn/character/large/b2-0Iszg6Izgt4p.png
Rukia|https://s4.anilist.co/file/anilistcdn/character/large/b6-25WoBeWMZXBc.png
Orihime|https://s4.anilist.co/file/anilistcdn/character/large/b7-NfDFxZM3JFxY.png
Edward|https://s4.anilist.co/file/anilistcdn/character/large/b16-80wd87nl1Rue.png
Haruhi|https://s4.anilist.co/file/anilistcdn/character/large/b18-SAz5kAo2Fhm1.png
Shino|https://s4.anilist.co/file/anilistcdn/character/large/34.jpg
Tabby|https://s4.anilist.co/file/anilistcdn/character/large/35.jpg
Eve|https://s4.anilist.co/file/anilistcdn/character/large/44.jpg
Rinslet|https://s4.anilist.co/file/anilistcdn/character/large/b45-z9wTQOTieezu.jpg
Hevn|https://s4.anilist.co/file/anilistcdn/character/large/50.jpg
@retouching
retouching / file_content_search.py
Created August 26, 2023 09:11
✨ Find content in multiple files
import os
import shutil
from threading import Thread
import time
FOLDERS_TO_SCAN = [
# Replace by folders who search content on file
r'C:\Users\arch\AppData\LocalLow\Team Salvato\Doki Doki Literature Club Plus',
r'C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club Plus'
@retouching
retouching / openssl-3.1.5+quic.patch
Created February 7, 2024 08:11
openssl-3.1.5+quic.patch
diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in
index ce29710a95..b731bc7bc6 100644
--- a/include/openssl/ssl.h.in
+++ b/include/openssl/ssl.h.in
@@ -1863,6 +1863,7 @@ size_t SSL_client_hello_get0_ciphers(SSL *s, const unsigned char **out);
size_t SSL_client_hello_get0_compression_methods(SSL *s,
const unsigned char **out);
int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen);
+size_t SSL_client_hello_get_ja3_data(SSL *s, unsigned char *data);
int SSL_client_hello_get0_ext(SSL *s, unsigned int type,
@retouching
retouching / block-censys.sh
Created April 8, 2024 10:49
Block Censys IPs
#!/bin/bash
IPS=$(curl "https://support.censys.io/hc/en-us/article_attachments/20618695168532")
for IP in $IPS; do
echo "Block trafic from $IP"
sudo ufw deny from $IP to any
done
echo "All Censys IPs are now blocked!"
@retouching
retouching / discord_invite_checker.py
Created April 13, 2024 21:59
Check every 10 secs discord vanity url
import time
from typing import Optional
from requests import Session
from requests.adapters import Retry, DEFAULT_POOLSIZE
from requests.sessions import HTTPAdapter
import datetime
import click
@retouching
retouching / get_remote_free_ports.py
Created November 17, 2024 12:00
✨ Get free ports of remote server
# require paramiko to connect to remote server and ss in remote server
from pathlib import Path
import re
import socket
from typing import Optional
from paramiko.client import SSHClient, AutoAddPolicy
from paramiko.ssh_exception import NoValidConnectionsError, SSHException
from paramiko.config import SSH_PORT
from paramiko.pkey import PKey
@retouching
retouching / crunchyroll-subtitles-fixer.js
Last active October 6, 2025 11:11
💫 Crunchyroll Subtitles Fixer | Tampermonkey script to fix broken new Crunchyroll subtitles (it not update old subtitles style)
// ==UserScript==
// @name Crunchyroll subtitles fixer
// @version 1.0.0
// @description Fix Crunchyroll subtitles
// @author Github: @retouching
// @match https://static.crunchyroll.com/vilos-v2/web/vilos/*
// @grant none
// @run-at document-start
// @icon https://www.google.com/s2/favicons?sz=64&domain=crunchyroll.com
// ==/UserScript==
@retouching
retouching / crunchyroll-quality-fixer.js
Last active October 2, 2025 21:22
💫 Crunchyroll Quality Fixer | Tampermonkey script to only load best quality from Crunhyroll's videos
// ==UserScript==
// @name Crunchyroll quality fixer
// @version 1.0.0
// @description Only load best quality from Crunhyroll's videos
// @author Github: @retouching
// @match https://static.crunchyroll.com/vilos-v2/web/vilos/*
// @grant none
// @run-at document-start
// @icon https://www.google.com/s2/favicons?sz=64&domain=crunchyroll.com
// ==/UserScript==