记逆向方正字库客户端字体下载逻辑
希望从方正字库官网下载字体,发现方正字库网站不能下载字体文件;从【方正字库客户端】字 plus 方正字库客户端 fontplus 字体管理【软件 客户端 下载】下载客户端后发现仍需登录才能下载字体。抓包后发现并未找到下载字体文件的过程。现希望绕过上述步骤以可控方式获得字体文件。
希望从方正字库官网下载字体,发现方正字库网站不能下载字体文件;从【方正字库客户端】字 plus 方正字库客户端 fontplus 字体管理【软件 客户端 下载】下载客户端后发现仍需登录才能下载字体。抓包后发现并未找到下载字体文件的过程。现希望绕过上述步骤以可控方式获得字体文件。
在VS Code编辑C/C++文件时,Alt+Shift+F 快捷键会默认使用拓展C/C++进行文档格式化
查看C_Cpp.formatting@ext:ms-vscode.cpptools这一配置项,发现VS Code默认使用clang-format进行格式化
Coding style, currently supports:
Visual Studio,LLVM,Chromium,Mozilla,WebKit,Microsoft,GNU. Usefileto load the style from a.clang-formatfile in the current or parent directory, or usefile:<path>/.clang-formatto reference a specific path.
查询文档Clang-Format Style Options — Clang 20.0.0git documentation得知
LLVM A style complying with the LLVM coding standardsGoogle A style complying with Google’s C++ style guideChromium A style complying with Chromium’s style guideMozilla A style complying with Mozilla’s style guideWebKit A style complying with WebKit’s style guideMicrosoft A style complying with Microsoft’s style guideGNU A style complying with the GNU coding standards1 | ssh-keygen -t ed25519 -C "your_email@example.com" |
打开~/.ssh/config,追加内容:
1 | Host something |
把ssh-agent开下来
1 | ssh-agent -s |
把新key加到ssh里面
1 | ssh-add ~/.ssh/id_rsa_or_your_file_name |
~/.ssh/authorized_keys其实并不是严格意义上的劫持控制流。
省流:几乎完全没有鉴权。
参加了ZJUCTF 2024,这是Writeup.
1 | if(x > 0) y = 1; |
Will the program run as expected?
不过并不全。你可能更想要这个Latex Symbols。