316 lines
10 KiB
Plaintext
316 lines
10 KiB
Plaintext
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "winres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_DIALOG DIALOG DISCARDABLE 0, 0, 307, 151
|
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP |
|
|
WS_CAPTION | WS_SYSMENU
|
|
CAPTION "File Signature Verification"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "To help maintain the integrity of your system, critical files have been digitally signed so that any changes to these files can be quickly detected.",
|
|
IDC_TEXT,119,7,179,33
|
|
CONTROL "",IDC_PROGRESS,"progress",NOT WS_VISIBLE | WS_BORDER |
|
|
WS_TABSTOP,119,107,178,14
|
|
DEFPUSHBUTTON "&Start",ID_START,140,129,50,14
|
|
PUSHBUTTON "&Close",IDCANCEL,194,129,50,14
|
|
PUSHBUTTON "&Advanced",ID_ADVANCED,248,129,50,14
|
|
LTEXT "Click Advanced to customize verification options.\nClick Start to check for any system files that are not digitally signed.",
|
|
IDC_INFOTEXT,119,48,179,34
|
|
LTEXT "",IDC_STATUS,119,94,179,8
|
|
CONTROL IDI_ICON1,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,
|
|
6,7,103,115
|
|
END
|
|
|
|
IDD_RESULTS DIALOG DISCARDABLE 0, 0, 320, 193
|
|
STYLE DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_MAXIMIZEBOX | WS_POPUP |
|
|
WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
|
CAPTION "Signature Verification Results"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "The following files have not been digitally signed:",
|
|
IDC_RESULTSTEXT,6,6,307,14
|
|
PUSHBUTTON "&Close",IDCANCEL,0,0,50,14
|
|
END
|
|
|
|
IDD_SETTINGS DIALOG DISCARDABLE 0, 0, 209, 119
|
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP |
|
|
WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Log Settings"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "&Save the file signature verification results to a log file.",
|
|
IDC_ENABLELOG,"Button",BS_AUTOCHECKBOX | BS_MULTILINE |
|
|
WS_TABSTOP,7,10,195,10
|
|
CONTROL "&Append to existing log file.",IDC_APPEND,"Button",
|
|
BS_AUTORADIOBUTTON,20,41,178,10
|
|
CONTROL "&Overwrite existing log file.",IDC_OVERWRITE,"Button",
|
|
BS_AUTORADIOBUTTON,20,54,178,10
|
|
PUSHBUTTON "&View Log",IDC_VIEWLOG,141,79,50,14
|
|
LTEXT "&Log file name:",IDC_STATIC,22,68,93,8
|
|
EDITTEXT IDC_LOGNAME,22,80,108,12,ES_AUTOHSCROLL
|
|
GROUPBOX "Logging options",IDC_STATIC,7,25,195,80
|
|
END
|
|
|
|
IDD_SEARCH DIALOG DISCARDABLE 0, 0, 216, 130
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Search Options"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "&Notify me if any system files are not signed.",
|
|
IDC_SCAN,"Button",BS_AUTORADIOBUTTON,7,8,202,10
|
|
CONTROL "&Look for other files that are not digitally signed.",
|
|
IDC_NOTMS,"Button",BS_AUTORADIOBUTTON,7,21,202,10
|
|
LTEXT "Scan this file &type:",IDC_STATIC,22,47,152,10
|
|
COMBOBOX IDC_TYPE,22,58,108,106,CBS_DROPDOWN | CBS_SORT |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Look in this &folder:",IDC_STATIC,22,76,174,10
|
|
EDITTEXT IDC_FOLDER,22,88,108,12,ES_AUTOHSCROLL
|
|
CONTROL "&Include subfolders.",IDC_SUBFOLDERS,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,22,106,75,10
|
|
PUSHBUTTON "&Browse...",ID_BROWSE,141,87,50,14
|
|
GROUPBOX "Search options",IDC_STATIC,7,35,195,88
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 298
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 143
|
|
END
|
|
|
|
IDD_RESULTS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 313
|
|
TOPMARGIN, 6
|
|
BOTTOMMARGIN, 186
|
|
END
|
|
|
|
IDD_SETTINGS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 202
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 112
|
|
END
|
|
|
|
IDD_SEARCH, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 209
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 123
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_ICON1 ICON DISCARDABLE "sigverif.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog Info
|
|
//
|
|
|
|
IDD_SEARCH DLGINIT
|
|
BEGIN
|
|
IDC_TYPE, 0x403, 1, 0
|
|
"\000"
|
|
0
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Bitmap
|
|
//
|
|
|
|
IDB_BITMAP1 BITMAP DISCARDABLE "siglogo.bmp"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_COL_NAME "Name"
|
|
IDS_COL_FOLDER "In Folder"
|
|
IDS_COL_TYPE "File Type"
|
|
IDS_COL_VERSION "Version"
|
|
IDS_COL_SIGNEDBY "Signed By"
|
|
IDS_COL_DATE "Modified"
|
|
IDS_NOPROBLEMS "Your system files have been scanned and no problems were encountered."
|
|
IDS_ALLSIGNED "Your files have been scanned and verified as digitally signed."
|
|
IDS_MSGBOX "SigVerif"
|
|
IDS_ERRORBOX "SigVerif Error"
|
|
IDS_NUMFILES "Files found: %d. Signed files: %d. Unsigned files: %d. Files not scanned: %d."
|
|
IDS_SIGNED "Signed"
|
|
IDS_NOTSIGNED "Not Signed"
|
|
IDS_FILENOTINSTALLED "The file is not installed.\r\n"
|
|
IDS_INVALID_FOLDER "The folder location you entered is invalid, please use a different folder."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_NOFILES "No files were found. Try changing your search pattern."
|
|
IDS_STOP "&Stop"
|
|
IDS_START "&Start"
|
|
IDS_ALL "*.*"
|
|
IDS_EXE "*.exe"
|
|
IDS_SYS "*.sys"
|
|
IDS_OCX "*.ocx"
|
|
IDS_DLL "*.dll"
|
|
IDS_DRV "*.drv"
|
|
IDS_BADDIR "The selected directory is invalid."
|
|
IDS_SELECTDIR "Please select a directory."
|
|
IDS_SCANSTOPPED "The file scan was terminated."
|
|
IDS_NOVERSION "None"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_LOGNAME "SIGVERIF.TXT"
|
|
IDS_BADLOGNAME "The specified filename is invalid. Please try another name."
|
|
IDS_CANTOPENLOGFILE "Unable to open log file."
|
|
IDS_LOGERROR "Sigverif encountered the following error while logging the file scan results:\r\n\r\n"
|
|
IDS_BUILDLISTERROR "Sigverif encountered the following error while building the list of files to scan:\r\n\r\n"
|
|
IDS_LOGDIRERROR "The /LOGDIR command line argument is invalid."
|
|
IDS_FULLSCANERROR "The /FULLSCAN command line argument is invalid."
|
|
IDS_LOGHEADER1 "********************************\r\n\r\nMicrosoft Signature Verification\r\n"
|
|
IDS_LOGHEADER2 "\r\nLog file generated on %s at %s\r\n"
|
|
IDS_LOGHEADER3 "User-specified search path: %s\r\n"
|
|
IDS_LOGHEADER4 "User-specified search pattern: %s\r\n\r\n"
|
|
IDS_LOGHEADER5 "File Modified Version Status Catalog Signed By\r\n"
|
|
IDS_LOGHEADER6 "------------------ ------------ ----------- ------------ ----------- -------------------\r\n"
|
|
IDS_LOGHEADER7 "\r\nUnscanned Files:\r\n"
|
|
IDS_DIR "[%s]\r\n"
|
|
IDS_VERSION "%d.%d.%d.%d"
|
|
IDS_STRING "%-20.20s"
|
|
IDS_OSPLATFORM "OS Platform: "
|
|
IDS_OSVERSION ", Version: %d.%d, Build: %d, CSDVersion: %s\r\n"
|
|
IDS_WINNT "Windows"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_UNKNOWN "Unknown"
|
|
IDS_NA "N/A"
|
|
IDS_LINEFEED "\r\n"
|
|
IDS_SPACES " "
|
|
IDS_FILETYPE "%s File"
|
|
IDS_FILE "File"
|
|
IDS_NOSYSTEMFILES "No system files were found."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_COPYFILES "CopyFiles"
|
|
IDS_MASTERFILELIST "MasterFileList"
|
|
IDS_LOGHEADER8 "------------------\r\n"
|
|
IDS_STRING_LINEFEED "%s\r\n"
|
|
IDS_TOTALS "Scan Results: Total Files: %d, Signed: %d, Unsigned: %d, Not Scanned: %d\r\n\r\n"
|
|
IDS_SIGVERIF "File Signature Verification"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_STRING2 "%-10.10s"
|
|
IDS_STATUS_BUILD "Building file list..."
|
|
IDS_STATUS_FREE "Freeing file list..."
|
|
IDS_STATUS_LOG "Writing log file..."
|
|
IDS_STATUS_SCAN "Scanning files..."
|
|
IDS_ADVANCED_SETTINGS "Advanced File Signature Verification Settings"
|
|
IDS_SEARCHTAB "Search"
|
|
IDS_LOGGINGTAB "Logging"
|
|
IDS_X86 " (x86)"
|
|
IDS_IA64 " (ia64)"
|
|
IDS_FULLSCAN "/FULLSCAN"
|
|
IDS_DEFSCAN "/DEFSCAN"
|
|
IDS_LOGDIR "/LOGDIR"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|