Skip to content

Instantly share code, notes, and snippets.

View BrixSat's full-sized avatar
🎯
Need to focus on photobooth!

BrixSat BrixSat

🎯
Need to focus on photobooth!
View GitHub Profile
@BrixSat
BrixSat / mim.py
Last active February 13, 2026 12:10
Safire nvr obtain serial and verificationCode for p2p
#!/usr/bin/env python3
import socket, threading, time, ssl
# --- Configuration ---
LISTEN_IP = '0.0.0.0'
# We will use the primary IPs discovered in your previous logs
DISCOVERY_HOST = "dev.hicloudcam.com"
AUTH_HOST = "54.228.90.143"
@BrixSat
BrixSat / clone.sh
Created December 31, 2024 09:57
Download all versions (excluding rc) available from mikrotik site.
#!/bin/bash
function downloadFile
{
url="${1}"
# If url starts with //
if [[ "${url}" = "//"* ]]
then
url="https:${url}"
fi