Skip to content

Instantly share code, notes, and snippets.

View orangecms's full-sized avatar
🐢
Hack the planet!

Daniel Maslowski orangecms

🐢
Hack the planet!
View GitHub Profile
@orangecms
orangecms / mft.log
Last active March 8, 2020 20:27
MFT logs
INFO[0029] Searching for Magic Bytes: D12A4A10E436A1D60A3AEEBF08F76C150EE924B9186E3A9063603458B4B4727D
Found Intel MC Update at 0x6306b0 with Length: 0x5c00
INFO[0029] Unplausible year: 8211 path=cpu40661_plat32_ver0000000F_2013-08-21_PRD_CC7CD277.bin
Found Intel MC Update at 0x6362b0 with Length: 0x6400
INFO[0029] Unplausible year: 8210 path=cpu40660_plat32_verFFFF0011_2012-10-12_PRD_21AC5E53.bin
Found Intel MC Update at 0x63c6b0 with Length: 0x4c00
INFO[0029] Unplausible year: 8211 path=cpu40651_plat72_ver00000017_2013-09-14_PRD_6D9EC14C.bin
Found Intel MC Update at 0x6412b0 with Length: 0x5800
INFO[0029] Unplausible year: 8210 path=cpu40650_plat72_verFFFF000B_2012-12-06_PRD_A1180C86.bin
Found Intel MC Update at 0x646ab0 with Length: 0x5000
@orangecms
orangecms / WFD016-UART.log
Last active March 14, 2020 19:41
Investigating a Damai DM S6 WFD016 USB Wi-Fi storage
Calibration successful!
Calibration successful!
Default ADC gain value = 1
Modified ADC gain value to 0
mem_to_mcu
[sdio] Card reset successful
[sdio] Card Version - (0x32)
[sdio] Card initialization successful
[main-196] [perf_demo] 123 Build Time: Aug 7 2017 10:45:05
@orangecms
orangecms / NBD8016R-PL-V2.md
Created July 19, 2020 19:06
NBD8016R-PL-V2 NVR (Network Video Recorder) firmware

HiSilicon-based NVR (Network Video Recorder)

Acronyms

AHD - Analog High Definition NVR - Network Video Recorder DVR - Digital Video Recorder IPC - IP Camera

Research

uname -a
Linux OpenWrt 3.10.14 #42 Mon Feb 18 16:05:35 CST 2019 mips GNU/Linux
root@OpenWrt:/# cat /proc/cpuinfo
system type : MT7628
machine : Unknown
processor : 0
cpu model : MIPS 24KEc V5.5
BogoMIPS : 382.46
wait instruction : yes
microsecond timers : yes
@orangecms
orangecms / download.sh
Created November 22, 2020 16:57
ESP8266 NodeMCU WS2812 strip 30 LEDs RGB
#!/bin/sh
_FW=nodemcu-release-10-modules-2020-11-21-17-50-47-float.bin
wget https://nodemcu-build.com/builds/$_FW -O nodemcu.bin
@orangecms
orangecms / boot.log
Last active March 10, 2021 00:33
oreboot ACPI basics on DeskMini A300 with Ryzen 5 3400G (Picasso) - https://github.com/oreboot/oreboot/pull/390
Welcome to oreboot
c001_1004 is 7ed8320b178bfbff and APIC is bit 200
c001_1005 is 35c237ff2fd3fbff and APIC is bit 200
0x1b is fee00900
c0000080 DIFF:d01 got 500
-- wrmsr: and got d01;
c0000081 DIFF:23001000000000 got 0
-- wrmsr: and got 23001000000000;
c0000082 DIFF:ffffffff99a00000 got 0
-- wrmsr: and got ffffffff99a00000;
@orangecms
orangecms / hi3516ev200.log
Last active May 7, 2021 08:44
ipctool logs
$ ./cpu -key ./cpu_rsa -timeout9p 2000ms hidome ./bin/ipctool
---
chip:
vendor: HiSilicon
model: 3516EV200
id: 024039862e0038e1b370030a8cb7769322460320018629e3
ethernet:
mac: "7e:38:12:15:55:bf"
u-mdio-phyaddr: 1
phy-id: 0x20669903
@orangecms
orangecms / do-freebsd-net-fix.md
Last active June 11, 2021 16:24
Fix FreeBSD Digital Ocean droplets

Digital Ocean FreeBSD droplet recovery

About

One of my DO droplets was no longer reachable. It was powered on, I could see the console in the DO web UI, but I had only set up the system to only allow logging in via SSH / key. I tried recovering from a few backups (weekly backups were set up), but non of them did the trick. It's nothing too important, just my personal blog that could really use another entry by now, and a little page introducing myself. Anyway, I hope these notes here may help other people at some point, including my

rkflashtool v

rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK322X...
rkflashtool: info: interface claimed
rkflashtool: info: chip version: 322A-..-

rkflashtool p