avatar
Articles
286
Tags
104
Categories
25

Theqiqi_blog
Search

Theqiqi_blog

windows驱动开发6.Debuview查看Windows驱动的打印内容
Created2025-03-13|Drvier|C•Drvier•WindowsDriver
Debuview查看Windows驱动的打印内容 下载DebugView.exe DebugView下载链接 运行DriverMonitor.exe。 运行DebugView.exe。 DebugView中选中Cpature Kernel, Enable Verbose Kernel Output, Capture Events。 在DriverMonitor中点击open打开HelloWorld.sys驱动,点击go运行。 在DebugView中观察输出。
windows驱动开发5.怎么在Widows11中加载驱动程序
Created2025-03-13|Drvier|C•Drvier•WindowsDriver•DriverMonitor
怎么在Widows11中加载驱动程序方法一:使用微软提供的DriverMonitor.exe加载 [DriverMonitor下载链接](http ://www.rsdown.cn/down/165643.html) DriverMonitor中点击open加载驱动, 点击go运行驱动 方法二:使用命令行创建服务加载1234#1.创建服务#2.启动驱动#3.关闭驱动#4.卸载驱动 管理员打开cmd加载驱动 1sc create guidehacking type= kernel binpath="D:\Desktop\test\visual\studio\Hacking\Hacking\x64\Release\Hacking.sys" 使用debugView并勾选Caputure kernel 开始运行驱动 1sc start guidedhacking cmd停止驱动 1sc stop guidedhacking 方法三:使用C语言程序调用系统命令加载✅ 使用 popen() 调用 sc 命令并获取输出的完整 C 程序 1234567 ...
windows驱动开发4.怎么对windows驱动程序签名
Created2025-03-13|Drvier|C•Drvier•WindowsDriver
1.准备证书从微软处购买证书找到泄漏的过期签名证书2.签名方法一: 使用签名软件签名方法二:使用微软签名软件签名打开x64 Native Tools Command Prompt for VS 2022->切换到驱动程序路径 1signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 /f cert.pfx /p password driver.sys 测试签名方法一:使用Signer 64Signer(驱动数字签名工具) V1.2 绿色安装版 方法二:使用微软自带工具与测试证书签名 安装wdk后导出测试证书,存储位置:个人(Personal) → 证书。导出到驱动程序路径。 打开x64 Native Tools Command Prompt for VS 2022->切换到驱动程序路径 1signtool sign /f WDK.pfx /p 123 /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 HelloWorld.s ...
windows驱动开发3.怎么在vs2022中将C语言代码编译为Windows驱动程序
Created2025-03-13|Drvier|C•Drvier•WindowsDriver
怎么在vs2022中将C语言代码编译为Windows驱动程序 在VS2022中新建KMDF空项目起名为HelloWorld. VS2022中选择realease与x64. 添加源文件entry.c并输入源码 12345678910111213141516171819202122232425#include <ntddk.h>//卸载驱动函数VOID DriverUnload(PDRIVER_OBJECT pDriver){ pDriver; //打印函数 KdPrint(("驱动卸载成功\r\n"));}//加载驱动函数NTSTATUS DriverEntry(PDRIVER_OBJECT pDriver, PUNICODE_STRING pReg){ pDriver; pReg; //打印函数 KdPrint(("驱动加载成功\r\n")); KdPrint(("我的第一个驱动程序\r\n")); //指定卸载驱动函数 ...
windows驱动开发2.怎么在VS2022中配置windows驱动编译环境
Created2025-03-13|Drvier|C•Drvier•WindowsDriver
怎么在VS2022中配置windows驱动编译环境? 下载安装Visual Studio2022 通过Visual Studio Installer安装SDK22621 组件中安装”Windows Driver Kit” 下载安装对应的WDK 例如windows11 22621 其他 WDK 下载
windows驱动开发1.windows驱动打印helloworld
Created2025-03-13|Drvier|C•Drvier•WindowsDriver
1.HelloWorld驱动程序 加载时的入口 卸载时的函数 12345678910111213141516171819202122232425#include <ntddk.h>//卸载驱动函数VOID DriverUnload(PDRIVER_OBJECT pDriver){ pDriver; //打印函数 KdPrint(("驱动卸载成功\r\n"));}//加载驱动函数NTSTATUS DriverEntry(PDRIVER_OBJECT pDriver, PUNICODE_STRING pReg){ pDriver; pReg; //打印函数 KdPrint(("驱动加载成功\r\n")); KdPrint(("我的第一个驱动程序\r\n")); //指定卸载驱动函数 pDriver->DriverUnload = DriverUnload; //返回值 STATUS_SUCCESS 代表成功 r ...
4. 使用网卡抓包
Created2025-02-06|C语言在Windows中实现抓包|C•WinSock•TCP•Capture•Ethernet•Npcap•Ipv6
网卡抓包1.安装npcap程序与sdk2.抓包并打印长度 创建项目 在项目中包含头文件与库文件 编写代码 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879#include <stdio.h>#include <stdlib.h>#include "pcap.h"#pragma comment(lib,"wpcap.lib")#pragma comment(lib,"packet.lib")// 回调函数,处理捕获到的每个数据包void packet_handler(u_char* param, const struct pcap_pkthdr* header, const u_char* pkt_data) { printf("P ...
3.使用C语言写一个socket代理服务器抓包
Created2025-02-06|C语言在Windows中实现抓包|C•WinSock•TCP•Capture•Socket
一、代理抓包1. 代理服务器转发TCP数据包并打印123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159#include <stdio.h>#include <stdlib.h>#include <string.h>#include <winsock2.h>#incl ...
2.C语言在Windows中使用Hook抓包
Created2025-02-06|C语言在Windows中实现抓包|C•WinSock•TCP•LinSock•Capture•Hook•DLL
C语言在Windows中使用Hook抓包 使用C语言写服务端与客户端程序。 使用C语言写动态链接库实现抓包功能。 将动态链接库注入到客户端程序中。 此时客户端发送消息会被抓取。 1.使用C语言写服务端与客户端程序。 LinServer.c 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980// LinServer.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h> // for close()#include <arpa/inet.h> // for sockaddr_in, inet_ntop#include <sys/socket.h> // for socke ...
1.Windows中运行的程序怎么抓包?
Created2025-02-06|C语言在Windows中实现抓包|C•WinSock•TCP•Capture
Windows中运行的程序怎么抓包?方法一:hook相关函数 TCP使用send,recieve。UDP使用sendto,recviefrom。 hook函数写在dll中,将dll注入程序中抓包。 方法二:让程序走代理,在代理程序中解析数据 使用Proxifier或者SocksCap让单个程序走代理。使用C语言写一个socket代理服务器 方法三:让程序走代理,用wpe抓取代理包 使用Proxifier或者SocksCap让单个程序走代理,使用CCproxy当代理服务器,使用wpe抓包 方法四:抓取网卡中的包。
1…91011…29
avatar
Theqiqi
Articles
286
Tags
104
Categories
25
Follow Me
Announcement
This is my Blog
Recent Post
101.使用Grop网站提供的api2026-01-03
9.压测2025-03-27
8.Linux Socket并发模型http服务器2025-03-27
7.web服务器中收发REST接口2025-03-27
6使用c语言与linux系统写一个web服务器,解析并响应get与post请求2025-03-27
Categories
  • C with Socks16
  • C_Sound10
  • C_Windows_Graphi9
  • Cpp5
  • Cpp_Socket4
  • C语言在Windows中实现抓包4
  • C语言的万种用法9
  • Debian1
Tags
cmake Cmake ipv4 x86汇编程序 Hacking LinuxDriver Python C++ android c_windows_driver Drvier epoll Piano OpenGl Disk linux MySql web Ethernet WindowsDrive jsp gtest html poll LinSock first pragram AI UART javascript System C http opencv Sound system PVE Hook Graphi Qt5.8 c语言的万种用法
Archives
  • January 20261
  • March 202595
  • February 202523
  • September 20242
  • August 202471
  • June 20242
  • March 202443
  • February 20248
Info
Article :
286
UV :
PV :
Last Update :
©2020 - 2026 By Theqiqi
Framework Hexo|Theme Butterfly
Search
Loading the Database