avatar
Articles
415
Tags
259
Categories
26

Theqiqi_blog
Search

Theqiqi_blog

一些Nt函数的用法
Created2022-08-17|Hacking|C++•Windows•Hacking
[toc] 基本函数的用法1.NtOpenProcess123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354#include <windows.h>#include <winternl.h>#include <stdio.h>#pragma comment(lib, "ntdll.lib")typedef NTSTATUS(NTAPI* NtOpenProcess_t)( PHANDLE ProcessHandle, ACCESS_MASK DesiredAccess, POBJECT_ATTRIBUTES ObjectAttributes, CLIENT_ID* ClientId );int main() { // 获取 ntdll.dll 模块句柄 HMODULE ntdll = GetModuleHandleA("n ...
HackingSomeInformation
Created2022-08-03|Hacking|C++•Windows•Hacking
[toc] c++ 使用PID获取顶级窗口句柄和标题1234567891011121314151617181920212223242526#include <iostream>#include <Windows.h> using namespace std; int main(){ EnumWindows([](HWND hwnd, LPARAM lParam) { DWORD pid = 0; GetWindowThreadProcessId(hwnd, &pid); if (pid == GetCurrentProcessId()) // 判断pid { char text[1024]; GetWindowTextA(hwnd, (LPSTR)text, 1024); // 必须含有标题文字 if (strlen(text) != 0 && IsWindowVisible(hwnd)) { // printf("%s\n", text); targe ...
c/c++中用结构体作为参数传递给函数
Created2020-07-28|C语言的万种用法|C
[toc] c语言中结构体的使用1定义结构体1234567struct Process{ wchar_t* name; int pid; int ppid; wchar_t* path;}_Process; 2使用结构体12345678910111213141516#include <stdio.h>struct Process{ wchar_t* name; int pid; int ppid; wchar_t* path;};int main(int argv, char* argc[]){ struct Process Info = {0}; Info.name = L"cmd.exe"; wprintf(L"name is %s\n", Info.name); return 0;} 3定义结构体的同时赋值123456789101112131415#include <s ...
Hello World
Created1969-12-31
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Qt6.2.4静态编译
Created1969-12-31|Cpp|cpp•Qt5.8
使用MinGW进行静态编译Qt Build Tools 安装 Build Tools 安装 Chocolatey 安装 Perl & Python 安装 CMake & MinGW & Ninja 检查环境 在清华大学镜像源下载源码 在本地路径新建文件夹D:\software\Qt\6.2.4\mingw_624_static,预留120G 空间。 编译指令为: 使用MSVC进行编译Qt 配置环境参考上方内容,添加LLVM 在清华大学镜像源下载源码 修改源码里的qtbase\mkspecs\common\msvc-desktop.conf文件(非必须,建议不改) 在x64 Native Tools Command Prompt for VS 2022 里进入Qt源代码目录 编译命令 参考资料 使用MinGW进行静态编译QtBuild Tools CMake (可通过 Qt online installer 安装) Ninja (可通过 Qt online installer 安装) ActivePerl (使用 Chocolatey 安装) ...
1…4142
avatar
Theqiqi
Articles
415
Tags
259
Categories
26
Follow Me
Announcement
This is my Blog
Recent Post
03-反馈流2026-08-21
02-错误流2026-08-21
01-控制流2026-08-20
05-多系统协作的十条流2026-08-19
04-多层系统的十条流2026-08-18
Categories
  • C with Socks16
  • C_Sound10
  • C_Windows_Graphi9
  • Cpp5
  • Cpp_Socket4
  • C语言在Windows中实现抓包4
  • C语言的万种用法9
  • Debian1
Tags
十阶段 接口先行 Qt主题架构 WindowsDriver python 从输入到交互 select LinuxDriver 入口系统 UDP服务器与可靠性 微服务与组装边界 DLL javascript 多系统组成的网络通信软件 Piano 拆解资源 游戏类型演化 Kali 建模与逆向 BSD Sockets x86汇编程序 IPV4 Drvier 认知能力分解 技术流 qemu Ninja 业务流程到功能点 用头文件验证依赖 引擎组装 Sound 从状态到系统 epoll QEMU 依赖接口 shell 依赖关系 Graphi 拆解美术 只有组件的子系统如何被加载
Archives
  • August 2026128
  • January 20261
  • April 20251
  • March 202595
  • February 202523
  • September 20242
  • August 202471
  • June 20242
Info
Article :
415
UV :
PV :
Last Update :
©2020 - 2026 By Theqiqi
Framework Hexo|Theme Butterfly
Search
Loading the Database