SECURITY RESEARCH / ENGINEERING

文章与研究

在证据与实验中理解复杂系统。

读取硬盘序列号产生软件注册码

本程序采用Visual Basic编译 引用     1、在模块中加入以下声明 Public Declare Function GetVolumeInformation Lib "kernel32" _ Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, _ ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, _ lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, _ lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, _ ByVal nFileSystemNameSize As Long) As Long '得到某磁盘的信息 引用     2、窗体代码 Option Explicit Private Regid, Localid As Long   Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii < 48 Or......

阅读全文 →

读取硬盘序列号产生软件注册码

本程序采用Visual Basic编译 引用     1、在模块中加入以下声明 Public Declare Function GetVolumeInformation Lib "kernel32" _ Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, _ ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, _ lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, _ lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, _ ByVal nFileSystemNameSize As Long) As Long '得到某磁盘的信息 引用     2、窗体代码 Option Explicit Private Regid, Localid As Long   Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii < 48 Or......

阅读全文 →

VB 禁用Alt+Ctrl+Del

Const REG_SZ = 1 Const REG_BINARY = 3 Const REG_DWORD = 4 Const HKEY_CURRENT_USER = &H80000001 ' the Functions for Registry Manipulations Private Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long Private Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long Private Declare Function RegDeleteValue Lib "advapi32.dll" Alias "RegDeleteValueA" (ByVal hKey As Long, ByVal lpValueName As String) As Long Private Declare Function RegOpenKey Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long Private......

阅读全文 →