GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update README.md · Cubeeeee/SKRoot-linuxKernelRoot@5b4b732

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
## 功能备注:
2424
APP应用程序拿到ROOT权限的唯一方法就是得到ROOT密匙,此密匙为48位的随机字符串,安全可靠,如若感觉长度不够,可自行修改源码拓展长度。
2525

26-
其中`【注入su到指定进程】只支持授权su到64位的APP`,老式32位APP不再进行支持,因市面上几乎所有APP都是64位,例如MT文件管理器、Root Explorer文件管理器等等。
26+
其中【**注入su到指定进程**】**只支持授权su到64位的APP**,老式32位APP不再进行支持,因市面上几乎所有APP都是64位,例如MT文件管理器、Root Explorer文件管理器等等。
2727

2828
## 使用流程:
2929
#### 1.通过拖拽内核文件置`find_proc_pid_status`可直接得到函数`proc_pid_status`的入口地址,IDA跳至该地址后按F5,肉眼可得`task_struct`结构体里`cred`或`seccomp`的偏移值(`seccomp`为非必需项)。
3030
#### 2.通过拖拽内核文件置`find_avc_denied`可得相关函数的入口地址,IDA跳至该地址后按F5,肉眼跳转可得`avc_denied`的入口位置。
3131
#### 3.通过拖拽内核文件置`find_do_execve`可直接得到函数`do_execve`的入口位置。
3232
#### 4.通过拖拽内核文件置`patch_kernel_root`,输入以上得到的信息值,开始补丁内核,同时会自动生成ROOT密匙,直至补丁完成。
3333
#### 5.启动`PermissionManager`,输入ROOT密匙值,开始享受舒爽的ROOT环境。
34-
【**避免IDA的BUG**】:请注意,在寻找`seccomp`偏移时,请跳到汇编指令界面**检查汇编指令MOV的实际值**,因为IDA伪代码显示的数值有可能是错误的。
34+
【**避免IDA的BUG**】:请注意,在寻找**seccomp**偏移时,请跳到汇编指令界面**检查汇编指令MOV的实际值**,因为IDA伪代码显示的数值有可能是错误的。
3535

3636
想要从没有源码的内核文件中得到这4个值的方法其实有很多,至少有4种以上,其实直接用IDA搜一下就有了~,这里为了大家方便,简易制作了三个“脚本工具”并附其源码。
3737

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.