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
// Frida Script to automatically redirect all java.net.URLConnections through a proxy of your choosing | |
setImmediate(function() { | |
Java.perform(function() { | |
var url = Java.use("java.net.URL"); | |
var proxyTypeI = Java.use('java.net.Proxy$Type'); | |
var inetSockAddrWrap = Java.use("java.net.InetSocketAddress"); | |
var proxy = Java.use('java.net.Proxy'); |