Skip to content

Instantly share code, notes, and snippets.

@5ec1cff
5ec1cff / zygisk.md
Last active May 8, 2024 02:16
Zygisk 源码分析 #Magisk #Zygisk

Zygisk 源码分析

以下分析基于 Magisk 76ddfeb93a8b3612cd68988323f422e996751e16

由于 Magisk 更新太快了,决定弃坑,自己去看源码罢!

Zygisk 注入到 Zygote 进程

Zygisk 加载是通过替换 app_process ,修改 LD_PRELOAD ,再执行原 app_process 实现的。

`/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/`
@GAM3RG33K
GAM3RG33K / ReadMe.md
Created February 14, 2020 07:07
A Guide to setup and use Plantuml
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Обновление системы и пакетов
apt-get update
apt-get upgrade -y
# Установка пакетов для сборки softether
apt-get install build-essential libreadline-dev libssl-dev libncurses-dev zlib1g-dev git
# Скачивание репозитория Stable версии
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
@davidfowl
davidfowl / dotnetlayout.md
Last active May 8, 2024 02:08
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@CyberShadow
CyberShadow / .gitignore
Last active May 8, 2024 02:07
Eliza script parser, graph generator, and Steam guide
/dump_script
/section-*.dot
/images/section-*.png
/images/images.txt
/10-section-*.steamguide
/sections.txt
/guideid.txt
@ibrahimlawal
ibrahimlawal / LC_CTYPE.txt
Created February 27, 2017 07:02 — forked from jampajeen/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
File 1 conents
@borissov
borissov / caps_hjkl.md
Last active May 8, 2024 01:57
Caps Lock + HJKL on Ubuntu 18.04 LTS (Bionic Beaver)

Remap systemwide Caps + HJKL to arrow keys for Ubuntu 18.04 LTS (Bionic Beaver).

For US Layout

In file /usr/share/X11/xkb/symbols/us append in xkb_symbols "basic" scope before the closing bracket:

    //hjkl
    key <AC06> {        [         h, H, Left            ]       };
    key <AC07> {        [         j, J, Down            ]       };
    key <AC08> {        [         k, K, Up              ]       };
    key <AC09> {        [         l, L, Right           ]       };
 key  { [ ISO_Level3_Shift ] };