Skip to content

Instantly share code, notes, and snippets.

View gabonator's full-sized avatar
👨‍🏭
at work

Gabriel Valky gabonator

👨‍🏭
at work
View GitHub Profile
@gabonator
gabonator / password.txt
Last active April 10, 2026 15:01
HiSilicon IP camera root passwords
Summary of passwords by sperglord8008s, updated November 1. 2020. For login try "root", "default", "defaul" or "root"
00000000
059AnkJ
4uvdzKqBkj.jg
7ujMko0admin
7ujMko0vizxv
123
1111
1234
@gabonator
gabonator / abcom_protocol.js
Created November 26, 2017 20:05
ABcom satellite settop box protocol reverse engineering
/*
reverse engineering of ABcom Cryptobox 600HD mini dvbs box protocol
Firstly I examined android package (since it was easier to get it) "g-mscreen-2-3-11.apk". It
uses C++ library for implementing control protocol. Then I was trying to capture UPnP communication
from iphone connected to OSX running wireshark. But without luck. GMScreen allowed to connection
to box using ip address and port. This traffic was easier to caputre and analyse. Requests by
client application are human readable json/xml code. Some response packets are compressed using
zlib.
@gabonator
gabonator / camera.md
Created June 4, 2016 13:48
Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Video stream url for VLC/DVR:

  • rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100

Telnet access

  • telnet 192.168.1.10 23
  • Localhost login: root
  • Password: xmhdipc
@gabonator
gabonator / dmxcontroller.html
Created October 22, 2025 23:21
laser projector cat&mouse anim
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>DMX Channel Configurator — Live Values</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
.channel-card { border-radius: 14px; background:white; padding:16px; box-shadow:0 6px 18px rgba(15,23,42,0.06); border:1px solid rgba(15,23,42,0.04); }
@gabonator
gabonator / esp32_oled_wifi.md
Last active October 10, 2025 20:05
esp32 TTGO arduino compatible board with 128x64 pixel oled display and Wifi

esp32 TTGO arduino compatible board with 128x64 pixel oled display and Wifi

Front Back Pinout

Device description on banggood

  1. The main control chip using Le Xin ESP32, Tensilica LX6 dual core processor, clocked at 240MHz, computing capacity of up to 600DMIPS, 520 SRAM, 802.11 KB chip b/g/n HT40 Wi-Fi transceiver, baseband, and LWIP protocol stack, Bluetooth (Bluetooth dual-mode integrated
@gabonator
gabonator / serialws.js
Created November 7, 2015 17:57
Serial port to websocket connector using NodeJs
// http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
"use strict";
process.title = 'node-serial-ws';
// Websocket
var webSocketsServerPort = 1337;
var webSocketServer = require('websocket').server;
var http = require('http');
var server = http.createServer(function(request, response) {
// Not important for us. We're writing WebSocket server, not HTTP server
@gabonator
gabonator / rick.cpp
Created June 24, 2025 14:13
rick dangerous 2 single file amalgamate
This file has been truncated, but you can view the full file.
// build flags: -D HEADLESS
#include <stdint.h>
#include <assert.h>
#include <string.h>
#include <vector>
#define CHAR_BIT 8
//typedef attribute(( __align__(1) )) uint16_u;
int maxFrames = 180000;
@gabonator
gabonator / info.txt
Created December 25, 2022 09:59
cool led - flexible led matrix panel
Cool led flexible led panel
Product: 16x64 16x96 LED Matrix Panel Car Sign Scrolling Display BLE APP Control 5V 2A
Main MCU: artery at32f421
1x mw245b - https://cdn.datasheetspdf.com/pdf-down/M/W/2/MW245-Sunmoon.pdf - octal buffer (74HCT245D)
9x sm16206s - https://datasheet.lcsc.com/lcsc/2003131816_Shenzhen-Sunmoon-Micro-SM16206S_C121618.pdf - column controller 3x3x16
2x sm5166pf - https://www.waveshare.com/w/upload/8/8b/Sm5166p.pdf - row controller 2x8
Reverse powering:
@gabonator
gabonator / redfish.js
Created December 21, 2021 11:11
redfish API browser in nodejs
const config = {url: "https://1.2.3.4/", auth: {user: "***", password: "***"}}
// workaround for self signed certificates
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
const request = require("request");
const express = require('express');
const app = express()
const port = 2175
@gabonator
gabonator / align.py
Created August 4, 2024 22:07
Align a photo of table for OCR, trim to contents
import sys
import cv2
import numpy as np
def custom_processing_function(b, g, r):
r = int(r)
g = int(g)
b = int(b)
y = (r+g+b)/3
mdif = max(abs(y-r), abs(y-g), abs(y-b))