Skip to content

Commit

Permalink
修复SSLSocketFactoryGetSocketFactoryMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
郭钟 committed May 20, 2021
1 parent bd76be0 commit 021735c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/just_trust_me.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Java.perform(function() {
SSLSocketFactoryGetSocketFactoryMethod.implementation = function() {
//强制用空的构造方法
console.log("org.apache.http.conn.ssl.SSLSocketFactory.getSocketFactory() was hooked!");
return SSLSocketFactoryEmptyConstructor.call(this);
return SSLSocketFactory.$new();
};

var SSLSocketFactoryIsSecure = SSLSocketFactory.isSecure.overload('java.net.Socket');
Expand Down
Binary file modified radar.dex
Binary file not shown.

0 comments on commit 021735c

Please sign in to comment.