A comprehensive research document analyzing M3U8/HLS video streaming infrastructure, embed patterns, stream formats, encryption handling, and optimal download strategies using modern tools
Authors: SERP Apps
Date: December 2024
Version: 1.0
A comprehensive research document analyzing M3U8/HLS video streaming infrastructure, embed patterns, stream formats, encryption handling, and optimal download strategies using modern tools
Authors: SERP Apps
Date: December 2024
Version: 1.0
It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive
There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support
to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder
which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!
| # Linux recipe: | |
| # python3 -m venv proton-vpn-wireguard-downloader | |
| # pushd proton-vpn-wireguard-downloader | |
| # wget {{ zip url for this gist }} -O proton-vpn-wireguard-downloader.zip | |
| # wget "https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v0.2.0.zip" -O python-proton-core-0.2.0.zip | |
| # wget "https://github.com/ProtonVPN/python-proton-vpn-logger/archive/refs/tags/v0.2.1.zip" -O python-proton-vpn-logger.0.2.1.zip | |
| # wget "https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v0.32.2.zip" -O python-proton-vpn-api-core.0.32.2.zip | |
| # unzip -j proton-vpn-wireguard-downloader.zip | |
| # unzip python-proton-core-0.2.0.zip | |
| # unzip python-proton-vpn-logger.0.2.1.zip |
| import AVFoundation | |
| import Combine | |
| import OSLog | |
| private let log = Logger.forType(MovieExportSession.self) | |
| actor MovieExportSession { | |
| let composition: AVComposition | |
| let audioMix: AVAudioMix? |
| version: '3.7' | |
| services: | |
| unifi-db: | |
| image: docker.io/mongo:latest | |
| container_name: unifi-db | |
| volumes: | |
| - ./data:/data/db | |
| - ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro |
How to make an application icon for macOS using
iconset&iconutil
Workplaces may enforce TOTP 2FA to be enabled Office 365 accounts, which require the Microsoft Authenticator app to be installed.
Regular TOTP applications (such as Aegis, Authy, or LastPass) cannot be used as Microsoft uses a proprietary scheme called phonefactor. Furthermore, the application requires Google Services Framework (GSF) to be installed (likely to provide device notifications), and will refuse to work when it is not present on the device.
Forunately, after the registration is complete, the underlying mechanism the app uses to generate TOTP codes is regular otpauth, and its secrets can be exported with a little bit of effort.
| // | |
| // ContentView.swift | |
| // InfinityTabView | |
| // | |
| // Created by beader on 2022/10/9. | |
| // | |
| import SwiftUI | |
| struct ContentView: View { |
| /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep uti: | cut -c 29- | sort | uniq > utis.txt |
| <body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c> |