This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically download the iOS gadget file for the currently used Frida version. | |
# The gadget .xz file is downloaded to the same directory where frida expects the | |
# gadget dylib. After download the file is decompresed and written to gadget-ios.dylib | |
import os | |
import shutil | |
import sys | |
from pathlib import Path | |
import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.DataInputStream; | |
import java.util.ArrayList; | |
import java.util.Enumeration; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.TreeMap; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipFile; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.security.MessageDigest; | |
import java.util.ArrayList; | |
import java.util.Enumeration; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipFile; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.util.Collections; | |
import soot.Body; | |
import soot.Main; | |
import soot.Scene; | |
import soot.SootClass; | |
import soot.SootMethod; | |
import soot.Unit; | |
import soot.options.Options; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.security.GeneralSecurityException; | |
import java.security.MessageDigest; | |
import java.security.PublicKey; | |
import java.util.Arrays; | |
import net.schmizz.sshj.common.Base64; | |
import net.schmizz.sshj.common.Buffer; | |
import net.schmizz.sshj.common.SSHRuntimeException; | |
import net.schmizz.sshj.common.SecurityUtils; |