Skip to content

Instantly share code, notes, and snippets.

@Diniboy1123
Diniboy1123 / googleurlparams.md
Created August 12, 2025 07:20 — forked from Sauerstoffdioxid/googleurlparams.md
Google/Blogger Image URL Parameters

Google/Blogger Image URL Parameters

This is an effort to document what is known about Google's (Blogger's/Blogspot's) image URL parameters. Some of these options were taken from existing first or third party documentation (see the links at the end of this document), but the majority is based off my own investigations.

Where to use them?

  • On Blogger's image URL's: 2.bp.blogspot.com/-OF7u67HQE1M/VHc8S8qJTDI/AAAAAAAACxI/UD-11c63diQ/s1600/005.png
  • On just about any googleusercontent image URL: https://lh3.googleusercontent.com/Jvmz11cLrvNIHG_LWjVO9B-UV2IN4Cfk1pycbhWZl6IriMgCAGCOFuBRtoHaiZ6xeVGqCugZcCql=w176-h176-n-o

Replace the bolded parts with the parameters.

@Diniboy1123
Diniboy1123 / image_to_eink_fb.go
Last active March 10, 2025 20:13
Simple test code I came up based on https://github.com/NiLuJe/FBInk/pull/47/files to write to my PocketBook's framebuffer directly.
package main
import (
"fmt"
"image"
"image/color"
"image/png"
"log"
"os"
"syscall"
@Diniboy1123
Diniboy1123 / ddp_codeprivatedata_parser.go
Created February 15, 2025 02:02
Test script to demonstrate EC-3 box transformation from Microsoft Smooth Streaming CodecPrivateData
package main
import (
"bytes"
"encoding/hex"
"log"
"github.com/Eyevinn/mp4ff/mp4"
)
/*
Invoke
frida -U -p $(frida-ps -Uai | grep -i "1.1.1" | awk '{print $1}') -l warp_hook.js --debug
Based on https://github.com/monkeywave/frida-scripts-collection/blob/main/warp_hook.js
*/
function hookBoringSSLByPattern(module) {
@Diniboy1123
Diniboy1123 / plex_hash.py
Created February 12, 2025 16:21
Computes the file hash just how Plex would do it. All credits for the logic go to: https://forums.plex.tv/t/how-is-plex-hash-calculated/904178/5
import hashlib
import sys
import os
def compute_plex_hash(file_path):
file_size = os.path.getsize(file_path)
with open(file_path, "rb") as f:
first_chunk = f.read(65536)
@Diniboy1123
Diniboy1123 / gist:057369c0e202382b023262de74d6007b
Created December 8, 2024 22:27 — forked from D3vl0per/gist:982aaba2081a9c96c8ec370f2100ba86
Block lists | Cerebral cortex - Hippocampus
| Name | Source | License | Format | IOCs | Refresh interval | Components |
| :--- | :----: | :-----: | :----: | :--: | :--------------: | :- |
| Phishing-Filter | https://gitlab.com/malware-filter/phishing-filter | MIT | Raw List | Urls/Domains/IPs | 2/day | PhishTank, OpenPhish, phishunt.io |
| Botnet-Filter | https://gitlab.com/malware-filter/botnet-filter | MIT | Raw List | IP | 1/day | Abuse.ch Feodo Tracker |
| Domain blacklist | https://oisd.nl/
| Botvrij Domain Blacklist | https://botvrij.eu/data/ |
| Botvrij Domain Blacklist | https://botvrij.eu/data/ioclist.domain |
| Botvrij IP Blacklist | https://botvrij.eu/data/ioclist.ip-dst |
| Botvrij URL Blacklist | https://botvrij.eu/data/ioclist.url
| CINS Score IP Blacklist | http://cinsscore.com/list/ci-badguys.txt |
package main
import (
"bytes"
"encoding/base64"
"encoding/hex"
"log"
"os"
"regexp"
"unicode/utf16"