sudo pacman -S docker
sudo systemctl enable docker.service
sudo systemctl start docker.service
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 | |
url="$1" | |
filen="$2" | |
base=$(dirname "$url") | |
mkdir tmpwip | |
cd tmpwip | |
wget -O index.m3u8 $url |
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 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; |
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
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 |
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 | |
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' |
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 | |
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}-" |
Многоходовочка
- 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:
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
#!/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')) |