Skip to content

Instantly share code, notes, and snippets.

@dhinakg
dhinakg / _details.md
Created December 26, 2023 03:32
python-asn1 extended

Some syntactic sugar for asn1

I'll push this onto a fork eventually but for now it's just a self-contained file. To use it just import the stuff as needed

License is MIT

@dhinakg
dhinakg / aria2.md
Last active March 22, 2024 17:28
aria2 cheat sheet

aria2 cheat sheet

  • -j: # of concurrent downloads
  • -s: connections to use per file
  • -x: maximum connections to one server for a file
  • --file-allocation=none: don't allocate disk space before downloading
  • --max-tries=N: retry N times (0 for infinite)
  • --retry-wait=N: wait for N secs before trying a failed connection again
  • --auto-file-renaming=false: don't redownload if already downloaded
  • --max-file-not-found=N: ignore 404s N times (0 for infinite)
@dhinakg
dhinakg / tutorial-alternate.md
Last active October 13, 2023 13:36
tutorial-alternate.md

Note: This writeup is for advanced users and developers. For a guide that will actually walk you through this, ios.cfw.guide is updated. guides.stkc.win should be soon™️.

13.x appears to have issues. 13.5 is confirmed to fail to check updates once you change the audience. If any other versions do this, please let me know.

So, I got bored and decided to do more research into alternates. Turns out you can still abuse it to update to 14.8 on iOS versions that don't support alternates. You're welcome.

This requires a jailbreak. Of course, you can do the backup editing stuff if you're not JBed but:

a. It's a wack method imo

@dhinakg
dhinakg / alternates.md
Last active December 28, 2023 03:23
Alternate software updates

Why you don't see iOS 14 anymore

Hi, I'm back again.

Some background

If you're here, you're probably aware of the fact that Apple has been allowing users to stay on 14.5 and receive software updates. If you're out of the loop, take a look at this 9To5Mac article. This is called alternate software updates (or it may be shortened to AlternateSU in some places).

Anyways, this is what you would have been expecting if you checked for updates today:

@dhinakg
dhinakg / chunklist.py
Created October 11, 2021 03:16
Chunklist
import argparse
import binascii
import hashlib
import struct
from pathlib import Path
from sys import exit
CHUNK_LENGTH = 4 + 32
{
"iOS": {
"iOS release": "01c1d682-6e8f-4908-b724-5501fe3f5e5c",
"iOS internal": "ce9c2203-903b-4fb3-9f03-040dc2202694",
"iOS generic": "0c88076f-c292-4dad-95e7-304db9d29d34",
"iOS security updates": "c724cb61-e974-42d3-a911-ffd4dce11eda",
"iOS 11 developer beta": "b7580fda-59d3-43ae-9488-a81b825e3c73",
"iOS 11 AppleSeed beta": "f23050eb-bdfa-4b23-9eca-453e3b1a247c",
"iOS 11 public beta": "5839f7cf-9610-483a-980f-6c4266a22f17",
"iOS 12 developer beta": "ef473147-b8e7-4004-988e-0ae20e2532ef",
@dhinakg
dhinakg / tutorial.md
Last active December 9, 2023 01:50
iOS/iPadOS 14.3 OTA
@dhinakg
dhinakg / python-with-tcl.rb
Last active October 16, 2020 13:34 — forked from iexa/python-with-tcl.rb
MacOS homebrew python 3.8.3 with tcl-tk (properly)
class Python < Formula
desc "Interpreted, interactive, object-oriented programming language"
homepage "https://www.python.org/"
url "https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tar.xz"
sha256 "dfab5ec723c218082fe3d5d7ae17ecbdebffa9a1aea4d64aa3a2ecdd2e795864"
head "https://github.com/python/cpython.git"
bottle do
sha256 "25e0099852136c4ef1efd221247d0f67aa71f7b624211b98898f8b46c612f40d" => :mojave
sha256 "b65fecb4bb8350359488d6ca4c0a5a343f658f424d101a45e28d5a72de7f455c" => :high_sierra