Skip to content

Instantly share code, notes, and snippets.

View Leo-PL's full-sized avatar

Lech Perczak Leo-PL

View GitHub Profile
@CHKDSK88
CHKDSK88 / zte_mf286d.dts
Created December 23, 2021 15:16
ZTE MF286D stock dts decompiled
/dts-v1/;
/ {
#address-cells = <0x01>;
#size-cells = <0x01>;
model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK04.1-C1";
compatible = "qcom,ipq40xx-apdk04.1\0qcom,ipq40xx";
interrupt-parent = <0x01>;
qcom,board-id = <0x08 0x00>;
qcom,msm-id = <0x111 0x00>;
@LiEnby
LiEnby / flash.md
Last active June 16, 2023 07:56
Removing the timebomb from Adobe Flash Player

In Adobe Flash Player versions newer than 32.0.0.344 they added a "Timebomb" for the EOL. the player would refuse to run any custom flash content after 12/01/2021, instead it would just show this image

So knowing this, Lets crack it!

I acturally started looking into this before the 12/01/2021 hit, but only recently did i acturally discover a way to bypass the killswitch

(also- im aware i was not the first to do this, but i still did do it)

@szymonszl
szymonszl / patch_flash.md
Created January 12, 2021 01:31
patching out the timebomb in pepper flash

de-timebombing pepper flash

well, only a matter of time before Chrome turns off pepper plugins at all, but let's have fun while we can

flash player keeps a floating point timestamp of the time when flash should stop working, it can be patched to Infinity (thanks, floats!) and flash should keep working forever

on my version (straight from arch repos, md5sum b6da1630859c4f9c47c8ac26ec9c57a3) the timebomb timestamp is at offset 00EB7760, you need to change 00 00 40 46 3E 6F 77 42 to 00 00 00 00 00 00 F8 7F. here's a script to automate that, it also makes a backup

in case the timestamp isnt there, or you have a different md5 hash, you can just search for the timestamp with any hex editor

@devfalse
devfalse / telnet.sh
Last active April 13, 2024 04:36
Repair IMEI number on Nighthawk M1 Mobile Router MR1100
# Enable "charge + tether" in Settings -> Setup -> Mobile Router Setup -> Tethering
# Use a usb cable to connect (tethering) to the router on port 5510
# Useful links:
# Verify the IMEI number
# https://en.wikipedia.org/wiki/Luhn_algorithm
# Challenge/Response Generator for Sierra Wireless Cards V1.0
# https://github.com/bkerler/SierraWirelessGen
ATI
@roycewilliams
roycewilliams / descrypt-admin-allsalts.txt
Created August 13, 2020 15:33
descrypt-admin-allsalts.txt
# All possible descrypt hashes of the password 'admin', using all possible salts.
# From https://github.com/roycewilliams/kens-salty-rainbow
# If you find a device that always uses one of these, let me know.
..xpoEyRReGzk
./nlIXYriZaB2
.08iPeaCLti3E
.1fH80ykoJAyI
.23PstrXfk7Nw
.37vRhjo4ZP66
.4nTonCOGSWyU
@rikka0w0
rikka0w0 / ipxe_build.md
Last active May 10, 2024 15:42
Build IPXE

1. Install tools and config IPXE

# Install compiler and dependencies
sudo apt-get install -y git gcc make liblzma-dev

# Grab the source code
git clone https://github.com/ipxe/ipxe.git
cd ipxe/src

# Enable NFS support
@Juul
Juul / lte_mbim_from_scratch.md
Last active June 19, 2024 21:50
How to use 4G LTE modems like the MC7455 on both Debian/Ubuntu and OpenWRT using MBIM

The purpose of this document is to get you familiar with the concepts and command line tools involved with connecting to the internet using modern 4G LTE modems on both Debian/Ubuntu and OpenWRT.

This writeup is based on my experiences with the Sierra Wireless AirPrime MC7455 modem and a Calyx (Sprint) SIM card, but it should apply to most modern 4G LTE modems.

High level overview

These are the steps required:

  • Physically connect antennas
@ndunks
ndunks / mount-ubi-using-mtdram.sh
Created July 19, 2018 03:24
How to mount UBI image using mtdram kernel module on linux/debian
#!/bin/bash
if [ ! -d files ]; then
# Make the content
echo "Generating root content.."
mkdir files
echo "$(date)" > files/date.txt
echo "Another content" > files/other.txt
fi
#These config are based by Nand device that you will use!
@lgg
lgg / readme.md
Last active May 2, 2024 20:14
Keepass file format explained

Keepass file format explained

I’m currently working (I’m just at the beginning, and I’m quite slow) on a personal project that will use Keepass files (kdb and kdbx).
I tried to find some documentation about .kdb and .kdbx format, but I didn’t find anything, even in the Keepass official website. I you want to know how these file formats are structured, you must read Keepass’s source code. So I wrote this article that explains how Keepass file format are structured, maybe it will help someone.

@evianzhow
evianzhow / hp_saap_license.txt
Created September 3, 2017 02:11
HP Smart Array Advanced Pack Evaluation License Key
34T62-N84MB-7DQGY-G7XGT-YTQ63