From 90ebd192d7d6dcfa39ac4416a5c60dd025d15015 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Tue, 14 Nov 2023 09:44:14 +0100 Subject: [PATCH] More closely match fallback log output to other scripts Previously it wasn't clear that the "[+] ..." message was another setup script confirmation - it could easily be interpreted as some kind of error. --- android/android-certificate-unpinning-fallback.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/android/android-certificate-unpinning-fallback.js b/android/android-certificate-unpinning-fallback.js index dd1c03a..cf17b4f 100644 --- a/android/android-certificate-unpinning-fallback.js +++ b/android/android-certificate-unpinning-fallback.js @@ -233,9 +233,10 @@ Java.perform(function () { }); }) - console.log('[+] TLS error auto-patcher'); + console.log('== Unpinning fallback auto-patcher installed =='); } catch (err) { - console.log(err); - console.log('[ ] TLS error auto-patcher'); + console.error(err); + console.error(' !!! --- Unpinning fallback auto-patcher installation failed --- !!!'); } + }); \ No newline at end of file