| windows文件保护机制 |
| 作者:内详 来源:网络搜集 点击数:
更新时间:2008-3-31 18:10:58 |
|
|
re are no more protected files to enumerate, the return value // is zero. // // Requirements: // // Windows NT/2000: Requires Windows 2000. // Windows 95/98: Unsupported. // Windows CE: Unsupported. // Header: Declared in sfc.h. // Import Library: Use sfc.lib. // // See Also: // // SfcIsFileProtected //
if ( ( a_SfcGetNextProtectedFile = GetProcAddress( hSFC, "SfcGetNextProtectedFile")) == NULL) { FreeLibrary( hSFC) ; printf( "Error: Api SfcGetNextProtectedFile not found\n\n", argv[ 0]) ; return -1 ; }
printf( "List of protected files:\n\n") ;
pfd.FileNumber = 0 ;
while( SfcGetNextProtectedFile( NULL, &pfd) != 0) { printf( "%ws\n", &pfd.FileName) ;
} }
FreeLibrary( hSFC) ; return 0; }
(出处:http://www.yxdoor.com)
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页
|
|
| 教程录入:yxdoor 责任编辑:yxdoor |
上一篇教程: 安全隐患来自内部
下一篇教程: 彻底隐藏文件之最经典操作 |
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |