@@ -17,10 +17,10 @@ function disableFlutterPinningv2() {
17
17
} ;
18
18
var TLSValidationDisabled = false ;
19
19
if ( Java . available ) {
20
- console . log ( "[+] Java environment detected " ) ;
20
+ console . log ( "[+] Java Environment Detected " ) ;
21
21
Java . perform ( hookSystemLoadLibrary ) ;
22
22
} else if ( ObjC . available ) {
23
- console . log ( "[+] iOS environment detected" ) ;
23
+ console . log ( "[+] iOS environment detected. Not Supported " ) ;
24
24
}
25
25
disableTLSValidation ( ) ;
26
26
setTimeout ( disableTLSValidation , 2000 , true ) ;
@@ -50,7 +50,8 @@ function disableFlutterPinningv2() {
50
50
var m = Process . findModuleByName ( platformConfig [ "modulename" ] ) ;
51
51
// If there is no loaded Flutter module, the setTimeout may trigger a second time, but after that we give up
52
52
if ( m === null ) {
53
- if ( fallback ) console . log ( "[!] Flutter module not found." ) ;
53
+ if ( fallback )
54
+ //console.log("[!] Flutter module not found.");
54
55
return ;
55
56
}
56
57
if ( Process . arch in platformConfig [ "patterns" ] ) {
@@ -123,7 +124,7 @@ function disablePinning() {
123
124
}
124
125
} ) ;
125
126
} catch ( e ) {
126
- console . warn ( "Not A Flutter App " ) ;
127
+ console . warn ( "[*] This is Not A Flutter Based APP " ) ;
127
128
}
128
129
}
129
130
@@ -796,14 +797,10 @@ setTimeout(function() {
796
797
}
797
798
}
798
799
} ) ;
799
- console . log ( "[*] Flutter testing" ) ;
800
800
setTimeout ( disablePinning , 1000 ) ;
801
801
disableFlutterPinningv2 ( ) ;
802
- console . log ( "[*] Dynamic patching" ) ;
803
802
dynamicPatching ( ) ;
804
- console . log ( "[*] CommonMethods" ) ;
805
803
CommonMethods ( ) ;
806
- console . log ( "[*] Testing OKHTTP methods" ) ;
807
804
try {
808
805
var okhttp3_Activity = Java . use ( 'okhttp3.CertificatePinner' ) ;
809
806
okhttp3_Activity . check . overload ( 'java.lang.String' , 'java.util.List' ) . implementation = function ( str ) {
0 commit comments