Skip to content

Instantly share code, notes, and snippets.

@667bdrm
667bdrm / ipcam-clock-set.pl
Last active September 10, 2022 16:54
Simple clock synchronization for some chinese DVRs supporting CMS with json-like protocol. Includes some other API commands. Fork at https://gitlab.com/667bdrm/sofiactl
#!/usr/bin/perl
# latest release at https://gitlab.com/667bdrm/sofiactl
#
# Simple clock synchronization for some chinese HiSilicon based DVRs supporting CMS (Sofia software) with json-like protocol. Tested with:
#
# HJCCTV HJ-H4808BW (XiongMai, Hi3520, MBD6304T)
# http://www.aliexpress.com/item/Hybird-NVR-8chs-H-264DVR-8chs-onvif-2-3-Economical-DVR-8ch-Video-4-AUDIO-AND/1918734952.html
#
#
@667bdrm
667bdrm / dvr-alarm-server.pl
Last active May 16, 2021 17:43
Chinese DVR Alarm Server
#!/usr/bin/perl
#
# Simple log/alarm server receiving and printing to console remote dvr/camera events.
# future releases at https://gitlab.com/667bdrm/sofiactl
# Tested with:
#
# HJCCTV HJ-H4808BW
# http://www.aliexpress.com/item/Hybird-NVR-8chs-H-264DVR-8chs-onvif-2-3-Economical-DVR-8ch-Video-4-AUDIO-AND/1918734952.html
#
@667bdrm
667bdrm / dvr-passwords.txt
Created January 8, 2020 02:08
DVR passwords
Username Password
666666 666666
888888 888888
admin (none)
admin 1111
admin 1111111
admin 1234
admin 12345
admin 123456
admin 54321
+18553308653;auth_microsoft
+358446150535;marketing_sipnet
+74950211749;marketing_telecom
+74950986849;collector
+74951251177;marketing
+74957556983;marketing_sipnet
+74957558866;marketing
+74957877877;marketing
+74956478683;marketing_finance
+74993009689;marketing
@667bdrm
667bdrm / ipcptz.pl
Last active May 10, 2020 19:15
PTZ control tool and generic SDK for Huamai PTZ camera 5508N-W-IR (eye10000.com)
#!/usr/bin/perl
# PTZ control tool and generic SDK for Huamai PTZ camera 5508N-W-IR (eye10000.com)
# http://www.aliexpress.com/item/New-IR-wireless-ip-camera-with-P2P-H-264-PTZ-WIFI-SD-Slot-Network-camera-Free/782606869.html
#
# Future releases will be available at https://gitlab.com/667bdrm/huamaictl
#
# Usage:
#
# ipcptz.pl --host <ip> --port <port> --authserial <serial> --authtime <time> --authtoken <token> --direction <up|down|left|right|patrol|zoomin|zoomout> --speed <speed>
@667bdrm
667bdrm / dvr_netviewer.ksy
Last active May 4, 2020 23:39
Xinshijia NetViewer_DN.exe application network protocol specification (default port 9000)
meta:
id: xsj_netviewer
file-extension: xsj_netviewer
endian: be
seq:
- id: netviewer_packet
type: netviewer_packet
repeat: eos
doc: >
port 9000
@667bdrm
667bdrm / Atlanta_ATH-130.lircd.conf
Last active June 22, 2019 09:51
Atlanta ATH-130 heater lirc remote config
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(emulation) on Sun Aug 28 23:22:20 2016
#
# contributed by.
#
# brand: Atlanta
# model no. of remote control:
# devices being controlled by this remote: ATH-130 air heater
#
[Adblock Plus 2.0]
!-------------------------------------------------------------------------------
! Title: 667bdrm
! Expires: 14 days (update frequency)
! Version: 1
! Last modified: 20 Jun 2019
! Description: This filter disables live chats and nag popups
!-------------------------------------------------------------------------------
||jivosite.com^
lenta.ru##[class*="--"]
127.0.0.1 e.crashlytics.com
127.0.0.1 tracker-api.my.com
127.0.0.1 localads.maps.me
127.0.0.1 localads-statistics.maps.me
127.0.0.1 events.appsflyer.com
127.0.0.1 data.flurry.com
127.0.0.1 s.maps.me
127.0.0.1 apinotify.mail.ru
127.0.0.1 graph.facebook.com
127.0.0.1 api.pushwoosh.com
@667bdrm
667bdrm / esir-widget-deobfuscated.js
Created September 1, 2018 08:52
Russian governors wants the following obfuscated script to be inserted to the all government organizations website pages //esir.gov.spb.ru/static/widget/js/widget.js
/*! Widget hash: 1a02fc6429bccf93b9c99ec7050744ac */
!function(t) {
function e(i) {
if (n[i])
return n[i].exports;
var o = n[i] = {
exports: {},
id: i,
loaded: !1
};