Skip to content

Instantly share code, notes, and snippets.

View S4tyendra's full-sized avatar
👋
Hello!

Satyendra S4tyendra

👋
Hello!
View GitHub Profile
@S4tyendra
S4tyendra / Complete VPS Setup Guide - Ubuntu Server.md
Created January 25, 2025 05:24
A comprehensive guide for setting up and optimizing an Ubuntu VPS server with essential services and security configurations.

Features:

  • 🔒 Secure SSH configuration
  • 🐍 Python environment with deadsnakes PPA
  • 🚀 Nginx with UI management
  • 🐳 Docker and Docker Compose
  • 🔑 SSL/TLS with Let's Encrypt
  • 📊 MongoDB Atlas integration
  • 💾 Swap and system optimization
  • 🔄 Auto-renewal and maintenance scripts
  • ⏰ Custom MOTD with system stats
@darktohka
darktohka / decrypt.py
Created June 28, 2021 09:27
Decrypt s3bubble's static key video encryption
# Decrypt s3bubble's static key video encryption
# darktohka 2021
# python -m pip install pycryptodome
# hlsdl.exe: https://rwijnsma.home.xs4all.nl/files/hlsdl/hlsdl-0.27-e9420c4-win32-static-xpmod-sse.7z
from Crypto.Protocol.KDF import PBKDF2
from Crypto.Hash import SHA512
from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad