-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 94bb229
Showing
3 changed files
with
116 additions
and
0 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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 CatMe0w | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,43 @@ | ||
# seewo_jailbreak | ||
|
||
Defuse Seewo's PASSWORDV3/LockPasswordV3 | ||
|
||
解除希沃 PASSWORDV3/LockPasswordV3 管理员密码 | ||
|
||
## Usage | ||
|
||
1. Download `seewo_jailbreak.exe` from [Releases](https://github.com/CatMe0w/seewo_jailbreak/releases). | ||
(Or download `seewo_jailbreak.py` if you have Python installed.) | ||
|
||
1. Copy `bind_zmodule.dll` from `C:\Program Files (x86)\Seewo\SeewoService\SeewoService_1.X.X.XXXX\SeewoCore\module\bind\` to the same directory as `seewo_jailbreak.exe`. | ||
|
||
2. Run `seewo_jailbreak.exe` to generate the patched file. | ||
|
||
3. Replace `C:\Program Files (x86)\Seewo\SeewoService\SeewoService_1.X.X.XXXX\SeewoCore\module\bind\bind_zmodule.dll` with the patched file. | ||
|
||
> [!NOTE] | ||
> | ||
> You may need to kill `SeewoCore.exe` and `SeewoFreezeUpdateAssist.exe` processes first. | ||
> | ||
> If it doesn't work, even if you have killed the process, please restart to Safe Mode and try again. | ||
--- | ||
|
||
1. 从 [Releases](https://github.com/CatMe0w/seewo_jailbreak/releases) 下载 `seewo_jailbreak.exe`。 | ||
(或者如果你已经安装了 Python,可以下载 `seewo_jailbreak.py`。) | ||
|
||
1. 从 `C:\Program Files (x86)\Seewo\SeewoService\SeewoService_1.X.X.XXXX\SeewoCore\module\bind\` 复制 `bind_zmodule.dll` 到 `seewo_jailbreak.exe` 同一目录下。 | ||
|
||
2. 运行 `seewo_jailbreak.exe` 修补文件。 | ||
|
||
3. 用修补后的文件替换 `C:\Program Files (x86)\Seewo\SeewoService\SeewoService_1.X.X.XXXX\SeewoCore\module\bind\bind_zmodule.dll`。 | ||
|
||
> [!NOTE] | ||
> | ||
> 你可能需要先结束 `SeewoCore.exe` 和 `SeewoFreezeUpdateAssist.exe` 进程。 | ||
> | ||
> 如果你已经结束了进程,但仍然无法覆盖文件,请重启到安全模式重试。 | ||
## License | ||
|
||
MIT License |
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,52 @@ | ||
import os | ||
from sys import exit | ||
|
||
original = bytes.fromhex("E8 16 E9 FF FF") | ||
patched = bytes.fromhex("B0 01 90 90 90") | ||
|
||
filename = "bind_zmodule.dll" | ||
backup_filename = filename + ".bak" | ||
|
||
sample_path = "C:\\Program Files (x86)\\Seewo\\SeewoService\\SeewoService_1.X.X.XXXX\\SeewoCore\\module\\bind\\" | ||
|
||
if not os.path.exists(filename): | ||
print("File not found!") | ||
print("\nPlease copy this file:") | ||
print(f" {filename}") | ||
print("from the following path:") | ||
print(f" {sample_path}") | ||
print("to the current directory.") | ||
exit(1) | ||
|
||
with open(filename, "rb") as f: | ||
data = f.read() | ||
|
||
if data.find(original) == -1: | ||
print("It looks like the file is already patched :)") | ||
exit(0) | ||
else: | ||
if not os.path.exists(backup_filename): | ||
with open(backup_filename, "wb") as out: | ||
out.write(data) | ||
else: | ||
print(f"{backup_filename} already exists!") | ||
print("\nFor safety reasons, we won't overwrite it.") | ||
print("Please remove it or rename it to something else.") | ||
exit(1) | ||
|
||
data = data.replace(original, patched) | ||
with open(filename, "wb") as out: | ||
out.write(data) | ||
|
||
print("File patched successfully!") | ||
print(f"And the original file is backed up as {backup_filename}") | ||
print("\nPlease copy this file:") | ||
print(f" {filename}") | ||
print("to the following path:") | ||
print(f" {sample_path}") | ||
print("and replace the original file.") | ||
print("\n================================") | ||
print("You may need to kill SeewoCore.exe and SeewoFreezeUpdateAssist.exe processes first.") | ||
print("If it doesn't work, even if you have killed the process, please restart to Safe Mode and try again.") | ||
print("================================") | ||
print("\nEnjoy your jailbreak!") |