Skip to content

Instantly share code, notes, and snippets.

@faust93
faust93 / r7051.md
Last active February 20, 2024 20:35
Z2M external converter for Woox R7051 Siren

Zigbee2Mqtt external converter for Woox R7051 Siren

Woox R7051 Z2M converter with siren volume,brightness,duration controls exposed

r7051.js:

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
@faust93
faust93 / icam-wrhd-02.md
Last active January 14, 2024 14:12
ICAM-WRHD-02 Hack

Reversing WRHD-02 IP Camera

Recently bought cheap "Gembird ICAM-WRHD-02" IP camera to watch over my parrots while being away from home. https://gembird.com/item.aspx?id=11674

Seems it just works OOB but my curiosity of course made me to discover a bit more about the camera :) So after disassembling it I found it to be a generic IPC built on ANYKA AK3918 SOC flashed with Yoosee firmware It has 3 external WIFI antennas but after disassembling it turned out that 2 of these are just decorative and not connected to the WIFI PHY

Looking Deeper
@faust93
faust93 / me906e_hack.md
Last active May 31, 2023 12:05
Huawei ME906E hackintosh

Preamble

My Thinkpad X260 hackintosh has 10.14.6 running and almost everything works ok so far except Sierra EM7455 WWAN adapter. Guess I'm not the first one who faced this problem. Long story short - modem is able to detect a SIM card, successfully register itself on GSM network etc but for some reason unable to connect. It gives an ERROR and that's all. AT+CEER explains nothing and ADB feature seems disabled so it's impossible to debug it further. Btw it works pretty well in Linux.

I had spare HUAWEI ME906E M.2 WWAN card branded as HP LT4112 somewhere and decided to try it out. And of course got slapped by Lenovo BIOS white-list 'feature'. It was said to be removed in recent laprop models but looks like it's true for WAN slot only.

There were two options: Remove BIOS white-list by patching BIOS chip itself with external programmer or try to change USB VID/PID of the card to some of the white-listed ones. The first option was not my case as it turned out that X260 has WSON form-factor BIOS chip and m

Keybase proof

I hereby claim:

  • I am faust93 on github.
  • I am faust93 (https://keybase.io/faust93) on keybase.
  • I have a public key ASDRC9YzOtNDVww-XKfnBMh7BQp2DuHo6VK65BH5rPasGgo

To claim this, I am signing this object:

@faust93
faust93 / tcp_flags.txt
Created June 22, 2018 09:46 — forked from tuxfight3r/tcp_flags.txt
tcpdump - reading tcp flags
##TCP FLAGS##
Unskilled Attackers Pester Real Security Folks
==============================================
TCPDUMP FLAGS
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere)
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere)
Pester = PSH = [P] (Push Data)
Real = RST = [R] (Reset Connection)
Security = SYN = [S] (Start Connection)