Skip to content

Instantly share code, notes, and snippets.

View thermatk's full-sized avatar
🙃
not on vacation

Ruslan Boitsov thermatk

🙃
not on vacation
View GitHub Profile
@thermatk
thermatk / moremover.md
Last active October 3, 2022 16:14
Project Moremover

Project Moremover

Многоходовочка

  • Russian banks and Public Services (Gosuslugi) gradually stopped working reliably from foreign IPs
  • Russian banks and Public Services are migrating to certificates issued by the Russian Ministry of Digital Development
    • Installing the Russian CA systemwide would generally open almost all your other connections to be decrypted and snooped on by the Russian authorities (Man-in-the-Middle attacks)
  • Using a public shared VPN or proxy for banks and services will likely result in a justified ban due to security concerns on the service side

Solution:

@thermatk
thermatk / guide.md
Created September 14, 2022 17:21
Containerized VPN + torrents

Setting up Transmission with VPN-only exit

Install Docker and Docker Compose

Arch

sudo pacman -S docker
sudo systemctl enable docker.service
sudo systemctl start docker.service
@thermatk
thermatk / build_libvpx_clang.sh
Created February 2, 2022 22:11
build_libvpx_clang.sh Update 8.5
#!/bin/bash
set -e
function build_one {
echo "Building ${ARCH}..."
PREBUILT=${NDK}/toolchains/${PREBUILT_ARCH}-${VERSION}/prebuilt/${BUILD_PLATFORM}
PLATFORM=${NDK}/platforms/android-${ANDROID_API}/arch-${ARCH}
TOOLS_PREFIX="${LLVM_BIN}/${ARCH_NAME}-linux-${BIN_MIDDLE}-"
@thermatk
thermatk / checkbook.py
Created August 5, 2019 09:23
MucBlaueKarteTermin
import requests
import re
import json
from time import gmtime, strftime, sleep
frame_url = 'https://www46.muenchen.de/termin/index.php?loc=ABH'
termin_type = 'Aufenthaltserlaubnis Blaue Karte EU'
blessed_day = '2019-08-06'
@thermatk
thermatk / telegram-dns
Created April 24, 2018 17:50 — forked from jefmathiot/telegram-dns
Telegram DNS
#!/usr/bin/env ruby
require 'base64'
require 'openssl'
require 'net/http'
require 'ipaddr'
require 'json'
def handle_response(body)
raw = Base64.decode64(body)
rsa_key = OpenSSL::PKey::RSA.new(File.read('public_key.pem'))
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.SecretKeySpec;
import java.io.ByteArrayInputStream;
import java.security.*;
import java.security.interfaces.RSAPublicKey;
Dim objRequest As Object
Dim strChatId As String
Dim strMessage As String
Dim strPostData As String
Dim strResponse As String
strChatId = "chatid"
strMessage = "HelloWorld"
strPostData = "chat_id=" & strChatId & "&text=" & strMessage
@thermatk
thermatk / hlsdown.sh
Created December 27, 2017 15:44
HLS videos download
#!/bin/bash
url="$1"
filen="$2"
base=$(dirname "$url")
mkdir tmpwip
cd tmpwip
wget -O index.m3u8 $url