Skip to content

Instantly share code, notes, and snippets.

View Alexufo's full-sized avatar

Alexandr Alexufo

  • Russia, Tula
View GitHub Profile
@Alexufo
Alexufo / simple-https-python-server.py
Last active April 24, 2024 18:44
Simple Python https server example py 3.10+ ( multithread, wasm, gzip )
import http.server
import http.cookiejar
import io
import socket
from http import HTTPStatus
import ssl
import os
import zlib
server_address = ('0.0.0.0', 4443)
@Alexufo
Alexufo / gist:9c81760ddd8acf15e2af5ab675d436c8
Created September 2, 2017 22:17
decrypt encrypted streams .ts files
openssl enc -aes-128-cbc -in "Downloads\media_1.ts" -out "Downloads\decr_tmp.ts" -d -K D2AFAA16648B17A0FEC9EA533EB244A3 -iv 00000000000000000000000000000001