Skip to content

Instantly share code, notes, and snippets.

View milanoid's full-sized avatar

Milan Vojnovič milanoid

View GitHub Profile
#!/usr/bin/env groovy
pipeline {
agent {
label 'base2 && large && docker'
}

Keybase proof

I hereby claim:

  • I am milanoid on github.
  • I am milanoid (https://keybase.io/milanoid) on keybase.
  • I have a public key ASBVJyDMn0egqDqWAac-TtPNMdGb3tc9_GIHZyyvYWZGVwo

To claim this, I am signing this object:

@milanoid
milanoid / convert_and_import
Created December 10, 2018 12:19
Bunch of commands to force rooted Android device to trust MITM certificate. Tested with rooted Nexus 5X.
1. convert mitmproxy CA to android format
=========================================
openssl x509 -inform PEM -subject_hash_old -in mitmproxy-ca-cert.pem | head -1
==> c8750f0d // unique hash, update this with your value
cat mitmproxy-ca-cert.pem > c8750f0d.0
openssl x509 -inform PEM -text -in mitmproxy-ca-cert.pem -out /dev/null >> c8750f0d.0
2. import CA to rooted! Android
=============================================================