forked from mingww64/HttpCanary-SSL-Magisk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5fdbea
commit 5c58995
Showing
10 changed files
with
155 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Archive the Magisk Module | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- name: Archive | ||
run: 7z a -xr'!*LICENSE*|.git*' -tzip ./HttpCanary-SSL-Magisk-A14.zip ./* | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: latest | ||
files: ./HttpCanary-SSL-Magisk-A14.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDczCCAlugAwIBAgIHANaU/IC4ZzANBgkqhkiG9w0BAQ0FADBHMRswGQYDVQQD | ||
DBJIdHRwQ2FuYXJ5IFJvb3QgQ0ExEzARBgNVBAoMCkh0dHBDYW5hcnkxEzARBgNV | ||
BAsMCkh0dHBDYW5hcnkwHhcNMjAwNzMwMTAxMTAyWhcNMzEwNzI4MTAxMTAyWjBH | ||
MRswGQYDVQQDDBJIdHRwQ2FuYXJ5IFJvb3QgQ0ExEzARBgNVBAoMCkh0dHBDYW5h | ||
cnkxEzARBgNVBAsMCkh0dHBDYW5hcnkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw | ||
ggEKAoIBAQC35mP15BusTN5ThWp01nsWzldv3L176rdPUL7hJgBgr4orcuYRUfzg | ||
GAJgioxCx5TWvnSgE2GQPJxEVOqQaEb3oDr+Crn525sgpyh1wfajSlTz6pUkvfuU | ||
n1p5+4biTNmqjllSa7dTBs1z9FdLgMYhxo9FBdee3KG0K0tgwejr8n1obfP6fCg7 | ||
hepMgO+hJAdqYn2LTKjnAgH0IeXVW8tS8H37P5FAW1eCOqL75ZhD2Ly4j0xxmzUc | ||
YDJ7xewXTu37U/9ieVEvmwicuMsEHOHUBaLJ3jkIBK4cdB0H0dXCuXSEEMrPp5XV | ||
Vkrg/T9pzqWdiplvL3raKtfp7oeEv8CVAgMBAAGjZDBiMB0GA1UdDgQWBBSnBzwC | ||
f28/ZASyS8n0ShqunZJUmDAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBtjAj | ||
BgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwDQYJKoZIhvcNAQEN | ||
BQADggEBAC03n4n5/xbJfvitDCeTKP1K4hetEYE9Aqzz/EbWHiLMBbVK0cjs6P7W | ||
NSAMa4dlkXXwChcjUTDJmnEnBQFkxr4mzu3598U1PzRxxUMnkfitKjt5ITsxmwSq | ||
gR2/cvDy5yMYFEwtV2o7wqdXPc9/jmwmrIl1mqZtV0vZ+o83lC1uYmnbDJQS03+C | ||
5HkGYYzhaGik/RoxI+nDhcIne0tSyrlL76Y0YQgiRykOeYJPJqEGqq6ahgbpdOms | ||
CKhgJ7yLlzvCAyX5xR8YduZoWU7G8beKbV1+pyXpOfO06IcFrthnh1PGT+AoTufW | ||
C6gcx5vvG4w48BkI0QRLOQkUzUKiQws= | ||
-----END CERTIFICATE----- |
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDcjCCAlqgAwIBAgIGJNNl58gVMA0GCSqGSIb3DQEBDQUAMEcxGzAZBgNVBAMM | ||
Ekh0dHBDYW5hcnkgUm9vdCBDQTETMBEGA1UECgwKSHR0cENhbmFyeTETMBEGA1UE | ||
CwwKSHR0cENhbmFyeTAeFw0yMDA3MjYxNDA0MjdaFw0zMTA3MjQxNDA0MjdaMEcx | ||
GzAZBgNVBAMMEkh0dHBDYW5hcnkgUm9vdCBDQTETMBEGA1UECgwKSHR0cENhbmFy | ||
eTETMBEGA1UECwwKSHR0cENhbmFyeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC | ||
AQoCggEBAM7ObxiIXUfvLzh8GjG/clik1SdWD1e6L4B4xpSedNN9+weZW94tvNLX | ||
LXc/3//0klhcUb+T5T+xifNEipp5ku+FLrv/QJyF3WEF85mT1pgdoBq9u/t1VxyR | ||
4ViwVqqw1/9XCJdAwuLGEgYyGMt4vjtuUNJ5AF16QvWXdzJGxxvWaKs5rLNGBYqy | ||
p0bZ6LmwJcU9Pid7EuxaeGmAWfk9Z/zeXiLzTB28WVqYi/TvgrbFFjaxJDM6ILBw | ||
arutV/MJ6joTBU6ZC+O8UjPTLNXbZJDsq2dQYoN1N6d3Wl239theJP22ro9gma/6 | ||
575iigFZ35q6pvudSg9UTNfKBLrmickCAwEAAaNkMGIwHQYDVR0OBBYEFLe3jQNN | ||
m/WGmQY2llu1iKEqdq9UMA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgG2MCMG | ||
A1UdJQQcMBoGCCsGAQUFBwMBBggrBgEFBQcDAgYEVR0lADANBgkqhkiG9w0BAQ0F | ||
AAOCAQEAVxJKLDYLjUuiqgw8iY1se3TDqfD8GRms4RN0miw/wIPT3jMeRLAN/IOQ | ||
r6XR8WYqPmmlxzKc7W3CvS0Ud7XtOmljo2gT4yR5pjC41HnHgLbL9zAZ53Ye9o1O | ||
2gK910bRoCPhiuC9u1mudDV9U7zJuzu73zVWGa/qcskwCHUNjmONNyPho9HQmb05 | ||
knMD3+i8gFgoY5JN/jjiikLgQ0IO4ltjNHsbhWJtiA+1+nxjIlwWDqopOgwfaRqg | ||
nLkVSaYMupb1udf9xPmlfWq4XPg1CVBZo47gJCSuSjayaxjIhgU5Mybs6QoRK6ez | ||
qNK7SCZRnSxux+iF3WxkBl5fr+IG9A== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,19 @@ | ||
########################################################################################## | ||
# | ||
# MMT Extended Config Script | ||
# | ||
########################################################################################## | ||
|
||
########################################################################################## | ||
# Config Flags | ||
########################################################################################## | ||
|
||
# Uncomment and change 'MINAPI' and 'MAXAPI' to the minimum and maximum android version for your mod | ||
# Uncomment DYNLIB if you want libs installed to vendor for oreo+ and system for anything older | ||
# Uncomment DEBUG if you want full debug logs (saved to /sdcard) | ||
#MINAPI=21 | ||
#MAXAPI=25 | ||
#DYNLIB=true | ||
#DEBUG=true | ||
|
||
########################################################################################## | ||
# Replace list | ||
########################################################################################## | ||
|
||
# List all directories you want to directly replace in the system | ||
# Check the documentations for more info why you would need this | ||
|
||
# Construct your list in the following format | ||
# This is an example | ||
REPLACE_EXAMPLE=" | ||
/system/app/Youtube | ||
/system/priv-app/SystemUI | ||
/system/priv-app/Settings | ||
/system/framework | ||
" | ||
|
||
# Construct your own list here | ||
REPLACE=" | ||
" | ||
|
||
########################################################################################## | ||
# Permissions | ||
########################################################################################## | ||
|
||
set_permissions() { | ||
: # Remove this if adding to this function | ||
|
||
# Note that all files/folders in magisk module directory have the $MODPATH prefix - keep this prefix on all of your files/folders | ||
# Some examples: | ||
|
||
# For directories (includes files in them): | ||
# set_perm_recursive <dirname> <owner> <group> <dirpermission> <filepermission> <contexts> (default: u:object_r:system_file:s0) | ||
|
||
# set_perm_recursive $MODPATH/system/lib 0 0 0755 0644 | ||
# set_perm_recursive $MODPATH/system/vendor/lib/soundfx 0 0 0755 0644 | ||
|
||
# For files (not in directories taken care of above) | ||
# set_perm <filename> <owner> <group> <permission> <contexts> (default: u:object_r:system_file:s0) | ||
|
||
# set_perm $MODPATH/system/lib/libart.so 0 0 0644 | ||
# set_perm /data/local/tmp/file.txt 0 0 644 | ||
} | ||
|
||
########################################################################################## | ||
# MMT Extended Logic - Don't modify anything after this | ||
########################################################################################## | ||
|
||
SKIPUNZIP=1 | ||
unzip -qjo "$ZIPFILE" 'common/functions.sh' -d $TMPDIR >&2 | ||
. $TMPDIR/functions.sh | ||
#!/system/bin/sh | ||
|
||
CERTS_DIR=${MODPATH}/certs | ||
APP_VER_335=/data/data/com.guoshi.httpcanary | ||
APP_VER_336=/data/data/com.guoshi.httpcanary.premium | ||
|
||
if [ -d ${APP_VER_335} ]; then | ||
echo "HttpCanary 3.3.5 detected, copying certs..." | ||
cp $CERTS_DIR/* $APP_VER_335/cache/ | ||
fi | ||
if [ -d ${APP_VER_336} ]; then | ||
echo "HttpCanary 3.3.6 detected, copying certs..." | ||
cp $CERTS_DIR/* $APP_VER_336/cache/ | ||
fi | ||
|
||
ui_print $MODPATH | ||
ui_print "安装成功, 重启手机后去系统证书查看证书是否生效。" | ||
ui_print "问题反馈: " | ||
ui_print "https://github.com/NahidaBuer/HttpCanary-SSL-Magisk-A14/issues" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
id=HttpCanaryBundle | ||
name=HttpCanary | ||
version=v3.3.6.1 | ||
versionCode=9 | ||
author=FeliciaWen&Nahida | ||
version=v3.3.6.3 | ||
versionCode=15 | ||
author=Nahida | ||
description=HttpCanary Certificate Bundle | ||
support=https://github.com/wmyfelix | ||
support=https://github.com/NahidaBuer/HttpCanary-SSL-Magisk-A14 |
Oops, something went wrong.