Skip to content

Instantly share code, notes, and snippets.

View kasiimh1's full-sized avatar

Kasim Hussain kasiimh1

  • United Kingdom
View GitHub Profile
cd StorX-Node && sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/Kasiimh1/StorX-Node/main/upgrade.sh)" root
@kasiimh1
kasiimh1 / compile-tsschecker.sh
Last active November 17, 2021 15:14
Compile tsschecker macOS via brew.sh
brew install libirecovery.rb
brew install libtihmstar-general.rb
brew install libfragmentzip.rb
brew install tsschecker.rb
brew install img4tool.rb
brew install libimobiledevice-glue.rb
brew install idevicerestore.rb
@kasiimh1
kasiimh1 / ipsw_keys.py
Created October 25, 2021 17:27 — forked from nicolas17/ipsw_keys.py
Extract iOS firmware keys using on-device AES engine - MOVED TO https://github.com/nicolas17/ipsw_keys
#!/usr/bin/env python
from sys import argv, stdout
from os import system, remove, path
from urlparse import urlparse
import re
import dfu
import ssl
import math
import json
import getopt
#!/bin/bash
echo "Created by Kasiimh1 - https://gist.github.com/kasiimh1/7d6d72e9def6ea6b1103c90ae89007e8"
#Fix 'unable to resolve host VPSHOSTNAME: Name or service not known' on Liteserver!
hostname="$(cat /proc/sys/kernel/hostname)"
echo -n "Do you have the 'hostname: Name or service not known' when signing in via SSH? (y/n)? "
read answer
if [ "$answer" != "${answer#[Yy]}" ]; then
echo "Editing hostfile to add $hostname entry"
#!/bin/bash
echo "Created by Kasiimh1 - https://gist.github.com/kasiimh1/6c856393f622b816febdaeffd8e9f4c6"
echo "Enter Source VPS IP"
read sourceIP
echo "Installing dependencies"
sudo apt-get update
sudo apt-get install \
- [05/04/21 15:24:55] <Info>: Waiting for DFU devices
- [05/04/21 15:24:55] <Verbose>: DFU mode device found
- [05/04/21 15:24:55] <Info>: Exploiting
- [05/04/21 15:24:55] <Verbose>: Attempting to perform checkm8 on 8011 10...
- [05/04/21 15:24:55] <Info>: Checking if device is ready
- [05/04/21 15:24:55] <Verbose>: == Checkm8 Preparation stage ==
- [05/04/21 15:24:55] <Verbose>: Stalled input endpoint
- [05/04/21 15:24:56] <Verbose>: DFU mode device found
- [05/04/21 15:24:56] <Info>: Setting up the exploit (this is the heap spray)
- [05/04/21 15:24:56] <Verbose>: == Checkm8 Setup stage ==
- [05/04/21 15:18:37] <Info>: Waiting for DFU devices
- [05/04/21 15:18:43] <Verbose>: DFU mode device found
- [05/04/21 15:18:43] <Info>: Exploiting
- [05/04/21 15:18:43] <Verbose>: Attempting to perform checkm8 on 8011 10...
- [05/04/21 15:18:43] <Info>: Checking if device is ready
- [05/04/21 15:18:43] <Verbose>: == Checkm8 Preparation stage ==
- [05/04/21 15:18:43] <Verbose>: Stalled input endpoint
- [05/04/21 15:18:44] <Verbose>: DFU device disconnected
- [05/04/21 15:18:44] <Verbose>: DFU mode device found
- [05/04/21 15:18:44] <Info>: Setting up the exploit (this is the heap spray)
- [05/04/21 15:20:57] <Info>: Waiting for DFU devices
- [05/04/21 15:21:20] <Verbose>: DFU mode device found
- [05/04/21 15:21:20] <Info>: Exploiting
- [05/04/21 15:21:20] <Verbose>: Attempting to perform checkm8 on 8011 10...
- [05/04/21 15:21:20] <Info>: Checking if device is ready
- [05/04/21 15:21:20] <Verbose>: == Checkm8 Preparation stage ==
- [05/04/21 15:21:20] <Verbose>: Stalled input endpoint
- [05/04/21 15:21:20] <Verbose>: DFU device disconnected
- [05/04/21 15:21:20] <Verbose>: DFU mode device found
- [05/04/21 15:21:20] <Info>: Setting up the exploit (this is the heap spray)
{
"Devices": {
"iPhone11,2": {
"Firmwares": [
{
"14.0": [
{
"IPSW": "https://updates.cdn-apple.com/2020SummerFCS/fullrestores/001-46850/8A4DA7D0-40E1-4079-A159-5B0983102B66/iPhone11,2,iPhone11,4,iPhone11,6,iPhone12,3,iPhone12,5_14.0_18A373_Restore.ipsw",
"SEP": "Firmware/all_flash/sep-firmware.d321.RELEASE.im4p",
"Baseband": "Firmware/ICE18-3.00.01.Release.bbfw"

Clone the project, e.g. myproject is my project repository:

git clone https://github/heiswayi/myproject.git

Since all of the commits history are in the .git folder, we have to remove it:

cd myproject

And delete the .git folder:

git rm -rf .git

Now, re-initialize the repository: