Last active
July 3, 2022 16:53
-
-
Save interference-security/68faea1f4a445a7814cc2518a7d1c416 to your computer and use it in GitHub Desktop.
Run iOS frida-server on all interfaces
This file contains 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
# Install curl using Cydia before using the next command | |
# /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/interference-security/68faea1f4a445a7814cc2518a7d1c416/raw/c715dbc30397762239b3bf2d76c60859a5c83625/frida-server-ios-all-interfaces.sh)" | |
launchctl unload -w /Library/LaunchDaemons/re.frida.server.plist | |
cat >/Library/LaunchDaemons/re.frida.server.plist <<EOL | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>re.frida.server</string> | |
<key>Program</key> | |
<string>/usr/sbin/frida-server</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/sbin/frida-server</string> | |
<string>-l</string> | |
<string>0.0.0.0</string> | |
</array> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>_MSSafeMode</key> | |
<string>1</string> | |
</dict> | |
<key>UserName</key> | |
<string>root</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> | |
<key>ThrottleInterval</key> | |
<integer>5</integer> | |
<key>ExecuteAllowed</key> | |
<true/> | |
</dict> | |
</plist> | |
EOL | |
launchctl load -w /Library/LaunchDaemons/re.frida.server.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment