Commit Graph
10 Commits
Author SHA1 Message Date
Tim Perry 90ebd192d7 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.
2023-11-14 09:44:16 +01:00
Tim Perry 4a492973c3 Log actual details of unexpected TLS errors 2023-11-14 09:41:34 +01:00
Tim Perry de4493d1f7 Disable hostname verification for our CA certificate only
We previously left this in, since it's generally better to follow TLS
rules, but there's one case where it matters: when a client sends a
request without using SNI, and so the proxy may not show the right
certificate. We want to allow that, and to do so we need to ensure that
hostname checks are skipped (but only for our CA - not for any others,
which must still follow normal TLS rules).
2023-11-13 22:47:25 +01:00
Tim Perry 15869c6a7c Improve logging and error handling in Android cert injection 2023-11-10 14:12:22 +01:00
Tim Perry 61cb054e16 Handle non-message arguments in fallback script 2023-11-08 18:59:12 +01:00
Tim Perry 4cb2d44f6c Use targetMethod.call(this...) over this.[method](...)
This avoids the potential for bugs (calling the method directly does
dynamic lookup based on argument types, which may not match the called
method in ambiguous cases, e.g. int vs double are indistinguishable in
JS) and improves performance (skipping any dynamic method lookup).
2023-11-08 14:26:19 +01:00
Tim Perry 676627d01f Handle the signature of built-in okhttp.Address in Android Nougat 2023-11-07 18:21:32 +01:00
Tim Perry ae11390aee Add source & license info to script header comment 2023-10-23 17:49:41 +02:00
Tim Perry e126af2902 Expand and polish up the per-script documentation 2023-10-23 17:43:40 +02:00
Tim Perry 50a23a38be Update README and move Android-specific scripts into a subdirectory 2023-10-23 16:48:30 +02:00