Skip to content

Instantly share code, notes, and snippets.

View Python1320's full-sized avatar

Python1320 Python1320

  • M.Sc. (Tech.) Project Researcher
  • Finland
View GitHub Profile
@Python1320
Python1320 / bootlog.log
Created December 9, 2022 17:30
Aruba Networks AP-115 (APIN0115) reversing
APBoot 1.4.0.5 (build 38142)
Built: 2013-04-21 at 22:03:44
Model: AP-11x
CPU: QCA9550 revision: 1.0
Clock: 720 MHz, DDR rate: 600 MHz, Bus clock: 200 MHz
DRAM: 256 MB
POST1: passed
Copy: done
@Python1320
Python1320 / _MC800S_CCTV_notes.md
Last active September 23, 2023 15:16
MC800S CCTV hacking

Closest to center pin is TX, 3.3v

Hold enter to enter uboot during boot:

Anjoy # printenv
Mstarbin=20150709
bootargs=ubi.mtd=UBI,2048 root=/dev/mtdblock8 rootfstype=squashfs ro init=/linuxrc LX_MEM=0xffe0000 mma_heap=mma_heap_name0,miu=0,sz=0x9E9C000 mma_heap=mma_heap_ipu,miu=0,sz=0x164000 cma=2M mtdparts=nand0:768k@1280k(IPL0),384k(IPL_CUST0),384k(IPL_CUST1),384k(UBOOT0),384k(UBOOT1),256k(ENV0),0x500000(KERNEL),0x500000(RECOVERY),0x2000000(rootfs),0x200000(MISC),0x500000(DATA),-(UBI)
bootcmd=nand read.e 0x22000000 KERNEL 0x500000; bootm 0x22000000;nand read.e 0x22000000 RECOVERY 0x500000; bootm 0x22000000
ethact=sstar_emac
ethaddr=00:30:1b:ba:02:db
@Python1320
Python1320 / eetc_nftables.conf
Last active May 15, 2024 21:37
Block Google AAAA using nftables on Debian-based routers (optional: dnsmasq)
#!/usr/sbin/nft -f
# $ systemctl enable nftables
# TODO: automate:
# - curl -s "https://www.gstatic.com/ipranges/goog.json" | jq -r '.prefixes[].ipv6Prefix | select( . != null )' | sed '$!s/$/,/'
table ip6 block_destinations {
set angry_destinations {
type ipv6_addr
flags interval