Skip to content

Instantly share code, notes, and snippets.

@foxlet
Last active June 13, 2022 10:32
Show Gist options
  • Save foxlet/85121e97d5591de592501a53e0e8e8e9 to your computer and use it in GitHub Desktop.
Save foxlet/85121e97d5591de592501a53e0e8e8e9 to your computer and use it in GitHub Desktop.
bitsadmin /transfer patchjob /download /priority normal https://furcode.co/jailbreak/ImpactorWindows.xdelta %cd%\ImpactorWindows.xdelta
bitsadmin /transfer deltajob /download /priority normal https://furcode.co/jailbreak/xdelta3-3.1.0-x86_64.exe.zip %cd%\xdelta3.zip
bitsadmin /transfer impactorjob /download /priority normal https://cache.saurik.com/impactor/win/Impactor_0.9.44.zip %cd%\impactor.zip
powershell -Command "Add-Type -AssemblyName System.IO.Compression.FileSystem; function Unzip{param([string]$zipfile, [string]$outpath);[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath);} Unzip $pwd\xdelta3.zip $pwd\xdelta\;"
powershell -Command "Add-Type -AssemblyName System.IO.Compression.FileSystem; function Unzip{param([string]$zipfile, [string]$outpath);[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath);} Unzip $pwd\impactor.zip $pwd\impactor\;"
.\xdelta\xdelta3-3.1.0-x86_64.exe -d -s impactor\Impactor.exe ImpactorWindows.xdelta impactor\NewImpactor.exe
del ImpactorWindows.xdelta xdelta3.zip impactor.zip
rmdir /Q /S .\xdelta\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment