vault backup: 2025-04-18 08:38:25

This commit is contained in:
sunbeam0529 2025-04-18 08:38:26 +08:00
parent 54bd73e4f5
commit 42b8faf422
7 changed files with 100 additions and 17 deletions

View File

@ -26,5 +26,6 @@
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
"sync": false,
"webviewer": false
}

View File

@ -4,24 +4,21 @@
"type": "split",
"children": [
{
"id": "1264f9922b3f4518",
"id": "fee09a12cb76f23e",
"type": "tabs",
"children": [
{
"id": "86a6b4067288b6c1",
"id": "c25621e4a0d45c93",
"type": "leaf",
"state": {
"type": "canvas",
"type": "markdown",
"state": {
"file": "家里/宝宝/需要准备的东西.canvas",
"viewState": {
"x": 633.1666259765625,
"y": 82,
"zoom": 0
}
"file": "技术/gitlab/数据库.md",
"mode": "source",
"source": false
},
"icon": "lucide-layout-dashboard",
"title": "需要准备的东西"
"icon": "lucide-file",
"title": "数据库"
}
}
]
@ -43,7 +40,8 @@
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
"sortOrder": "alphabetical",
"autoReveal": false
},
"icon": "lucide-folder-closed",
"title": "文件列表"
@ -159,7 +157,7 @@
}
},
{
"id": "8600f43b21caaa96",
"id": "996d18a77bd9f12d",
"type": "leaf",
"state": {
"type": "side-panel-control-view",
@ -173,7 +171,7 @@
}
],
"direction": "horizontal",
"width": 336.5
"width": 326.5
},
"left-ribbon": {
"hiddenItems": {
@ -187,9 +185,19 @@
"obsidian-markdown-formatting-assistant-plugin:Open Markdown Formatting Assistant": false
}
},
"active": "86a6b4067288b6c1",
"active": "c25621e4a0d45c93",
"lastOpenFiles": [
"技术/破解/hashcat.md",
"技术/破解/centos安装opencl.md",
"技术/gitlab/数据库.md",
"技术/培训/Boot流程及原理.md",
"技术/培训",
"技术/python/虚拟环境.md",
"家里/宝宝/需要准备的东西.canvas",
"技术/破解",
"技术/gitlab",
"技术/python",
"技术",
"家里/宝宝/未命名.md",
"家里/宝宝",
"家里",
@ -201,7 +209,6 @@
"Pasted image 20241106105842.png",
"Pasted image 20241106105836.png",
"公司/座椅调节模块",
"公司",
"2024-11-06.md"
]
}

View File

@ -0,0 +1,21 @@
连接数据库
```bash
sudo gitlab-psql
```
显示所有用户名密码
```bash
SELECT id, username, email, encrypted_password FROM users;
```
```bash
```
```bash
nohup hashcat -m 3200 -a 0 -o ./cracked.txt ./hashes.txt ./name_dir.txt --workload-profile 4 > output.log 2>&1 &
nohup ./hashcat.bin -m 3200 -a 0 -o ../hashdata/cracked.txt ../hashdata/hashes.txt ../hashdata/name_dir.txt --status --status-timer 10 --workload-profile 4 > output.log 2>&1 &
nohup ./hashcat.bin -m 3200 -a 0 -o ../hashdata/cracked.txt ../hashdata/hashes.txt ../hashdata/dictionary.txt --status --status-timer 10 --workload-profile 4 > output.log 2>&1 &
```
hashcat -m 3200 -a 0 -o ./cracked.txt ./hashes.txt ./name_dir.txt --workload-profile 4
dictionary.txt

View File

@ -0,0 +1,7 @@
创建虚拟环境
python -m venv .venv
1.进入虚拟环境
source .venv/bin/activate
退出虚拟环境
deactivate

View File

@ -0,0 +1,31 @@
# 一、基本原理
boot_main() -> app_main()
# 二、MCU上电工作流程
1. 电压上升触发POR
2. 内部晶振起振稳定
3. 寄存器等硬件内核初始化
4. PC指针指向复位中断函数
5. 执行复位中断向量初始化代码startup.s
# 三、boot代码内容
1. 跳转APP
2. 校验APP
3. 擦除刷写
4. 流程图
# 四、UDS刷写流程
1. 读版本 $22
2. 进boot $10
3. 解锁 $27
4. 擦除 $31
5. 请求下载 $34
6. 发送数据 $36
7. 停止发送 $37
8. 校验 $31
9. 复位进入APP $11
# 五、其它
1. boot标志
2. flash driver
3. icf文件、map文件

View File

@ -0,0 +1,9 @@
来自github
> https://github.com/intel/compute-runtime/issues/193
```
yum install yum-plugin-copr
yum copr enable jdanecki/intel-opencl
yum install intel-opencl
```

7
技术/破解/hashcat.md Normal file
View File

@ -0,0 +1,7 @@
继续上次
```bash
hashcat.exe --session hashcat --restore
```