mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
iis: Removes the installer helper dependency
Now using appcmd directly with WiX instead of calling the installer helper.
This commit is contained in:
committed by
Felipe Zimmerle
parent
550d5aae21
commit
1a12648c9f
File diff suppressed because it is too large
Load Diff
@@ -1,96 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}</ProjectGuid>
|
|
||||||
<Keyword>Win32Proj</Keyword>
|
|
||||||
<RootNamespace>Installer</RootNamespace>
|
|
||||||
<ProjectName>InstallerHelper</ProjectName>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
|
||||||
<UseOfMfc>Static</UseOfMfc>
|
|
||||||
<PlatformToolset>v120</PlatformToolset>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
||||||
<ImportGroup Label="ExtensionSettings">
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Label="UserMacros" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
||||||
<LinkIncremental>true</LinkIncremental>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<Optimization>Disabled</Optimization>
|
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<PrecompiledHeaderFile>
|
|
||||||
</PrecompiledHeaderFile>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Console</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Console</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalDependencies>ole32.lib;oleaut32.lib;advapi32.lib</AdditionalDependencies>
|
|
||||||
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="ReadMe.txt" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="targetver.h" />
|
|
||||||
<ClInclude Include="XUnzip.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="Installer.cpp" />
|
|
||||||
<ClCompile Include="XUnzip.cpp" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
||||||
<ImportGroup Label="ExtensionTargets">
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
@@ -1,36 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<Filter Include="Source Files">
|
|
||||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
||||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Header Files">
|
|
||||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
|
||||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Resource Files">
|
|
||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
|
||||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="ReadMe.txt" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="targetver.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="XUnzip.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="Installer.cpp">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="XUnzip.cpp">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
File diff suppressed because it is too large
Load Diff
@@ -1,382 +0,0 @@
|
|||||||
// XUnzip.h Version 1.3
|
|
||||||
//
|
|
||||||
// Authors: Mark Adler et al. (see below)
|
|
||||||
//
|
|
||||||
// Modified by: Lucian Wischik
|
|
||||||
// lu@wischik.com
|
|
||||||
//
|
|
||||||
// Version 1.0 - Turned C files into just a single CPP file
|
|
||||||
// - Made them compile cleanly as C++ files
|
|
||||||
// - Gave them simpler APIs
|
|
||||||
// - Added the ability to zip/unzip directly in memory without
|
|
||||||
// any intermediate files
|
|
||||||
//
|
|
||||||
// Modified by: Hans Dietrich
|
|
||||||
// hdietrich@gmail.com
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Lucian Wischik's comments:
|
|
||||||
// --------------------------
|
|
||||||
// THIS FILE is almost entirely based upon code by info-zip.
|
|
||||||
// It has been modified by Lucian Wischik.
|
|
||||||
// The original code may be found at http://www.info-zip.org
|
|
||||||
// The original copyright text follows.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Original authors' comments:
|
|
||||||
// ---------------------------
|
|
||||||
// This is version 2002-Feb-16 of the Info-ZIP copyright and license. The
|
|
||||||
// definitive version of this document should be available at
|
|
||||||
// ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely.
|
|
||||||
//
|
|
||||||
// Copyright (c) 1990-2002 Info-ZIP. All rights reserved.
|
|
||||||
//
|
|
||||||
// For the purposes of this copyright and license, "Info-ZIP" is defined as
|
|
||||||
// the following set of individuals:
|
|
||||||
//
|
|
||||||
// Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,
|
|
||||||
// Jean-loup Gailly, Hunter Goatley, Ian Gorman, Chris Herborth, Dirk Haase,
|
|
||||||
// Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,
|
|
||||||
// David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko,
|
|
||||||
// Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs,
|
|
||||||
// Kai Uwe Rommel, Steve Salisbury, Dave Smith, Christian Spieler,
|
|
||||||
// Antoine Verheijen, Paul von Behren, Rich Wales, Mike White
|
|
||||||
//
|
|
||||||
// This software is provided "as is", without warranty of any kind, express
|
|
||||||
// or implied. In no event shall Info-ZIP or its contributors be held liable
|
|
||||||
// for any direct, indirect, incidental, special or consequential damages
|
|
||||||
// arising out of the use of or inability to use this software.
|
|
||||||
//
|
|
||||||
// Permission is granted to anyone to use this software for any purpose,
|
|
||||||
// including commercial applications, and to alter it and redistribute it
|
|
||||||
// freely, subject to the following restrictions:
|
|
||||||
//
|
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
|
||||||
// definition, disclaimer, and this list of conditions.
|
|
||||||
//
|
|
||||||
// 2. Redistributions in binary form (compiled executables) must reproduce
|
|
||||||
// the above copyright notice, definition, disclaimer, and this list of
|
|
||||||
// conditions in documentation and/or other materials provided with the
|
|
||||||
// distribution. The sole exception to this condition is redistribution
|
|
||||||
// of a standard UnZipSFX binary as part of a self-extracting archive;
|
|
||||||
// that is permitted without inclusion of this license, as long as the
|
|
||||||
// normal UnZipSFX banner has not been removed from the binary or disabled.
|
|
||||||
//
|
|
||||||
// 3. Altered versions--including, but not limited to, ports to new
|
|
||||||
// operating systems, existing ports with new graphical interfaces, and
|
|
||||||
// dynamic, shared, or static library versions--must be plainly marked
|
|
||||||
// as such and must not be misrepresented as being the original source.
|
|
||||||
// Such altered versions also must not be misrepresented as being
|
|
||||||
// Info-ZIP releases--including, but not limited to, labeling of the
|
|
||||||
// altered versions with the names "Info-ZIP" (or any variation thereof,
|
|
||||||
// including, but not limited to, different capitalizations),
|
|
||||||
// "Pocket UnZip", "WiZ" or "MacZip" without the explicit permission of
|
|
||||||
// Info-ZIP. Such altered versions are further prohibited from
|
|
||||||
// misrepresentative use of the Zip-Bugs or Info-ZIP e-mail addresses or
|
|
||||||
// of the Info-ZIP URL(s).
|
|
||||||
//
|
|
||||||
// 4. Info-ZIP retains the right to use the names "Info-ZIP", "Zip", "UnZip",
|
|
||||||
// "UnZipSFX", "WiZ", "Pocket UnZip", "Pocket Zip", and "MacZip" for its
|
|
||||||
// own source and binary releases.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef XUNZIP_H
|
|
||||||
#define XUNZIP_H
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef XZIP_H
|
|
||||||
DECLARE_HANDLE(HZIP); // An HZIP identifies a zip file that has been opened
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef DWORD ZRESULT;
|
|
||||||
// return codes from any of the zip functions. Listed later.
|
|
||||||
|
|
||||||
#define ZIP_HANDLE 1
|
|
||||||
#define ZIP_FILENAME 2
|
|
||||||
#define ZIP_MEMORY 3
|
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{ int index; // index of this file within the zip
|
|
||||||
char name[MAX_PATH]; // filename within the zip
|
|
||||||
DWORD attr; // attributes, as in GetFileAttributes.
|
|
||||||
FILETIME atime,ctime,mtime;// access, create, modify filetimes
|
|
||||||
long comp_size; // sizes of item, compressed and uncompressed. These
|
|
||||||
long unc_size; // may be -1 if not yet known (e.g. being streamed in)
|
|
||||||
} ZIPENTRY;
|
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{ int index; // index of this file within the zip
|
|
||||||
TCHAR name[MAX_PATH]; // filename within the zip
|
|
||||||
DWORD attr; // attributes, as in GetFileAttributes.
|
|
||||||
FILETIME atime,ctime,mtime;// access, create, modify filetimes
|
|
||||||
long comp_size; // sizes of item, compressed and uncompressed. These
|
|
||||||
long unc_size; // may be -1 if not yet known (e.g. being streamed in)
|
|
||||||
} ZIPENTRYW;
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// OpenZip()
|
|
||||||
//
|
|
||||||
// Purpose: Open an existing zip archive file
|
|
||||||
//
|
|
||||||
// Parameters: z - archive file name if flags is ZIP_FILENAME; for other
|
|
||||||
// uses see below
|
|
||||||
// len - for memory (ZIP_MEMORY) should be the buffer size;
|
|
||||||
// for other uses, should be 0
|
|
||||||
// flags - indicates usage, see below; for files, this will be
|
|
||||||
// ZIP_FILENAME
|
|
||||||
//
|
|
||||||
// Returns: HZIP - non-zero if zip archive opened ok, otherwise 0
|
|
||||||
//
|
|
||||||
HZIP OpenZip(void *rd, void *z, unsigned int len, DWORD flags);
|
|
||||||
// OpenZip - opens a zip file and returns a handle with which you can
|
|
||||||
// subsequently examine its contents. You can open a zip file from:
|
|
||||||
// from a pipe: OpenZip(hpipe_read,0, ZIP_HANDLE);
|
|
||||||
// from a file (by handle): OpenZip(hfile,0, ZIP_HANDLE);
|
|
||||||
// from a file (by name): OpenZip("c:\\test.zip",0, ZIP_FILENAME);
|
|
||||||
// from a memory block: OpenZip(bufstart, buflen, ZIP_MEMORY);
|
|
||||||
// If the file is opened through a pipe, then items may only be
|
|
||||||
// accessed in increasing order, and an item may only be unzipped once,
|
|
||||||
// although GetZipItem can be called immediately before and after unzipping
|
|
||||||
// it. If it's opened i n any other way, then full random access is possible.
|
|
||||||
// Note: pipe input is not yet implemented.
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// GetZipItem()
|
|
||||||
//
|
|
||||||
// Purpose: Get information about an item in an open zip archive
|
|
||||||
//
|
|
||||||
// Parameters: hz - handle of open zip archive
|
|
||||||
// index - index number (0 based) of item in zip
|
|
||||||
// ze - pointer to a ZIPENTRY (if ANSI) or ZIPENTRYW struct
|
|
||||||
// (if Unicode)
|
|
||||||
//
|
|
||||||
// Returns: ZRESULT - ZR_OK if success, otherwise some other value
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifdef _UNICODE
|
|
||||||
#define GetZipItem GetZipItemW
|
|
||||||
#else
|
|
||||||
#define GetZipItem GetZipItemA
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ZRESULT GetZipItemA(HZIP hz, int index, ZIPENTRY *ze);
|
|
||||||
ZRESULT GetZipItemW(HZIP hz, int index, ZIPENTRYW *ze);
|
|
||||||
// GetZipItem - call this to get information about an item in the zip.
|
|
||||||
// If index is -1 and the file wasn't opened through a pipe,
|
|
||||||
// then it returns information about the whole zipfile
|
|
||||||
// (and in particular ze.index returns the number of index items).
|
|
||||||
// Note: the item might be a directory (ze.attr & FILE_ATTRIBUTE_DIRECTORY)
|
|
||||||
// See below for notes on what happens when you unzip such an item.
|
|
||||||
// Note: if you are opening the zip through a pipe, then random access
|
|
||||||
// is not possible and GetZipItem(-1) fails and you can't discover the number
|
|
||||||
// of items except by calling GetZipItem on each one of them in turn,
|
|
||||||
// starting at 0, until eventually the call fails. Also, in the event that
|
|
||||||
// you are opening through a pipe and the zip was itself created into a pipe,
|
|
||||||
// then then comp_size and sometimes unc_size as well may not be known until
|
|
||||||
// after the item has been unzipped.
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// FindZipItem()
|
|
||||||
//
|
|
||||||
// Purpose: Find item by name and return information about it
|
|
||||||
//
|
|
||||||
// Parameters: hz - handle of open zip archive
|
|
||||||
// name - name of file to look for inside zip archive
|
|
||||||
// ic - TRUE = case insensitive
|
|
||||||
// index - pointer to index number returned, or -1
|
|
||||||
// ze - pointer to a ZIPENTRY (if ANSI) or ZIPENTRYW struct
|
|
||||||
// (if Unicode)
|
|
||||||
//
|
|
||||||
// Returns: ZRESULT - ZR_OK if success, otherwise some other value
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifdef _UNICODE
|
|
||||||
#define FindZipItem FindZipItemW
|
|
||||||
#else
|
|
||||||
#define FindZipItem FindZipItemA
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ZRESULT FindZipItemA(HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRY *ze);
|
|
||||||
ZRESULT FindZipItemW(HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRYW *ze);
|
|
||||||
// FindZipItem - finds an item by name. ic means 'insensitive to case'.
|
|
||||||
// It returns the index of the item, and returns information about it.
|
|
||||||
// If nothing was found, then index is set to -1 and the function returns
|
|
||||||
// an error code.
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// UnzipItem()
|
|
||||||
//
|
|
||||||
// Purpose: Find item by index and unzip it
|
|
||||||
//
|
|
||||||
// Parameters: hz - handle of open zip archive
|
|
||||||
// index - index number of file to unzip
|
|
||||||
// dst - target file name of unzipped file
|
|
||||||
// len - for memory (ZIP_MEMORY. length of buffer;
|
|
||||||
// otherwise 0
|
|
||||||
// flags - indicates usage, see below; for files, this will be
|
|
||||||
// ZIP_FILENAME
|
|
||||||
//
|
|
||||||
// Returns: ZRESULT - ZR_OK if success, otherwise some other value
|
|
||||||
//
|
|
||||||
|
|
||||||
ZRESULT UnzipItem(HZIP hz, int index, void *dst, unsigned int len, DWORD flags);
|
|
||||||
// UnzipItem - given an index to an item, unzips it. You can unzip to:
|
|
||||||
// to a pipe: UnzipItem(hz,i, hpipe_write,0,ZIP_HANDLE);
|
|
||||||
// to a file (by handle): UnzipItem(hz,i, hfile,0,ZIP_HANDLE);
|
|
||||||
// to a file (by name): UnzipItem(hz,i, ze.name,0,ZIP_FILENAME);
|
|
||||||
// to a memory block: UnzipItem(hz,i, buf,buflen,ZIP_MEMORY);
|
|
||||||
// In the final case, if the buffer isn't large enough to hold it all,
|
|
||||||
// then the return code indicates that more is yet to come. If it was
|
|
||||||
// large enough, and you want to know precisely how big, GetZipItem.
|
|
||||||
// Note: zip files are normally stored with relative pathnames. If you
|
|
||||||
// unzip with ZIP_FILENAME a relative pathname then the item gets created
|
|
||||||
// relative to the current directory - it first ensures that all necessary
|
|
||||||
// subdirectories have been created. Also, the item may itself be a directory.
|
|
||||||
// If you unzip a directory with ZIP_FILENAME, then the directory gets created.
|
|
||||||
// If you unzip it to a handle or a memory block, then nothing gets created
|
|
||||||
// and it emits 0 bytes.
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// CloseZip()
|
|
||||||
//
|
|
||||||
// Purpose: Close an open zip archive
|
|
||||||
//
|
|
||||||
// Parameters: hz - handle to an open zip archive
|
|
||||||
//
|
|
||||||
// Returns: ZRESULT - ZR_OK if success, otherwise some other value
|
|
||||||
//
|
|
||||||
ZRESULT CloseZip(HZIP hz);
|
|
||||||
// CloseZip - the zip handle must be closed with this function.
|
|
||||||
|
|
||||||
unsigned int FormatZipMessage(ZRESULT code, char *buf,unsigned int len);
|
|
||||||
// FormatZipMessage - given an error code, formats it as a string.
|
|
||||||
// It returns the length of the error message. If buf/len points
|
|
||||||
// to a real buffer, then it also writes as much as possible into there.
|
|
||||||
|
|
||||||
|
|
||||||
// These are the result codes:
|
|
||||||
#define ZR_OK 0x00000000 // nb. the pseudo-code zr-recent is never returned,
|
|
||||||
#define ZR_RECENT 0x00000001 // but can be passed to FormatZipMessage.
|
|
||||||
// The following come from general system stuff (e.g. files not openable)
|
|
||||||
#define ZR_GENMASK 0x0000FF00
|
|
||||||
#define ZR_NODUPH 0x00000100 // couldn't duplicate the handle
|
|
||||||
#define ZR_NOFILE 0x00000200 // couldn't create/open the file
|
|
||||||
#define ZR_NOALLOC 0x00000300 // failed to allocate some resource
|
|
||||||
#define ZR_WRITE 0x00000400 // a general error writing to the file
|
|
||||||
#define ZR_NOTFOUND 0x00000500 // couldn't find that file in the zip
|
|
||||||
#define ZR_MORE 0x00000600 // there's still more data to be unzipped
|
|
||||||
#define ZR_CORRUPT 0x00000700 // the zipfile is corrupt or not a zipfile
|
|
||||||
#define ZR_READ 0x00000800 // a general error reading the file
|
|
||||||
// The following come from mistakes on the part of the caller
|
|
||||||
#define ZR_CALLERMASK 0x00FF0000
|
|
||||||
#define ZR_ARGS 0x00010000 // general mistake with the arguments
|
|
||||||
#define ZR_NOTMMAP 0x00020000 // tried to ZipGetMemory, but that only works on mmap zipfiles, which yours wasn't
|
|
||||||
#define ZR_MEMSIZE 0x00030000 // the memory size is too small
|
|
||||||
#define ZR_FAILED 0x00040000 // the thing was already failed when you called this function
|
|
||||||
#define ZR_ENDED 0x00050000 // the zip creation has already been closed
|
|
||||||
#define ZR_MISSIZE 0x00060000 // the indicated input file size turned out mistaken
|
|
||||||
#define ZR_PARTIALUNZ 0x00070000 // the file had already been partially unzipped
|
|
||||||
#define ZR_ZMODE 0x00080000 // tried to mix creating/opening a zip
|
|
||||||
// The following come from bugs within the zip library itself
|
|
||||||
#define ZR_BUGMASK 0xFF000000
|
|
||||||
#define ZR_NOTINITED 0x01000000 // initialisation didn't work
|
|
||||||
#define ZR_SEEK 0x02000000 // trying to seek in an unseekable file
|
|
||||||
#define ZR_NOCHANGE 0x04000000 // changed its mind on storage, but not allowed
|
|
||||||
#define ZR_FLATE 0x05000000 // an internal error in the de/inflation code
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// e.g.
|
|
||||||
//
|
|
||||||
// SetCurrentDirectory("c:\\docs\\stuff");
|
|
||||||
// HZIP hz = OpenZip("c:\\stuff.zip",0,ZIP_FILENAME);
|
|
||||||
// ZIPENTRY ze; GetZipItem(hz,-1,&ze); int numitems=ze.index;
|
|
||||||
// for (int i=0; i<numitems; i++)
|
|
||||||
// { GetZipItem(hz,i,&ze);
|
|
||||||
// UnzipItem(hz,i,ze.name,0,ZIP_FILENAME);
|
|
||||||
// }
|
|
||||||
// CloseZip(hz);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// HRSRC hrsrc = FindResource(hInstance,MAKEINTRESOURCE(1),RT_RCDATA);
|
|
||||||
// HANDLE hglob = LoadResource(hInstance,hrsrc);
|
|
||||||
// void *zipbuf=LockResource(hglob);
|
|
||||||
// unsigned int ziplen=SizeofResource(hInstance,hrsrc);
|
|
||||||
// HZIP hz = OpenZip(zipbuf, ziplen, ZIP_MEMORY);
|
|
||||||
// - unzip to a membuffer -
|
|
||||||
// ZIPENTRY ze; int i; FindZipItem(hz,"file.dat",&i,&ze);
|
|
||||||
// char *ibuf = new char[ze.unc_size];
|
|
||||||
// UnzipItem(hz,i, ibuf, ze.unc_size,ZIP_MEMORY);
|
|
||||||
// delete[] buf;
|
|
||||||
// - unzip to a fixed membuff -
|
|
||||||
// ZIPENTRY ze; int i; FindZipItem(hz,"file.dat",&i,&ze);
|
|
||||||
// char ibuf[1024]; ZIPRESULT zr=ZR_MORE; unsigned long totsize=0;
|
|
||||||
// while (zr==ZR_MORE)
|
|
||||||
// { zr = UnzipItem(hz,i, ibuf,1024,ZIP_MEMORY);
|
|
||||||
// unsigned long bufsize=1024; if (zr==ZR_OK) bufsize=ze.unc_size-totsize;
|
|
||||||
// totsize+=bufsize;
|
|
||||||
// }
|
|
||||||
// - unzip to a pipe -
|
|
||||||
// HANDLE hthread=CreateWavReaderThread(&hread,&hwrite);
|
|
||||||
// FindZipItem(hz,"sound.wav",&i,&ze);
|
|
||||||
// UnzipItem(hz,i, hwrite,0,ZIP_HANDLE);
|
|
||||||
// CloseHandle(hwrite);
|
|
||||||
// WaitForSingleObject(hthread,INFINITE);
|
|
||||||
// CloseHandle(hread); CloseHandle(hthread);
|
|
||||||
// - finished -
|
|
||||||
// CloseZip(hz);
|
|
||||||
// // note: no need to free resources obtained through Find/Load/LockResource
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SetCurrentDirectory("c:\\docs\\pipedzipstuff");
|
|
||||||
// HANDLE hread,hwrite; CreatePipe(&hread,&hwrite);
|
|
||||||
// CreateZipWriterThread(hwrite);
|
|
||||||
// HZIP hz = OpenZip(hread,0,ZIP_HANDLE);
|
|
||||||
// for (int i=0; ; i++)
|
|
||||||
// { ZIPENTRY ze; ZRESULT res = GetZipItem(hz,i,&ze);
|
|
||||||
// if (res!=ZE_OK) break; // no more
|
|
||||||
// UnzipItem(hz,i, ze.name,0,ZIP_FILENAME);
|
|
||||||
// }
|
|
||||||
// CloseZip(hz);
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Now we indulge in a little skullduggery so that the code works whether
|
|
||||||
// the user has included just zip or both zip and unzip.
|
|
||||||
// Idea: if header files for both zip and unzip are present, then presumably
|
|
||||||
// the cpp files for zip and unzip are both present, so we will call
|
|
||||||
// one or the other of them based on a dynamic choice. If the header file
|
|
||||||
// for only one is present, then we will bind to that particular one.
|
|
||||||
HZIP OpenZipU(void *rd, void *z,unsigned int len,DWORD flags);
|
|
||||||
ZRESULT CloseZipU(HZIP hz);
|
|
||||||
unsigned int FormatZipMessageU(ZRESULT code, char *buf,unsigned int len);
|
|
||||||
bool IsZipHandleU(HZIP hz);
|
|
||||||
#define OpenZip OpenZipU
|
|
||||||
|
|
||||||
#ifdef XZIP_H
|
|
||||||
#undef CloseZip
|
|
||||||
#define CloseZip(hz) (IsZipHandleU(hz)?CloseZipU(hz):CloseZipZ(hz))
|
|
||||||
#else
|
|
||||||
#define CloseZip CloseZipU
|
|
||||||
#define FormatZipMessage FormatZipMessageU
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#endif //XUNZIP_H
|
|
@@ -1,8 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// Including SDKDDKVer.h defines the highest available Windows platform.
|
|
||||||
|
|
||||||
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
|
|
||||||
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
|
|
||||||
|
|
||||||
#include <SDKDDKVer.h>
|
|
@@ -5,8 +5,6 @@ VisualStudioVersion = 12.0.21005.1
|
|||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModSecurityIIS", "ModSecurityIIS.vcxproj", "{D1F7201F-064B-48AB-868C-FED22464841C}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModSecurityIIS", "ModSecurityIIS.vcxproj", "{D1F7201F-064B-48AB-868C-FED22464841C}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InstallerHelper", "InstallerHelper\InstallerHelper.vcxproj", "{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}"
|
|
||||||
EndProject
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Mixed Platforms = Debug|Mixed Platforms
|
Debug|Mixed Platforms = Debug|Mixed Platforms
|
||||||
@@ -34,20 +32,6 @@ Global
|
|||||||
{D1F7201F-064B-48AB-868C-FED22464841C}.Release|x64.Build.0 = Release|x64
|
{D1F7201F-064B-48AB-868C-FED22464841C}.Release|x64.Build.0 = Release|x64
|
||||||
{D1F7201F-064B-48AB-868C-FED22464841C}.Release|x86.ActiveCfg = Release|Win32
|
{D1F7201F-064B-48AB-868C-FED22464841C}.Release|x86.ActiveCfg = Release|Win32
|
||||||
{D1F7201F-064B-48AB-868C-FED22464841C}.Release|x86.Build.0 = Release|Win32
|
{D1F7201F-064B-48AB-868C-FED22464841C}.Release|x86.Build.0 = Release|Win32
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Debug|Mixed Platforms.Build.0 = Debug|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Debug|x64.ActiveCfg = Debug|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Debug|x86.ActiveCfg = Debug|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Debug|x86.Build.0 = Debug|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Release|Mixed Platforms.ActiveCfg = Release|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Release|Mixed Platforms.Build.0 = Release|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Release|x64.ActiveCfg = Release|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Release|x86.ActiveCfg = Release|Win32
|
|
||||||
{990BB195-6716-4DE3-B5E4-DCFCB1BD7D9C}.Release|x86.Build.0 = Release|Win32
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
@@ -113,8 +113,9 @@
|
|||||||
<Link>
|
<Link>
|
||||||
<ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile>
|
<ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);libapr-1.lib;libaprutil-1.lib;pcre.lib;libxml2.lib</AdditionalDependencies>
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);dependencies\build_dir\apache24\lib\libapr-1.lib;dependencies\build_dir\apache24\lib\libaprutil-1.lib;dependencies\build_dir\pcre\pcre.lib;dependencies\build_dir\libxml2\win32\bin.msvc\libxml2.lib</AdditionalDependencies>
|
||||||
<AdditionalLibraryDirectories>c:\drop\amd64</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>C:\core__\ModSecurity\iis\release\x64</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalOptions> /LIBPATH:"C:\core__\ModSecurity\iis\release\x64" %(AdditionalOptions)</AdditionalOptions>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>
|
<Command>
|
||||||
@@ -129,7 +130,7 @@
|
|||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile>
|
<ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile>
|
||||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);dependencies\build_dir\pcre\pcre.lib;dependencies\build_dir\libxml2\win32\bin.msvc\libxml2.lib</AdditionalDependencies>
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);dependencies\build_dir\apache24\lib\libapr-1.lib;dependencies\build_dir\apache24\lib\libaprutil-1.lib;dependencies\build_dir\pcre\pcre.lib;dependencies\build_dir\libxml2\win32\bin.msvc\libxml2.lib</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>
|
<Command>
|
||||||
@@ -140,13 +141,14 @@
|
|||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);WIN32;WINNT;inline=APR_INLINE;AP_DECLARE_STATIC</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);WIN32;WINNT;inline=APR_INLINE;AP_DECLARE_STATIC</PreprocessorDefinitions>
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
<AdditionalIncludeDirectories>dependencies\build_dir\pcre\include;dependencies\build_dir\pcre;dependencies\build_dir\libxml2\include;..\apache2;..\standalone</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>dependencies\build_dir\pcre\include;dependencies\build_dir\pcre;dependencies\build_dir\libxml2\include;..\apache2;..\standalone;dependencies\build_dir\apache24\include</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile>
|
<ModuleDefinitionFile>mymodule.def</ModuleDefinitionFile>
|
||||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);libapr-1.lib;libaprutil-1.lib;pcre.lib;libxml2.lib</AdditionalDependencies>
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies);dependencies\build_dir\apache24\lib\libapr-1.lib;dependencies\build_dir\apache24\lib\libaprutil-1.lib;dependencies\build_dir\pcre\pcre.lib;dependencies\build_dir\libxml2\win32\bin.msvc\libxml2.lib</AdditionalDependencies>
|
||||||
<AdditionalLibraryDirectories>c:\drop\amd64</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
</AdditionalLibraryDirectories>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>
|
<Command>
|
||||||
|
@@ -1,14 +1,20 @@
|
|||||||
|
|
||||||
set WIX=C:\Program Files (x86)\WixEdit\wix-3.0.5419.0\
|
set WIX=C:\Program Files (x86)\WiX Toolset v3.7\bin
|
||||||
set CURRENT_DIR=%cd%
|
set CURRENT_DIR=%cd%
|
||||||
|
|
||||||
del installer.wix*
|
del installer.wix*
|
||||||
|
|
||||||
"%WIX%\candle.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wxs" -out "%CURRENT_DIR%\installer.wixobj"
|
"%WIX%\candle.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wxs" -out "%CURRENT_DIR%\installer.wixobj" -dPlatform="x64"
|
||||||
|
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
||||||
|
|
||||||
"%WIX%\light.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wixobj" -out "%CURRENT_DIR%\installer.msi"
|
"%WIX%\light.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wixobj" -out "%CURRENT_DIR%\installer-64.msi" -dPlatform="x64"
|
||||||
|
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
||||||
|
|
||||||
|
"%WIX%\candle.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wxs" -out "%CURRENT_DIR%\installer.wixobj" -dPlatform="x86"
|
||||||
|
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
||||||
|
|
||||||
|
"%WIX%\light.exe" -ext WixUtilExtension -ext WixUIExtension "%CURRENT_DIR%\installer.wixobj" -out "%CURRENT_DIR%\installer-32.msi" -dPlatform="x86"
|
||||||
|
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
||||||
|
|
||||||
exit /B 0
|
exit /B 0
|
||||||
|
|
||||||
|
@@ -1,49 +1,669 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
<!--
|
||||||
|
# This comment is generated by WixEdit, the specific commandline
|
||||||
|
# arguments for the WiX Toolset are stored here.
|
||||||
|
|
||||||
|
candleArgs: -nologo "<projectfile>" -out "<projectname>.wixobj" -ext WixUtilExtension -ext WixUIExtension -dPlatform="x64"
|
||||||
|
lightArgs:
|
||||||
|
-->
|
||||||
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||||
<Product Id="22B04FDB-9BAB-46B0-87B8-A39544ECECD3" Name="ModSecurity IIS" Language="1033" Version="2.7.6" Manufacturer="ModSecurity" UpgradeCode="82F09489-1678-4C38-ADCB-08C3757653DB">
|
<Product Id="22B04FDB-9BAB-46B0-87B8-A39544ECECD3" Name="ModSecurity IIS" Language="1033" Version="2.7.6" Manufacturer="ModSecurity" UpgradeCode="82F09489-1678-4C38-ADCB-08C3757653DB">
|
||||||
<Package Description="ModSecurityISS" Comments="none" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" InstallPrivileges="elevated" />
|
<Package Description="ModSecurityISS" Comments="none" InstallerVersion="200" Compressed="yes" InstallPrivileges="elevated" InstallScope="perMachine" Platform="$(var.Platform)" />
|
||||||
|
|
||||||
|
<?if $(var.Platform) = x64 ?>
|
||||||
|
<?define ProductName = "ModSecuirty IIS (64 bit)" ?>
|
||||||
|
<?define Win64 = "yes" ?>
|
||||||
|
<!--<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>-->
|
||||||
|
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
||||||
|
<?else?>
|
||||||
|
<?define ProductName = "ModSecuirty IIS" ?>
|
||||||
|
<?define Win64 = "no" ?>
|
||||||
|
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
||||||
|
<?endif?>
|
||||||
|
|
||||||
|
<Property Id="IIS">
|
||||||
|
<RegistrySearch Id="IISInstalledVersion" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp" Type="raw" Name="MajorVersion" />
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property Id="FILEEXISTS" Secure="yes">
|
||||||
|
<DirectorySearch Id="CheckFileDir1" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile1" Name="ModSecurityIIS.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir2" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile2" Name="libapr-1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir3" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile3" Name="libapriconv-1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir4" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile4" Name="libaprutil-1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir5" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile5" Name="libcurl.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir6" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile6" Name="libxml2.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir7" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile7" Name="lua5.1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir8" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile8" Name="pcre.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir9" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile9" Name="zlib1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir10" Path="C:\Windows\SysWOW64\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile10" Name="ModSecurityIIS.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir11" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile11" Name="libapr-1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir12" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile12" Name="libapriconv-1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir13" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile13" Name="libaprutil-1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir14" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile14" Name="libcurl.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir15" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile15" Name="libxml2.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir16" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile16" Name="lua5.1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir17" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile17" Name="pcre.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
<DirectorySearch Id="CheckFileDir18" Path="C:\Windows\System32\inetsrv" Depth="0">
|
||||||
|
<FileSearch Id="CheckFile18" Name="zlib1.dll" />
|
||||||
|
</DirectorySearch>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property Id="WWWROOT">
|
||||||
|
<RegistrySearch Id="FindInetPubFolder" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp" Name="PathWWWRoot" Type="directory" />
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property Id="MSIUSEREALADMINDETECTION" Value="1" />
|
||||||
|
|
||||||
|
<Condition Message="This setup requires IIS 6.0, 7.0 or 8.0 is installed."><![CDATA[(IIS="#7") OR (IIS="#6") OR (IIS="#8")]]></Condition>
|
||||||
|
<!-- Version 2.7.6 had an uninstall issue that leaves some files behind. Asking the user to manually hash this out. -->
|
||||||
|
<Condition Message="A older version of ModSecurityIIS was found in your computer. Please complete uninstall by removing the following file: [FILEEXISTS]. You may have to remove ModSecurity module from IIS, use the IIS Manager to do so."><![CDATA[(NOT FILEEXISTS) OR (Installed)]]></Condition>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Won't necessary. We can install 32bits stuff in a 64 machine. If IIS is proper
|
||||||
|
configured it will work like a charm.
|
||||||
|
|
||||||
|
<Condition Message="64-bit operating system was detected, please use the 64-bit installer.">
|
||||||
|
<?if $(var.Win64) = "yes" ?>
|
||||||
|
VersionNT64
|
||||||
|
<?else?>
|
||||||
|
NOT VersionNT64
|
||||||
|
<?endif?>
|
||||||
|
</Condition>
|
||||||
|
-->
|
||||||
|
|
||||||
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
|
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
|
||||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||||
<Directory Id="ProgramFilesFolder">
|
<Directory Id="SystemFolder" Name="SystemFolder">
|
||||||
<Directory Id="INSTALLFOLDER" Name="ModSecurity IIS">
|
<Directory Id="inetsrv" Name="inetsrv" />
|
||||||
<Directory Id="b64" Name="amd64" />
|
</Directory>
|
||||||
<Directory Id="b32" Name="x86" />
|
<Directory Id="$(var.PlatformProgramFilesFolder)">
|
||||||
|
<Directory Id="INSTALLFOLDER" Name="ModSecurity IIS" />
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="WWWROOT" Name="[WWWROOT]">
|
||||||
|
<Directory Id="OWASP_CRS" Name="owasp_crs">
|
||||||
|
<Component Id="_.GITIGNORE" DiskId="1" Guid="56746371-02B2-4B32-BDE5-B919E94564D6">
|
||||||
|
<File Id="_.GITIGNORE" Name=".gitignore" Source="release\owasp_crs\.gitignore" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="CHANGELOG" DiskId="1" Guid="0BBA3368-ABAA-4ADA-8A7E-D2E5CBF7CDF3">
|
||||||
|
<File Id="CHANGELOG" Name="CHANGELOG" Source="release\owasp_crs\CHANGELOG" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="ID_RANGE" DiskId="1" Guid="BD77EC70-135B-40AF-A66A-87808420F586">
|
||||||
|
<File Id="ID_RANGE" Name="Id-range" Source="release\owasp_crs\Id-range" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="INSTALL" DiskId="1" Guid="F965FA9A-6144-40C0-B3BE-20D9D87E11B4">
|
||||||
|
<File Id="INSTALL" Name="INSTALL" Source="release\owasp_crs\INSTALL" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="LICENSE" DiskId="1" Guid="13C4B4B3-46B0-4015-A4D9-6FE370444523">
|
||||||
|
<File Id="LICENSE" Name="LICENSE" Source="release\owasp_crs\LICENSE" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY.CONF" DiskId="1" Guid="5CA12EB6-21A6-4580-8DBA-A57A521BBD64">
|
||||||
|
<File Id="MODSECURITY.CONF" Name="modsecurity.conf" Source="release\owasp_crs\modsecurity.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_10_SETUP.CONF" DiskId="1" Guid="4133A28A-4613-4650-8315-750B9D0CC27F">
|
||||||
|
<File Id="MODSECURITY_CRS_10_SETUP.CONF" Name="modsecurity_crs_10_setup.conf" Source="release\owasp_crs\modsecurity_crs_10_setup.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_10_SETUP.CONF.EXAMPLE" DiskId="1" Guid="DAE6702A-CCFE-4777-B652-9F89FC211D66">
|
||||||
|
<File Id="MODSECURITY_CRS_10_SETUP.CONF.EXAMPLE" Name="modsecurity_crs_10_setup.conf.example" Source="release\owasp_crs\modsecurity_crs_10_setup.conf.example" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_IIS.CONF" DiskId="1" Guid="C647345E-C4DF-497E-AD79-69B06685E054">
|
||||||
|
<File Id="MODSECURITY_IIS.CONF" Name="modsecurity_iis.conf" Source="release\owasp_crs\modsecurity_iis.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="README.MD" DiskId="1" Guid="3D670109-912F-4C74-A842-1A4A49A9286A">
|
||||||
|
<File Id="README.MD" Name="README.md" Source="release\owasp_crs\README.md" />
|
||||||
|
</Component>
|
||||||
|
<Directory Id="ACTIVATED_RULES" Name="activated_rules">
|
||||||
|
<Component Id="MODSECURITY_35_BAD_ROBOTS.DATA" DiskId="1" Guid="F566B261-0BA3-4EB9-9697-0EA44F04469A">
|
||||||
|
<File Id="MODSECURITY_35_BAD_ROBOTS.DATA" Name="modsecurity_35_bad_robots.data" Source="release\owasp_crs\activated_rules\modsecurity_35_bad_robots.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_35_SCANNERS.DATA" DiskId="1" Guid="5DEE7661-B99E-4A3D-A159-9F407D1DF3FF">
|
||||||
|
<File Id="MODSECURITY_35_SCANNERS.DATA" Name="modsecurity_35_scanners.data" Source="release\owasp_crs\activated_rules\modsecurity_35_scanners.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_40_GENERIC_ATTACKS.DATA" DiskId="1" Guid="B969400F-37D5-48E1-9251-125115D97D60">
|
||||||
|
<File Id="MODSECURITY_40_GENERIC_ATTACKS.DATA" Name="modsecurity_40_generic_attacks.data" Source="release\owasp_crs\activated_rules\modsecurity_40_generic_attacks.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_41_SQL_INJECTION_ATTACKS.DATA" DiskId="1" Guid="6E66AE3E-D24E-4DBF-9A0B-8FFC89D8C084">
|
||||||
|
<File Id="MODSECURITY_41_SQL_INJECTION_ATTACKS.DATA" Name="modsecurity_41_sql_injection_attacks.data" Source="release\owasp_crs\activated_rules\modsecurity_41_sql_injection_attacks.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_23_REQUEST_LIMITS.CONF" DiskId="1" Guid="6B29A6E4-65E5-45DF-9AC3-B858A033A413">
|
||||||
|
<File Id="MODSECURITY_CRS_23_REQUEST_LIMITS.CONF" Name="modsecurity_crs_23_request_limits.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_23_request_limits.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_30_HTTP_POLICY.CONF" DiskId="1" Guid="6EBED74E-076E-4A79-9E7F-57E7C2ADD534">
|
||||||
|
<File Id="MODSECURITY_CRS_30_HTTP_POLICY.CONF" Name="modsecurity_crs_30_http_policy.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_30_http_policy.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_35_BAD_ROBOTS.CONF" DiskId="1" Guid="3B9273B8-2D9C-4395-80FA-8DF2A4AAA0CC">
|
||||||
|
<File Id="MODSECURITY_CRS_35_BAD_ROBOTS.CONF" Name="modsecurity_crs_35_bad_robots.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_35_bad_robots.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.CONF" DiskId="1" Guid="902220F2-F08A-4A48-B99A-469BF18DD4B2">
|
||||||
|
<File Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.CONF" Name="modsecurity_crs_40_generic_attacks.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_40_generic_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.CONF" DiskId="1" Guid="E521F8DB-30DD-40AA-8D0D-EB26B6CE69B9">
|
||||||
|
<File Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.CONF" Name="modsecurity_crs_41_sql_injection_attacks.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_41_sql_injection_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_XSS_ATTACKS.CONF" DiskId="1" Guid="B2676170-A120-42FD-B0B4-436C5CAB4B53">
|
||||||
|
<File Id="MODSECURITY_CRS_41_XSS_ATTACKS.CONF" Name="modsecurity_crs_41_xss_attacks.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_41_xss_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_42_TIGHT_SECURITY.CONF" DiskId="1" Guid="B6CFADF2-6177-46C3-AD42-07DAB63341D7">
|
||||||
|
<File Id="MODSECURITY_CRS_42_TIGHT_SECURITY.CONF" Name="modsecurity_crs_42_tight_security.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_42_tight_security.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_45_TROJANS.CONF" DiskId="1" Guid="B24955E7-B6AD-4590-88AB-EEF09D962397">
|
||||||
|
<File Id="MODSECURITY_CRS_45_TROJANS.CONF" Name="modsecurity_crs_45_trojans.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_45_trojans.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_47_COMMON_EXCEPTIONS.CONF" DiskId="1" Guid="2AA4B019-63C4-4A30-A629-B444C60B464E">
|
||||||
|
<File Id="MODSECURITY_CRS_47_COMMON_EXCEPTIONS.CONF" Name="modsecurity_crs_47_common_exceptions.conf" Source="release\owasp_crs\activated_rules\modsecurity_crs_47_common_exceptions.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="README" DiskId="1" Guid="C9EB0581-0DBD-4D67-864E-1F0AEC12AEC8">
|
||||||
|
<File Id="README" Name="README" Source="release\owasp_crs\activated_rules\README" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="BASE_RULES" Name="base_rules">
|
||||||
|
<Component Id="MODSECURITY_35_BAD_ROBOTS.DATA_1" DiskId="1" Guid="8A730F19-96CA-418E-96EF-89A74AE09A98">
|
||||||
|
<File Id="MODSECURITY_35_BAD_ROBOTS.DATA_1" Name="modsecurity_35_bad_robots.data" Source="release\owasp_crs\base_rules\modsecurity_35_bad_robots.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_35_SCANNERS.DATA_1" DiskId="1" Guid="84833D91-F31F-49F6-B2DC-32E07AF17E18">
|
||||||
|
<File Id="MODSECURITY_35_SCANNERS.DATA_1" Name="modsecurity_35_scanners.data" Source="release\owasp_crs\base_rules\modsecurity_35_scanners.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_40_GENERIC_ATTACKS.DATA_1" DiskId="1" Guid="95FB2FC2-B934-4797-B121-2F7DDD7A36B6">
|
||||||
|
<File Id="MODSECURITY_40_GENERIC_ATTACKS.DATA_1" Name="modsecurity_40_generic_attacks.data" Source="release\owasp_crs\base_rules\modsecurity_40_generic_attacks.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_41_SQL_INJECTION_ATTACKS.DATA_1" DiskId="1" Guid="9954D93A-055E-49B7-8D2B-9DD478F7C88E">
|
||||||
|
<File Id="MODSECURITY_41_SQL_INJECTION_ATTACKS.DATA_1" Name="modsecurity_41_sql_injection_attacks.data" Source="release\owasp_crs\base_rules\modsecurity_41_sql_injection_attacks.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_50_OUTBOUND.DATA" DiskId="1" Guid="4070DDD1-3A35-43FC-BF4B-4382130869AC">
|
||||||
|
<File Id="MODSECURITY_50_OUTBOUND.DATA" Name="modsecurity_50_outbound.data" Source="release\owasp_crs\base_rules\modsecurity_50_outbound.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_50_OUTBOUND_MALWARE.DATA" DiskId="1" Guid="D5550B09-A4DD-46DE-98C3-9CDC9F650442">
|
||||||
|
<File Id="MODSECURITY_50_OUTBOUND_MALWARE.DATA" Name="modsecurity_50_outbound_malware.data" Source="release\owasp_crs\base_rules\modsecurity_50_outbound_malware.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.CONF" DiskId="1" Guid="ADA5C824-C216-42A4-AA57-B9E27A0070E0">
|
||||||
|
<File Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.CONF" Name="modsecurity_crs_20_protocol_violations.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_20_protocol_violations.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.CONF" DiskId="1" Guid="85CE19CB-EEEC-40A6-A7A3-37CEFFB84290">
|
||||||
|
<File Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.CONF" Name="modsecurity_crs_21_protocol_anomalies.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_21_protocol_anomalies.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_23_REQUEST_LIMITS.CONF_1" DiskId="1" Guid="4713ABA6-2612-4FF1-B3AC-AB9B0385EA5E">
|
||||||
|
<File Id="MODSECURITY_CRS_23_REQUEST_LIMITS.CONF_1" Name="modsecurity_crs_23_request_limits.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_23_request_limits.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_30_HTTP_POLICY.CONF_1" DiskId="1" Guid="629D34E3-018C-4CF0-AFE1-5272CF5399C0">
|
||||||
|
<File Id="MODSECURITY_CRS_30_HTTP_POLICY.CONF_1" Name="modsecurity_crs_30_http_policy.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_30_http_policy.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_35_BAD_ROBOTS.CONF_1" DiskId="1" Guid="1296320E-F905-4FEA-9775-6545FF1F4F46">
|
||||||
|
<File Id="MODSECURITY_CRS_35_BAD_ROBOTS.CONF_1" Name="modsecurity_crs_35_bad_robots.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_35_bad_robots.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.CONF_1" DiskId="1" Guid="22EC4997-D1F3-4CC6-84C7-C8124FCA1838">
|
||||||
|
<File Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.CONF_1" Name="modsecurity_crs_40_generic_attacks.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_40_generic_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.CONF_1" DiskId="1" Guid="53B65B49-6566-4383-B2A3-F1DE2B584EA0">
|
||||||
|
<File Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.CONF_1" Name="modsecurity_crs_41_sql_injection_attacks.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_41_sql_injection_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_XSS_ATTACKS.CONF_1" DiskId="1" Guid="9EFE96F1-73B6-4D1D-8268-9B73FE7C976E">
|
||||||
|
<File Id="MODSECURITY_CRS_41_XSS_ATTACKS.CONF_1" Name="modsecurity_crs_41_xss_attacks.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_41_xss_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_42_TIGHT_SECURITY.CONF_1" DiskId="1" Guid="DCA68043-EAC7-46ED-86EA-3B0D7A988BC7">
|
||||||
|
<File Id="MODSECURITY_CRS_42_TIGHT_SECURITY.CONF_1" Name="modsecurity_crs_42_tight_security.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_42_tight_security.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_45_TROJANS.CONF_1" DiskId="1" Guid="1F9A363D-A5D6-4328-95D9-DA9B9222029C">
|
||||||
|
<File Id="MODSECURITY_CRS_45_TROJANS.CONF_1" Name="modsecurity_crs_45_trojans.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_45_trojans.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_47_COMMON_EXCEPTIONS.CONF_1" DiskId="1" Guid="1AAED4B1-46B5-4480-AE19-0DC3489CA7EC">
|
||||||
|
<File Id="MODSECURITY_CRS_47_COMMON_EXCEPTIONS.CONF_1" Name="modsecurity_crs_47_common_exceptions.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_47_common_exceptions.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_48_LOCAL_EXCEPTIONS.CONF.EXAMPLE" DiskId="1" Guid="773A070A-789C-4151-8A80-6D2D32FDDA5E">
|
||||||
|
<File Id="MODSECURITY_CRS_48_LOCAL_EXCEPTIONS.CONF.EXAMPLE" Name="modsecurity_crs_48_local_exceptions.conf.example" Source="release\owasp_crs\base_rules\modsecurity_crs_48_local_exceptions.conf.example" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_49_INBOUND_BLOCKING.CONF" DiskId="1" Guid="E3E0286D-95BD-496F-B42F-31F35A29DD61">
|
||||||
|
<File Id="MODSECURITY_CRS_49_INBOUND_BLOCKING.CONF" Name="modsecurity_crs_49_inbound_blocking.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_49_inbound_blocking.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_50_OUTBOUND.CONF" DiskId="1" Guid="A97D5106-2146-431E-AD73-EAC836D24C49">
|
||||||
|
<File Id="MODSECURITY_CRS_50_OUTBOUND.CONF" Name="modsecurity_crs_50_outbound.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_50_outbound.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_59_OUTBOUND_BLOCKING.CONF" DiskId="1" Guid="1B4170D3-C50E-48DA-AC95-C89997EB67B0">
|
||||||
|
<File Id="MODSECURITY_CRS_59_OUTBOUND_BLOCKING.CONF" Name="modsecurity_crs_59_outbound_blocking.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_59_outbound_blocking.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_60_CORRELATION.CONF" DiskId="1" Guid="7B92EC2E-461D-42C1-9864-00E68154992A">
|
||||||
|
<File Id="MODSECURITY_CRS_60_CORRELATION.CONF" Name="modsecurity_crs_60_correlation.conf" Source="release\owasp_crs\base_rules\modsecurity_crs_60_correlation.conf" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="EXPERIMENTAL_RULES" Name="experimental_rules">
|
||||||
|
<Component Id="MODSECURITY_CRS_11_BRUTE_FORCE.CONF" DiskId="1" Guid="89657932-1AA6-447E-ABD7-1B733633F433">
|
||||||
|
<File Id="MODSECURITY_CRS_11_BRUTE_FORCE.CONF" Name="modsecurity_crs_11_brute_force.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_11_brute_force.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_11_DOS_PROTECTION.CONF" DiskId="1" Guid="A73B3A4C-66A7-470E-864E-B0629E2BEC3B">
|
||||||
|
<File Id="MODSECURITY_CRS_11_DOS_PROTECTION.CONF" Name="modsecurity_crs_11_dos_protection.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_11_dos_protection.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_11_PROXY_ABUSE.CONF" DiskId="1" Guid="FC2599AC-85AB-4A11-B1D0-C636650A2E57">
|
||||||
|
<File Id="MODSECURITY_CRS_11_PROXY_ABUSE.CONF" Name="modsecurity_crs_11_proxy_abuse.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_11_proxy_abuse.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_11_SLOW_DOS_PROTECTION.CONF" DiskId="1" Guid="A7A0E9BA-0975-4666-94A6-848837524B3A">
|
||||||
|
<File Id="MODSECURITY_CRS_11_SLOW_DOS_PROTECTION.CONF" Name="modsecurity_crs_11_slow_dos_protection.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_11_slow_dos_protection.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_16_SCANNER_INTEGRATION.CONF" DiskId="1" Guid="59805AEF-3BFB-41FE-AB10-D60E4B17AE5D">
|
||||||
|
<File Id="MODSECURITY_CRS_16_SCANNER_INTEGRATION.CONF" Name="modsecurity_crs_16_scanner_integration.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_16_scanner_integration.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_25_CC_TRACK_PAN.CONF" DiskId="1" Guid="0700A54C-EE17-4D9A-9F1F-AC0604FE7F24">
|
||||||
|
<File Id="MODSECURITY_CRS_25_CC_TRACK_PAN.CONF" Name="modsecurity_crs_25_cc_track_pan.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_25_cc_track_pan.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.0_SETUP.CONF" DiskId="1" Guid="32BD99E4-5747-4E42-95CE-41256254B00D">
|
||||||
|
<File Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.0_SETUP.CONF" Name="modsecurity_crs_40_appsensor_detection_point_2.0_setup.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_40_appsensor_detection_point_2.0_setup.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.1_REQUEST_EXCEPTION.CONF" DiskId="1" Guid="EB316E25-74CB-4CF6-94CA-DD438CDEC952">
|
||||||
|
<File Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.1_REQUEST_EXCEPTION.CONF" Name="modsecurity_crs_40_appsensor_detection_point_2.1_request_exception.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_40_appsensor_detection_point_2.1_request_exception.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.9_HONEYTRAP.CONF" DiskId="1" Guid="DF4608F6-9601-4C92-9DED-5B5A3F14D9E5">
|
||||||
|
<File Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.9_HONEYTRAP.CONF" Name="modsecurity_crs_40_appsensor_detection_point_2.9_honeytrap.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_40_appsensor_detection_point_2.9_honeytrap.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_3.0_END.CONF" DiskId="1" Guid="15ABC9A2-D94D-47C2-A4DE-0B9625609886">
|
||||||
|
<File Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_3.0_END.CONF" Name="modsecurity_crs_40_appsensor_detection_point_3.0_end.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_40_appsensor_detection_point_3.0_end.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_HTTP_PARAMETER_POLLUTION.CONF" DiskId="1" Guid="D29DEC30-BEAC-41EE-9F98-B462499EDA7C">
|
||||||
|
<File Id="MODSECURITY_CRS_40_HTTP_PARAMETER_POLLUTION.CONF" Name="modsecurity_crs_40_http_parameter_pollution.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_40_http_parameter_pollution.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_ADVANCED_FILTERS.CONF" DiskId="1" Guid="DF95F56D-D7E7-4CAC-8402-752BB981E82F">
|
||||||
|
<File Id="MODSECURITY_CRS_41_ADVANCED_FILTERS.CONF" Name="modsecurity_crs_41_advanced_filters.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_41_advanced_filters.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_42_CSP_ENFORCEMENT.CONF" DiskId="1" Guid="4A4A4ED8-6B76-45DF-861D-4092BC1E1485">
|
||||||
|
<File Id="MODSECURITY_CRS_42_CSP_ENFORCEMENT.CONF" Name="modsecurity_crs_42_csp_enforcement.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_42_csp_enforcement.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_45_CHAR_ANOMALY.CONF" DiskId="1" Guid="AD211172-DA86-40F8-9DF8-BF220615E4AB">
|
||||||
|
<File Id="MODSECURITY_CRS_45_CHAR_ANOMALY.CONF" Name="modsecurity_crs_45_char_anomaly.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_45_char_anomaly.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SCANNER_INTEGRATION.CONF" DiskId="1" Guid="7BC0D7A1-AEC4-4A36-89BC-2E91DFB34D16">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SCANNER_INTEGRATION.CONF" Name="modsecurity_crs_46_scanner_integration.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_46_scanner_integration.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_48_BAYES_ANALYSIS.CONF" DiskId="1" Guid="0DC09940-F7D0-4ED7-A905-6DA694201B51">
|
||||||
|
<File Id="MODSECURITY_CRS_48_BAYES_ANALYSIS.CONF" Name="modsecurity_crs_48_bayes_analysis.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_48_bayes_analysis.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_55_RESPONSE_PROFILING.CONF" DiskId="1" Guid="EFE74295-C5CD-45BF-8F4B-2C757EDB3908">
|
||||||
|
<File Id="MODSECURITY_CRS_55_RESPONSE_PROFILING.CONF" Name="modsecurity_crs_55_response_profiling.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_55_response_profiling.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_56_PVI_CHECKS.CONF" DiskId="1" Guid="86B3A2D4-9392-45B1-82CF-C1B9EAD4274C">
|
||||||
|
<File Id="MODSECURITY_CRS_56_PVI_CHECKS.CONF" Name="modsecurity_crs_56_pvi_checks.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_56_pvi_checks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_61_IP_FORENSICS.CONF" DiskId="1" Guid="CC6C1A25-10E3-4F32-8A1C-DCBBF5897076">
|
||||||
|
<File Id="MODSECURITY_CRS_61_IP_FORENSICS.CONF" Name="modsecurity_crs_61_ip_forensics.conf" Source="release\owasp_crs\experimental_rules\modsecurity_crs_61_ip_forensics.conf" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="LUA" Name="lua">
|
||||||
|
<Component Id="ADVANCED_FILTER_CONVERTER.LUA" DiskId="1" Guid="056263F5-34CA-41EC-B175-A8AF9BC10B7B">
|
||||||
|
<File Id="ADVANCED_FILTER_CONVERTER.LUA" Name="advanced_filter_converter.lua" Source="release\owasp_crs\lua\advanced_filter_converter.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="APPSENSOR_REQUEST_EXCEPTION_ENFORCE.LUA" DiskId="1" Guid="B548476A-184C-415A-9C77-45FE5CCD0C73">
|
||||||
|
<File Id="APPSENSOR_REQUEST_EXCEPTION_ENFORCE.LUA" Name="appsensor_request_exception_enforce.lua" Source="release\owasp_crs\lua\appsensor_request_exception_enforce.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="APPSENSOR_REQUEST_EXCEPTION_PROFILE.LUA" DiskId="1" Guid="89107E80-EB1F-4D79-8B11-A8BA9F8096AB">
|
||||||
|
<File Id="APPSENSOR_REQUEST_EXCEPTION_PROFILE.LUA" Name="appsensor_request_exception_profile.lua" Source="release\owasp_crs\lua\appsensor_request_exception_profile.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="ARACHNI_INTEGRATION.LUA" DiskId="1" Guid="F30A7E15-7635-4992-B921-5BA432921CD2">
|
||||||
|
<File Id="ARACHNI_INTEGRATION.LUA" Name="arachni_integration.lua" Source="release\owasp_crs\lua\arachni_integration.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="BAYES_CHECK_SPAM.LUA" DiskId="1" Guid="2F76FC3A-E52A-488E-947C-43A5D7D5743D">
|
||||||
|
<File Id="BAYES_CHECK_SPAM.LUA" Name="bayes_check_spam.lua" Source="release\owasp_crs\lua\bayes_check_spam.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="BAYES_TRAIN_HAM.LUA" DiskId="1" Guid="463C0F8C-EA94-4A24-9BB6-A3502292E1C4">
|
||||||
|
<File Id="BAYES_TRAIN_HAM.LUA" Name="bayes_train_ham.lua" Source="release\owasp_crs\lua\bayes_train_ham.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="BAYES_TRAIN_SPAM.LUA" DiskId="1" Guid="AFFBC762-563B-476F-BAE1-62E395556B65">
|
||||||
|
<File Id="BAYES_TRAIN_SPAM.LUA" Name="bayes_train_spam.lua" Source="release\owasp_crs\lua\bayes_train_spam.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="GATHER_IP_DATA.LUA" DiskId="1" Guid="5D5CE01C-3E3D-4379-BC43-6AB981D10661">
|
||||||
|
<File Id="GATHER_IP_DATA.LUA" Name="gather_ip_data.lua" Source="release\owasp_crs\lua\gather_ip_data.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="OSVDB.LUA" DiskId="1" Guid="65AAD289-DE06-49AF-A587-FBBCCE1FDA2E">
|
||||||
|
<File Id="OSVDB.LUA" Name="osvdb.lua" Source="release\owasp_crs\lua\osvdb.lua" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="PROFILE_PAGE_SCRIPTS.LUA" DiskId="1" Guid="1004A702-9644-4770-B965-67AEF28F58A1">
|
||||||
|
<File Id="PROFILE_PAGE_SCRIPTS.LUA" Name="profile_page_scripts.lua" Source="release\owasp_crs\lua\profile_page_scripts.lua" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="OPTIONAL_RULES" Name="optional_rules">
|
||||||
|
<Component Id="MODSECURITY_42_COMMENT_SPAM.DATA" DiskId="1" Guid="33BDACD4-0519-48EB-9136-D1B4DD12A0CD">
|
||||||
|
<File Id="MODSECURITY_42_COMMENT_SPAM.DATA" Name="modsecurity_42_comment_spam.data" Source="release\owasp_crs\optional_rules\modsecurity_42_comment_spam.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_10_IGNORE_STATIC.CONF" DiskId="1" Guid="96158473-F431-4906-85F5-D7B7AA447E7A">
|
||||||
|
<File Id="MODSECURITY_CRS_10_IGNORE_STATIC.CONF" Name="modsecurity_crs_10_ignore_static.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_10_ignore_static.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_11_AVS_TRAFFIC.CONF" DiskId="1" Guid="ED2E3682-0C34-41A6-9F19-64B4627B517A">
|
||||||
|
<File Id="MODSECURITY_CRS_11_AVS_TRAFFIC.CONF" Name="modsecurity_crs_11_avs_traffic.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_11_avs_traffic.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_13_XML_ENABLER.CONF" DiskId="1" Guid="A5623DB6-DBBF-4AC3-95EF-8990C61F636A">
|
||||||
|
<File Id="MODSECURITY_CRS_13_XML_ENABLER.CONF" Name="modsecurity_crs_13_xml_enabler.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_13_xml_enabler.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_16_AUTHENTICATION_TRACKING.CONF" DiskId="1" Guid="DEC1E733-5A8B-4435-AFC5-C8C02195CCD6">
|
||||||
|
<File Id="MODSECURITY_CRS_16_AUTHENTICATION_TRACKING.CONF" Name="modsecurity_crs_16_authentication_tracking.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_16_authentication_tracking.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_16_SESSION_HIJACKING.CONF" DiskId="1" Guid="948F9321-BD22-452B-AD51-C2CEA922329D">
|
||||||
|
<File Id="MODSECURITY_CRS_16_SESSION_HIJACKING.CONF" Name="modsecurity_crs_16_session_hijacking.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_16_session_hijacking.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_16_USERNAME_TRACKING.CONF" DiskId="1" Guid="9EFD8BE9-4608-4432-83F2-94631B773DD4">
|
||||||
|
<File Id="MODSECURITY_CRS_16_USERNAME_TRACKING.CONF" Name="modsecurity_crs_16_username_tracking.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_16_username_tracking.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_25_CC_KNOWN.CONF" DiskId="1" Guid="2CC330A7-A062-4817-B660-267B80C7812E">
|
||||||
|
<File Id="MODSECURITY_CRS_25_CC_KNOWN.CONF" Name="modsecurity_crs_25_cc_known.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_25_cc_known.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_42_COMMENT_SPAM.CONF" DiskId="1" Guid="0CABCC34-2C7B-4869-A9AB-B733C5176016">
|
||||||
|
<File Id="MODSECURITY_CRS_42_COMMENT_SPAM.CONF" Name="modsecurity_crs_42_comment_spam.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_42_comment_spam.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_43_CSRF_PROTECTION.CONF" DiskId="1" Guid="07EB4ED4-F03D-43F2-94B1-F12961472268">
|
||||||
|
<File Id="MODSECURITY_CRS_43_CSRF_PROTECTION.CONF" Name="modsecurity_crs_43_csrf_protection.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_43_csrf_protection.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_AV_SCANNING.CONF" DiskId="1" Guid="2DFCE9D4-4BAE-4898-8D2C-51C6C5CE521F">
|
||||||
|
<File Id="MODSECURITY_CRS_46_AV_SCANNING.CONF" Name="modsecurity_crs_46_av_scanning.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_46_av_scanning.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_47_SKIP_OUTBOUND_CHECKS.CONF" DiskId="1" Guid="4D8359B5-7016-48B3-9879-5873EDC6204E">
|
||||||
|
<File Id="MODSECURITY_CRS_47_SKIP_OUTBOUND_CHECKS.CONF" Name="modsecurity_crs_47_skip_outbound_checks.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_47_skip_outbound_checks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_49_HEADER_TAGGING.CONF" DiskId="1" Guid="922996BE-D201-4AD3-AA6D-1D5F5F75F1FC">
|
||||||
|
<File Id="MODSECURITY_CRS_49_HEADER_TAGGING.CONF" Name="modsecurity_crs_49_header_tagging.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_49_header_tagging.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_55_APPLICATION_DEFECTS.CONF" DiskId="1" Guid="26C758AC-66CD-4FDC-807E-0995396532FD">
|
||||||
|
<File Id="MODSECURITY_CRS_55_APPLICATION_DEFECTS.CONF" Name="modsecurity_crs_55_application_defects.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_55_application_defects.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_55_MARKETING.CONF" DiskId="1" Guid="C204FF45-5797-4711-98A4-4679F64B3D1C">
|
||||||
|
<File Id="MODSECURITY_CRS_55_MARKETING.CONF" Name="modsecurity_crs_55_marketing.conf" Source="release\owasp_crs\optional_rules\modsecurity_crs_55_marketing.conf" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="SLR_RULES" Name="slr_rules">
|
||||||
|
<Component Id="MODSECURITY_46_SLR_ET_JOOMLA.DATA" DiskId="1" Guid="4B91B390-AE82-48DB-8574-1A5728310105">
|
||||||
|
<File Id="MODSECURITY_46_SLR_ET_JOOMLA.DATA" Name="modsecurity_46_slr_et_joomla.data" Source="release\owasp_crs\slr_rules\modsecurity_46_slr_et_joomla.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_46_SLR_ET_LFI.DATA" DiskId="1" Guid="860B9440-0F02-4B04-8855-CE65A6CCEC0E">
|
||||||
|
<File Id="MODSECURITY_46_SLR_ET_LFI.DATA" Name="modsecurity_46_slr_et_lfi.data" Source="release\owasp_crs\slr_rules\modsecurity_46_slr_et_lfi.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_46_SLR_ET_PHPBB.DATA" DiskId="1" Guid="7E381488-A9A9-4908-AA86-B40C381485CC">
|
||||||
|
<File Id="MODSECURITY_46_SLR_ET_PHPBB.DATA" Name="modsecurity_46_slr_et_phpbb.data" Source="release\owasp_crs\slr_rules\modsecurity_46_slr_et_phpbb.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_46_SLR_ET_RFI.DATA" DiskId="1" Guid="4A3ECA18-9710-4E43-8E5F-73837C41A1AA">
|
||||||
|
<File Id="MODSECURITY_46_SLR_ET_RFI.DATA" Name="modsecurity_46_slr_et_rfi.data" Source="release\owasp_crs\slr_rules\modsecurity_46_slr_et_rfi.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_46_SLR_ET_SQLI.DATA" DiskId="1" Guid="687D0BDD-2729-4D28-8CF9-E461EA9CE3F4">
|
||||||
|
<File Id="MODSECURITY_46_SLR_ET_SQLI.DATA" Name="modsecurity_46_slr_et_sqli.data" Source="release\owasp_crs\slr_rules\modsecurity_46_slr_et_sqli.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_46_SLR_ET_WORDPRESS.DATA" DiskId="1" Guid="56DADFEC-00EB-4CB6-9D58-E75D944A6050">
|
||||||
|
<File Id="MODSECURITY_46_SLR_ET_WORDPRESS.DATA" Name="modsecurity_46_slr_et_wordpress.data" Source="release\owasp_crs\slr_rules\modsecurity_46_slr_et_wordpress.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_46_SLR_ET_XSS.DATA" DiskId="1" Guid="F43D476B-0FE8-4CDB-85D3-EB3667B63AD2">
|
||||||
|
<File Id="MODSECURITY_46_SLR_ET_XSS.DATA" Name="modsecurity_46_slr_et_xss.data" Source="release\owasp_crs\slr_rules\modsecurity_46_slr_et_xss.data" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SLR_ET_JOOMLA_ATTACKS.CONF" DiskId="1" Guid="CD380062-36C4-4A87-8814-FE98F9CC45ED">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SLR_ET_JOOMLA_ATTACKS.CONF" Name="modsecurity_crs_46_slr_et_joomla_attacks.conf" Source="release\owasp_crs\slr_rules\modsecurity_crs_46_slr_et_joomla_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SLR_ET_LFI_ATTACKS.CONF" DiskId="1" Guid="FFF51311-E77D-48BC-8257-98407445693F">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SLR_ET_LFI_ATTACKS.CONF" Name="modsecurity_crs_46_slr_et_lfi_attacks.conf" Source="release\owasp_crs\slr_rules\modsecurity_crs_46_slr_et_lfi_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SLR_ET_PHPBB_ATTACKS.CONF" DiskId="1" Guid="EFD56A4B-DC25-478A-8028-9B57F41127E6">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SLR_ET_PHPBB_ATTACKS.CONF" Name="modsecurity_crs_46_slr_et_phpbb_attacks.conf" Source="release\owasp_crs\slr_rules\modsecurity_crs_46_slr_et_phpbb_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SLR_ET_RFI_ATTACKS.CONF" DiskId="1" Guid="82F6F0DE-BCC3-453B-8BC6-8E4F27019516">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SLR_ET_RFI_ATTACKS.CONF" Name="modsecurity_crs_46_slr_et_rfi_attacks.conf" Source="release\owasp_crs\slr_rules\modsecurity_crs_46_slr_et_rfi_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SLR_ET_SQLI_ATTACKS.CONF" DiskId="1" Guid="E8040B72-87F0-4844-B611-4D0D1956B75C">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SLR_ET_SQLI_ATTACKS.CONF" Name="modsecurity_crs_46_slr_et_sqli_attacks.conf" Source="release\owasp_crs\slr_rules\modsecurity_crs_46_slr_et_sqli_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SLR_ET_WORDPRESS_ATTACKS.CONF" DiskId="1" Guid="80F634F2-8DF1-4FE5-89F1-02923D940FF2">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SLR_ET_WORDPRESS_ATTACKS.CONF" Name="modsecurity_crs_46_slr_et_wordpress_attacks.conf" Source="release\owasp_crs\slr_rules\modsecurity_crs_46_slr_et_wordpress_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_46_SLR_ET_XSS_ATTACKS.CONF" DiskId="1" Guid="56CE53A9-D090-4EAB-8E2C-C2C504EE602A">
|
||||||
|
<File Id="MODSECURITY_CRS_46_SLR_ET_XSS_ATTACKS.CONF" Name="modsecurity_crs_46_slr_et_xss_attacks.conf" Source="release\owasp_crs\slr_rules\modsecurity_crs_46_slr_et_xss_attacks.conf" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="UTIL" Name="util">
|
||||||
|
<Component Id="ARACHNI2MODSEC.PL" DiskId="1" Guid="41AA7511-E5C5-4117-9EF1-F406E5D06A67">
|
||||||
|
<File Id="ARACHNI2MODSEC.PL" Name="arachni2modsec.pl" Source="release\owasp_crs\util\arachni2modsec.pl" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="README_1" DiskId="1" Guid="29A0E592-6A81-46DA-B5C8-D49C7AB96EAE">
|
||||||
|
<File Id="README_1" Name="README" Source="release\owasp_crs\util\README" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RULES_UPDATER_EXAMPLE.CONF" DiskId="1" Guid="CAB3D664-0D1C-43A2-BEC4-A3AED2AFA5FA">
|
||||||
|
<File Id="RULES_UPDATER_EXAMPLE.CONF" Name="rules-updater-example.conf" Source="release\owasp_crs\util\rules-updater-example.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RULES_UPDATER.PL" DiskId="1" Guid="EF8CA107-A6BE-426B-9316-5C16F50E4A4E">
|
||||||
|
<File Id="RULES_UPDATER.PL" Name="rules-updater.pl" Source="release\owasp_crs\util\rules-updater.pl" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RULES_UPDATER.PL.IN" DiskId="1" Guid="4E8FA2B6-FFF5-4880-AC7D-4C6150DB1D6D">
|
||||||
|
<File Id="RULES_UPDATER.PL.IN" Name="rules-updater.pl.in" Source="release\owasp_crs\util\rules-updater.pl.in" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RUNAV.PL" DiskId="1" Guid="3210B9EB-578C-4258-81FC-123230C8599E">
|
||||||
|
<File Id="RUNAV.PL" Name="runav.pl" Source="release\owasp_crs\util\runav.pl" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="ZAP2MODSEC.PL" DiskId="1" Guid="9D997440-47F3-4604-B38C-AF543ECD3A96">
|
||||||
|
<File Id="ZAP2MODSEC.PL" Name="zap2modsec.pl" Source="release\owasp_crs\util\zap2modsec.pl" />
|
||||||
|
</Component>
|
||||||
|
<Directory Id="AV_SCANNING" Name="av-scanning">
|
||||||
|
<Component Id="RUNAV.PL_1" DiskId="1" Guid="2D62BF66-7941-4A87-97E4-B1F93D9B5886">
|
||||||
|
<File Id="RUNAV.PL_1" Name="runav.pl" Source="release\owasp_crs\util\av-scanning\runav.pl" />
|
||||||
|
</Component>
|
||||||
|
<Directory Id="RUNAV" Name="runAV">
|
||||||
|
<Component Id="COMMON.C" DiskId="1" Guid="7F7BD792-97E0-4637-A35C-5B80E324B4A4">
|
||||||
|
<File Id="COMMON.C" Name="common.c" Source="release\owasp_crs\util\av-scanning\runAV\common.c" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="COMMON.H" DiskId="1" Guid="CEBEA427-E4F7-41A7-AAF5-B6247D81B7E9">
|
||||||
|
<File Id="COMMON.H" Name="common.h" Source="release\owasp_crs\util\av-scanning\runAV\common.h" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="COMP" DiskId="1" Guid="D302E1A7-6401-495F-A7C8-9289E6F70792">
|
||||||
|
<File Id="COMP" Name="comp" Source="release\owasp_crs\util\av-scanning\runAV\comp" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RUNAV_CLAMD.C" DiskId="1" Guid="537BC1F4-1F53-4296-BDDA-6B14CD46BFF9">
|
||||||
|
<File Id="RUNAV_CLAMD.C" Name="runAV-clamd.c" Source="release\owasp_crs\util\av-scanning\runAV\runAV-clamd.c" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RUNAV.C" DiskId="1" Guid="8B3EF6F6-29A4-4470-BCA1-F186AECDF1D7">
|
||||||
|
<File Id="RUNAV.C" Name="runAV.c" Source="release\owasp_crs\util\av-scanning\runAV\runAV.c" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="BROWSER_TOOLS" Name="browser-tools">
|
||||||
|
<Component Id="JS_OVERRIDES.JS" DiskId="1" Guid="C79ABB29-E0E4-496A-98B4-BF686A68FB95">
|
||||||
|
<File Id="JS_OVERRIDES.JS" Name="js-overrIdes.js" Source="release\owasp_crs\util\browser-tools\js-overrIdes.js" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="HONEYPOT_SENSOR" Name="honeypot-sensor">
|
||||||
|
<Component Id="MLOGC_HONEYPOT_SENSOR.CONF" DiskId="1" Guid="DAAF1A6E-8FA5-40A0-8A19-46027A9C8E6C">
|
||||||
|
<File Id="MLOGC_HONEYPOT_SENSOR.CONF" Name="mlogc-honeypot-sensor.conf" Source="release\owasp_crs\util\honeypot-sensor\mlogc-honeypot-sensor.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_10_HONEYPOT.CONF" DiskId="1" Guid="A7AF2790-6ADB-4490-9F75-C011D79950AC">
|
||||||
|
<File Id="MODSECURITY_CRS_10_HONEYPOT.CONF" Name="modsecurity_crs_10_honeypot.conf" Source="release\owasp_crs\util\honeypot-sensor\modsecurity_crs_10_honeypot.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="README.MD_1" DiskId="1" Guid="5A3AD317-9E54-4BAB-9021-98685248DA8A">
|
||||||
|
<File Id="README.MD_1" Name="README.md" Source="release\owasp_crs\util\honeypot-sensor\README.md" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="HONEYPOT_SENSOR_1" Name="honeypot_sensor">
|
||||||
|
<Component Id="MLOGC_HONEYPOT_SENSOR.CONF_1" DiskId="1" Guid="E73ECCC5-081D-4905-B2F2-065E54DEBDC6">
|
||||||
|
<File Id="MLOGC_HONEYPOT_SENSOR.CONF_1" Name="mlogc-honeypot-sensor.conf" Source="release\owasp_crs\util\honeypot_sensor\mlogc-honeypot-sensor.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_10_HONEYPOT.CONF_1" DiskId="1" Guid="F1F04065-3A89-46C5-BF6A-9E62485E51C1">
|
||||||
|
<File Id="MODSECURITY_CRS_10_HONEYPOT.CONF_1" Name="modsecurity_crs_10_honeypot.conf" Source="release\owasp_crs\util\honeypot_sensor\modsecurity_crs_10_honeypot.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="README.MD_2" DiskId="1" Guid="8D137680-3CF8-4A6B-BB04-EE7419E91AD8">
|
||||||
|
<File Id="README.MD_2" Name="README.md" Source="release\owasp_crs\util\honeypot_sensor\README.md" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="REGRESSION_TESTS" Name="regression-tests">
|
||||||
|
<Component Id="INSTALL_1" DiskId="1" Guid="6357E533-46C6-48AE-8E67-67DD4BF9CD8D">
|
||||||
|
<File Id="INSTALL_1" Name="INSTALL" Source="release\owasp_crs\util\regression-tests\INSTALL" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_59_HEADER_TAGGING.CONF" DiskId="1" Guid="322F2EAD-6241-43C0-A4C0-93B483F2EB84">
|
||||||
|
<File Id="MODSECURITY_CRS_59_HEADER_TAGGING.CONF" Name="modsecurity_crs_59_header_tagging.conf" Source="release\owasp_crs\util\regression-tests\modsecurity_crs_59_header_tagging.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="README_2" DiskId="1" Guid="C3CBCF28-6B7E-402D-87AA-67AB030D210F">
|
||||||
|
<File Id="README_2" Name="README" Source="release\owasp_crs\util\regression-tests\README" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RULESTEST.CONF" DiskId="1" Guid="B4F1AD14-E69F-453F-BAD1-E28EDD392EB4">
|
||||||
|
<File Id="RULESTEST.CONF" Name="rulestest.conf" Source="release\owasp_crs\util\regression-tests\rulestest.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RULESTEST.PL" DiskId="1" Guid="1A90C1E0-4614-4F3C-83AF-121769058AA9">
|
||||||
|
<File Id="RULESTEST.PL" Name="rulestest.pl" Source="release\owasp_crs\util\regression-tests\rulestest.pl" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="TESTSERVER.CGI" DiskId="1" Guid="5CE6E51D-2391-4344-A6E4-07F2178EAFD8">
|
||||||
|
<File Id="TESTSERVER.CGI" Name="testserver.cgi" Source="release\owasp_crs\util\regression-tests\testserver.cgi" />
|
||||||
|
</Component>
|
||||||
|
<Directory Id="TESTS" Name="tests">
|
||||||
|
<Component Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.TESTS" DiskId="1" Guid="693351B5-7384-470F-B07F-E5E88DDD4690">
|
||||||
|
<File Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.TESTS" Name="modsecurity_crs_20_protocol_violations.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_20_protocol_violations.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.TESTS" DiskId="1" Guid="AED3DB70-BD91-41B2-976A-4051287438FD">
|
||||||
|
<File Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.TESTS" Name="modsecurity_crs_21_protocol_anomalies.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_21_protocol_anomalies.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_23_REQUEST_LIMITS.TESTS" DiskId="1" Guid="7C486057-74A6-441A-B017-6A753D87F446">
|
||||||
|
<File Id="MODSECURITY_CRS_23_REQUEST_LIMITS.TESTS" Name="modsecurity_crs_23_request_limits.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_23_request_limits.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_30_HTTP_POLICY.TESTS" DiskId="1" Guid="FBA95B9B-3E86-434E-BA2A-0B827FA6562F">
|
||||||
|
<File Id="MODSECURITY_CRS_30_HTTP_POLICY.TESTS" Name="modsecurity_crs_30_http_policy.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_30_http_policy.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_35_BAD_ROBOTS.TESTS" DiskId="1" Guid="AD516FD7-D3CC-4266-AC34-8ACF437F35F0">
|
||||||
|
<File Id="MODSECURITY_CRS_35_BAD_ROBOTS.TESTS" Name="modsecurity_crs_35_bad_robots.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_35_bad_robots.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.TESTS" DiskId="1" Guid="B4F5425A-EF25-4ADB-BD83-1B944704E022">
|
||||||
|
<File Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.TESTS" Name="modsecurity_crs_40_generic_attacks.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_40_generic_attacks.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.TESTS" DiskId="1" Guid="A7076E0B-CCF7-4B10-9843-68140B9063AE">
|
||||||
|
<File Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.TESTS" Name="modsecurity_crs_41_sql_injection_attacks.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_41_sql_injection_attacks.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_XSS_ATTACKS.TESTS" DiskId="1" Guid="11AEC2AC-21A7-4336-9139-22D2EB093AB7">
|
||||||
|
<File Id="MODSECURITY_CRS_41_XSS_ATTACKS.TESTS" Name="modsecurity_crs_41_xss_attacks.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_41_xss_attacks.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_50_OUTBOUND.TESTS" DiskId="1" Guid="FEC5007A-FED6-4A72-9949-DE9A69BD8E2A">
|
||||||
|
<File Id="MODSECURITY_CRS_50_OUTBOUND.TESTS" Name="modsecurity_crs_50_outbound.tests" Source="release\owasp_crs\util\regression-tests\tests\modsecurity_crs_50_outbound.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RUBY.TESTS" DiskId="1" Guid="5D511DE1-5E45-420F-9471-FFFD72E848E2">
|
||||||
|
<File Id="RUBY.TESTS" Name="ruby.tests" Source="release\owasp_crs\util\regression-tests\tests\ruby.tests" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="REGRESSION_TESTS_1" Name="regression_tests">
|
||||||
|
<Component Id="INSTALL_2" DiskId="1" Guid="A78B2EE7-1AEF-4EBE-AC32-897E007A2736">
|
||||||
|
<File Id="INSTALL_2" Name="INSTALL" Source="release\owasp_crs\util\regression_tests\INSTALL" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_59_HEADER_TAGGING.CONF_1" DiskId="1" Guid="B78FC397-148F-4C02-94DA-9E87CAA38E46">
|
||||||
|
<File Id="MODSECURITY_CRS_59_HEADER_TAGGING.CONF_1" Name="modsecurity_crs_59_header_tagging.conf" Source="release\owasp_crs\util\regression_tests\modsecurity_crs_59_header_tagging.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="README_3" DiskId="1" Guid="9E5EA2A0-0C43-4031-AE11-0CB3E2EB7122">
|
||||||
|
<File Id="README_3" Name="README" Source="release\owasp_crs\util\regression_tests\README" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RULESTEST.CONF_1" DiskId="1" Guid="6E651336-9D6C-462F-986F-81BD75789F1F">
|
||||||
|
<File Id="RULESTEST.CONF_1" Name="rulestest.conf" Source="release\owasp_crs\util\regression_tests\rulestest.conf" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RULESTEST.PL_1" DiskId="1" Guid="860182AF-2E14-4167-8CE1-8380E40A9005">
|
||||||
|
<File Id="RULESTEST.PL_1" Name="rulestest.pl" Source="release\owasp_crs\util\regression_tests\rulestest.pl" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="TESTSERVER.CGI_1" DiskId="1" Guid="F1AFCE7E-E756-4F97-818E-B4DFEC27AEE1">
|
||||||
|
<File Id="TESTSERVER.CGI_1" Name="testserver.cgi" Source="release\owasp_crs\util\regression_tests\testserver.cgi" />
|
||||||
|
</Component>
|
||||||
|
<Directory Id="TESTS_1" Name="tests">
|
||||||
|
<Component Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.TESTS_1" DiskId="1" Guid="5548A833-8FB3-4B77-9788-F1E172D10FD4">
|
||||||
|
<File Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.TESTS_1" Name="modsecurity_crs_20_protocol_violations.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_20_protocol_violations.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.TESTS_1" DiskId="1" Guid="13BDAFDF-FBCC-4717-9CB5-211D9216A5A3">
|
||||||
|
<File Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.TESTS_1" Name="modsecurity_crs_21_protocol_anomalies.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_21_protocol_anomalies.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_23_REQUEST_LIMITS.TESTS_1" DiskId="1" Guid="75E810BE-4882-486A-904F-3D1B0CC0BE33">
|
||||||
|
<File Id="MODSECURITY_CRS_23_REQUEST_LIMITS.TESTS_1" Name="modsecurity_crs_23_request_limits.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_23_request_limits.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_30_HTTP_POLICY.TESTS_1" DiskId="1" Guid="AB1C208E-0B9B-4114-B7CE-E4B6E69865BF">
|
||||||
|
<File Id="MODSECURITY_CRS_30_HTTP_POLICY.TESTS_1" Name="modsecurity_crs_30_http_policy.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_30_http_policy.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_35_BAD_ROBOTS.TESTS_1" DiskId="1" Guid="06A4EF00-261D-4434-8627-B279D87FBF27">
|
||||||
|
<File Id="MODSECURITY_CRS_35_BAD_ROBOTS.TESTS_1" Name="modsecurity_crs_35_bad_robots.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_35_bad_robots.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.TESTS_1" DiskId="1" Guid="7D1FD870-0F8F-4E1E-B962-1DA09C35009C">
|
||||||
|
<File Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.TESTS_1" Name="modsecurity_crs_40_generic_attacks.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_40_generic_attacks.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.TESTS_1" DiskId="1" Guid="7A05F6EB-2454-4DE6-B664-7DBE95E01D82">
|
||||||
|
<File Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.TESTS_1" Name="modsecurity_crs_41_sql_injection_attacks.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_41_sql_injection_attacks.tests" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="MODSECURITY_CRS_50_OUTBOUND.TESTS_1" DiskId="1" Guid="AAC86BBB-A376-4EAE-B731-31458DD92F5C">
|
||||||
|
<File Id="MODSECURITY_CRS_50_OUTBOUND.TESTS_1" Name="modsecurity_crs_50_outbound.tests" Source="release\owasp_crs\util\regression_tests\tests\modsecurity_crs_50_outbound.tests" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="RUNAV_1" Name="runAV">
|
||||||
|
<Component Id="COMMON.C_1" DiskId="1" Guid="4FF636AA-51E1-492B-9695-6CB4E99C075F">
|
||||||
|
<File Id="COMMON.C_1" Name="common.c" Source="release\owasp_crs\util\runAV\common.c" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="COMMON.H_1" DiskId="1" Guid="D057EAE0-9F68-4392-983A-E3E0AB43099B">
|
||||||
|
<File Id="COMMON.H_1" Name="common.h" Source="release\owasp_crs\util\runAV\common.h" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="COMP_1" DiskId="1" Guid="7C76D90E-D269-4A17-A9EF-B65528DE3049">
|
||||||
|
<File Id="COMP_1" Name="comp" Source="release\owasp_crs\util\runAV\comp" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RUNAV_CLAMD.C_1" DiskId="1" Guid="1324A63D-63F4-419B-B496-1C73CDE888D1">
|
||||||
|
<File Id="RUNAV_CLAMD.C_1" Name="runAV-clamd.c" Source="release\owasp_crs\util\runAV\runAV-clamd.c" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="RUNAV.C_1" DiskId="1" Guid="6E3B0099-5930-4F12-A33F-BA9514C427F0">
|
||||||
|
<File Id="RUNAV.C_1" Name="runAV.c" Source="release\owasp_crs\util\runAV\runAV.c" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
<Directory Id="VIRTUAL_PATCHING" Name="virtual-patching">
|
||||||
|
<Component Id="ARACHNI2MODSEC.PL_1" DiskId="1" Guid="1EAAC68C-65D5-4553-BD95-6B595BC7C519">
|
||||||
|
<File Id="ARACHNI2MODSEC.PL_1" Name="arachni2modsec.pl" Source="release\owasp_crs\util\virtual-patching\arachni2modsec.pl" />
|
||||||
|
</Component>
|
||||||
|
<Component Id="ZAP2MODSEC.PL_1" DiskId="1" Guid="24A2BC8D-8067-439E-93DA-446F6DAE4024">
|
||||||
|
<File Id="ZAP2MODSEC.PL_1" Name="zap2modsec.pl" Source="release\owasp_crs\util\virtual-patching\zap2modsec.pl" />
|
||||||
|
</Component>
|
||||||
|
</Directory>
|
||||||
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory Id="ProgramMenuFolder">
|
<Directory Id="ProgramMenuFolder">
|
||||||
<Directory Id="ProgramMenuDir" Name="ModSecurity IIS">
|
<Directory Id="ProgramMenuDir" Name="ModSecurity IIS">
|
||||||
<Component Id="StartMenuShortcuts" Guid="43C26B13-C4D8-42F8-8715-3AF78E66C902">
|
<Component Id="StartMenuShortcuts" Guid="43C26B13-C4D8-42F8-8715-3AF78E66C902">
|
||||||
<util:InternetShortcut Id="WebsiteShortcut" Name="ModSecurity" Target="http://www.modsecurity.org/" />
|
<util:InternetShortcut Id="WebsiteShortcut" Name="ModSecurity" Target="http://www.modsecurity.org/" />
|
||||||
<util:InternetShortcut Id="CSR" Name="OWASP ModSecurity Core Rule Set " Target="http://spiderlabs.github.io/owasp-modsecurity-crs/" />
|
<util:InternetShortcut Id="CSR" Name="OWASP ModSecurity Core Rule Set" Target="http://spIderlabs.github.io/owasp-modsecurity-crs/" />
|
||||||
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
|
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
|
||||||
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" />
|
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" />
|
||||||
<Shortcut Id="UninstallProduct" Name="Uninstall" Description="Uninstalls the ModSecurity IIS" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
|
<Shortcut Id="UninstallProduct" Name="Uninstall" Description="Uninstalls the ModSecurity IIS" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
|
||||||
<Shortcut Id="EULA" Name="EULA" Description="EULA" Target="[INSTALLFOLDER]EULA.rtf" WorkingDirectory="INSTALLFOLDER" />
|
<Shortcut Id="EULA" Name="EULA" Description="EULA" Target="[INSTALLFOLDER]EULA.rtf" WorkingDirectory="INSTALLFOLDER" />
|
||||||
|
<Shortcut Id="Readme" Name="EULA" Description="EULA" Target="[INSTALLFOLDER]README.TXT" WorkingDirectory="INSTALLFOLDER" />
|
||||||
</Component>
|
</Component>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
<DirectoryRef Id="INSTALLFOLDER">
|
<DirectoryRef Id="INSTALLFOLDER">
|
||||||
<Component Id="INSTALLERHELPER.EXE" DiskId="1" Guid="D61E9A2F-3077-4FE2-A837-D65CB0F8DA5C">
|
|
||||||
<File Id="INSTALLERHELPER.EXE" Name="InstallerHelper.exe" Source="Release\InstallerHelper.exe" />
|
|
||||||
</Component>
|
|
||||||
<Component Id="INSTALLERHELPER.PDB" DiskId="1" Guid="3A678630-C354-4B00-B108-2FD2489EE54B">
|
|
||||||
<File Id="INSTALLERHELPER.PDB" Name="InstallerHelper.pdb" Source="Release\InstallerHelper.pdb" />
|
|
||||||
</Component>
|
|
||||||
<Component Id="MODSECURITY.XML" DiskId="1" Guid="EC953A29-35AD-44A8-A3D4-875ACCFEC465">
|
<Component Id="MODSECURITY.XML" DiskId="1" Guid="EC953A29-35AD-44A8-A3D4-875ACCFEC465">
|
||||||
<File Id="MODSECURITY.XML" Name="ModSecurity.xml" Source="Release\ModSecurity.xml" />
|
<File Id="MODSECURITY.XML" Name="ModSecurity.xml" Source="ModSecurity.xml" />
|
||||||
</Component>
|
|
||||||
<Component Id="OWASP_CRS.ZIP" DiskId="1" Guid="13513EF7-FB36-4767-BBBF-7EC750BAC80B">
|
|
||||||
<File Id="OWASP_CRS.ZIP" Name="owasp_crs.zip" Source="Release\owasp_crs.zip" />
|
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="README.TXT" DiskId="1" Guid="980270DF-81AB-469B-AB0E-64FA3BA160B6">
|
<Component Id="README.TXT" DiskId="1" Guid="980270DF-81AB-469B-AB0E-64FA3BA160B6">
|
||||||
<File Id="README.TXT" Name="README.TXT" Source="Release\README.TXT" />
|
<File Id="README.TXT" Name="README.TXT" Source="wix\README.TXT" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="EULA.RTF" DiskId="1" Guid="980270DF-81AB-469B-AB0E-64FA3BA160B1">
|
<Component Id="EULA.RTF" DiskId="1" Guid="980270DF-81AB-469B-AB0E-64FA3BA160B1">
|
||||||
<File Id="EULA.RTF" Name="EULA.rtf" Source="wix\EULA.rtf" />
|
<File Id="EULA.RTF" Name="EULA.rtf" Source="wix\EULA.rtf" />
|
||||||
</Component>
|
</Component>
|
||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
<DirectoryRef Id="b64">
|
<?if $(var.Win64) = "yes" ?>
|
||||||
|
<DirectoryRef Id="inetsrv">
|
||||||
<Component Id="LIBAPR_1.DLL" DiskId="1" Guid="514A81F0-2413-42EF-B19F-E2613125ECE0">
|
<Component Id="LIBAPR_1.DLL" DiskId="1" Guid="514A81F0-2413-42EF-B19F-E2613125ECE0">
|
||||||
<File Id="LIBAPR_1.DLL" Name="libapr-1.dll" Source="Release\amd64\libapr-1.dll" />
|
<File Id="LIBAPR_1.DLL" Name="libapr-1.dll" Source="Release\amd64\libapr-1.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
@@ -75,43 +695,42 @@
|
|||||||
<File Id="ZLIB1.DLL" Name="zlib1.dll" Source="Release\amd64\zlib1.dll" />
|
<File Id="ZLIB1.DLL" Name="zlib1.dll" Source="Release\amd64\zlib1.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
<DirectoryRef Id="b32">
|
<?else?>
|
||||||
<Component Id="X86_LIBAPR_1.DLL" DiskId="1" Guid="514A81F0-2413-42EF-B19F-E2613125ECE1">
|
<DirectoryRef Id="inetsrv">
|
||||||
<File Id="X86_LIBAPR_1.DLL" Name="libapr-1.dll" Source="Release\x86\libapr-1.dll" />
|
<Component Id="LIBAPR_1.DLL" DiskId="1" Guid="514A81F0-2413-42EF-B19F-E2613125ECE1">
|
||||||
|
<File Id="LIBAPR_1.DLL" Name="libapr-1.dll" Source="Release\x86\libapr-1.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_LIBAPRICONV_1.DLL" DiskId="1" Guid="BAB541D1-9B8E-4220-9112-4B2ED7FD1191">
|
<Component Id="LIBAPRICONV_1.DLL" DiskId="1" Guid="BAB541D1-9B8E-4220-9112-4B2ED7FD1191">
|
||||||
<File Id="X86_LIBAPRICONV_1.DLL" Name="libapriconv-1.dll" Source="Release\x86\libapriconv-1.dll" />
|
<File Id="LIBAPRICONV_1.DLL" Name="libapriconv-1.dll" Source="Release\x86\libapriconv-1.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_LIBAPRUTIL_1.DLL" DiskId="1" Guid="2B4762E0-FC6C-4156-A1CA-58504B2F0C81">
|
<Component Id="LIBAPRUTIL_1.DLL" DiskId="1" Guid="2B4762E0-FC6C-4156-A1CA-58504B2F0C81">
|
||||||
<File Id="X86_LIBAPRUTIL_1.DLL" Name="libaprutil-1.dll" Source="Release\x86\libaprutil-1.dll" />
|
<File Id="LIBAPRUTIL_1.DLL" Name="libaprutil-1.dll" Source="Release\x86\libaprutil-1.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_LIBCURL.DLL" DiskId="1" Guid="7E3AFCBA-8E8E-4B75-9957-91932325CC61">
|
<Component Id="LIBCURL.DLL" DiskId="1" Guid="7E3AFCBA-8E8E-4B75-9957-91932325CC61">
|
||||||
<File Id="X86_LIBCURL.DLL" Name="libcurl.dll" Source="Release\x86\libcurl.dll" />
|
<File Id="LIBCURL.DLL" Name="libcurl.dll" Source="Release\x86\libcurl.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_LIBXML2.DLL" DiskId="1" Guid="23562703-C4EE-4EF8-B6E4-1E35A2A6BDB1">
|
<Component Id="LIBXML2.DLL" DiskId="1" Guid="23562703-C4EE-4EF8-B6E4-1E35A2A6BDB1">
|
||||||
<File Id="X86_LIBXML2.DLL" Name="libxml2.dll" Source="Release\x86\libxml2.dll" />
|
<File Id="LIBXML2.DLL" Name="libxml2.dll" Source="Release\x86\libxml2.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_LUA5.1.DLL" DiskId="1" Guid="F2A09A92-F564-4C93-AB17-569A6FDA3A71">
|
<Component Id="LUA5.1.DLL" DiskId="1" Guid="F2A09A92-F564-4C93-AB17-569A6FDA3A71">
|
||||||
<File Id="X86_LUA5.1.DLL" Name="lua5.1.dll" Source="Release\x86\lua5.1.dll" />
|
<File Id="LUA5.1.DLL" Name="lua5.1.dll" Source="Release\x86\lua5.1.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_MLOGC.EXE" DiskId="1" Guid="49A1606F-F374-453F-B968-C22CF6FBF9F1">
|
<Component Id="MLOGC.EXE" DiskId="1" Guid="49A1606F-F374-453F-B968-C22CF6FBF9F1">
|
||||||
<File Id="X86_MLOGC.EXE" Name="mlogc.exe" Source="Release\x86\mlogc.exe" />
|
<File Id="MLOGC.EXE" Name="mlogc.exe" Source="Release\x86\mlogc.exe" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_MODSECURITYIIS.DLL" DiskId="1" Guid="8EFD370B-D4D9-456C-A065-C8E9C81201A1">
|
<Component Id="MODSECURITYIIS.DLL" DiskId="1" Guid="8EFD370B-D4D9-456C-A065-C8E9C81201A1">
|
||||||
<File Id="X86_MODSECURITYIIS.DLL" Name="ModSecurityIIS.dll" Source="Release\x86\ModSecurityIIS.dll" />
|
<File Id="MODSECURITYIIS.DLL" Name="ModSecurityIIS.dll" Source="Release\x86\ModSecurityIIS.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_PCRE.DLL" DiskId="1" Guid="F166E5BE-E2F8-47DB-9D17-3A4EB16C2221">
|
<Component Id="PCRE.DLL" DiskId="1" Guid="F166E5BE-E2F8-47DB-9D17-3A4EB16C2221">
|
||||||
<File Id="X86_PCRE.DLL" Name="pcre.dll" Source="Release\x86\pcre.dll" />
|
<File Id="PCRE.DLL" Name="pcre.dll" Source="Release\x86\pcre.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
<Component Id="X86_ZLIB1.DLL" DiskId="1" Guid="067F28EC-DD5A-4E18-9824-05C2C0CC8C51">
|
<Component Id="ZLIB1.DLL" DiskId="1" Guid="067F28EC-DD5A-4E18-9824-05C2C0CC8C51">
|
||||||
<File Id="X86_ZLIB1.DLL" Name="zlib1.dll" Source="Release\x86\zlib1.dll" />
|
<File Id="ZLIB1.DLL" Name="zlib1.dll" Source="Release\x86\zlib1.dll" />
|
||||||
</Component>
|
</Component>
|
||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
|
<?endif?>
|
||||||
<Feature Id="DefaultFeature" Title="Main Feature" Level="1">
|
<Feature Id="DefaultFeature" Title="Main Feature" Level="1">
|
||||||
<ComponentRef Id="INSTALLERHELPER.EXE" />
|
|
||||||
<ComponentRef Id="INSTALLERHELPER.PDB" />
|
|
||||||
<ComponentRef Id="MODSECURITY.XML" />
|
<ComponentRef Id="MODSECURITY.XML" />
|
||||||
<ComponentRef Id="OWASP_CRS.ZIP" />
|
|
||||||
<ComponentRef Id="README.TXT" />
|
<ComponentRef Id="README.TXT" />
|
||||||
<ComponentRef Id="EULA.RTF" />
|
<ComponentRef Id="EULA.RTF" />
|
||||||
<ComponentRef Id="LIBAPR_1.DLL" />
|
<ComponentRef Id="LIBAPR_1.DLL" />
|
||||||
@@ -124,36 +743,185 @@
|
|||||||
<ComponentRef Id="MODSECURITYIIS.DLL" />
|
<ComponentRef Id="MODSECURITYIIS.DLL" />
|
||||||
<ComponentRef Id="PCRE.DLL" />
|
<ComponentRef Id="PCRE.DLL" />
|
||||||
<ComponentRef Id="ZLIB1.DLL" />
|
<ComponentRef Id="ZLIB1.DLL" />
|
||||||
<ComponentRef Id="X86_LIBAPR_1.DLL" />
|
|
||||||
<ComponentRef Id="X86_LIBAPRICONV_1.DLL" />
|
|
||||||
<ComponentRef Id="X86_LIBAPRUTIL_1.DLL" />
|
|
||||||
<ComponentRef Id="X86_LIBCURL.DLL" />
|
|
||||||
<ComponentRef Id="X86_LIBXML2.DLL" />
|
|
||||||
<ComponentRef Id="X86_LUA5.1.DLL" />
|
|
||||||
<ComponentRef Id="X86_MLOGC.EXE" />
|
|
||||||
<ComponentRef Id="X86_MODSECURITYIIS.DLL" />
|
|
||||||
<ComponentRef Id="X86_PCRE.DLL" />
|
|
||||||
<ComponentRef Id="X86_ZLIB1.DLL" />
|
|
||||||
<ComponentRef Id="StartMenuShortcuts" />
|
<ComponentRef Id="StartMenuShortcuts" />
|
||||||
|
<ComponentRef Id="_.GITIGNORE" />
|
||||||
|
<ComponentRef Id="CHANGELOG" />
|
||||||
|
<ComponentRef Id="ID_RANGE" />
|
||||||
|
<ComponentRef Id="INSTALL" />
|
||||||
|
<ComponentRef Id="LICENSE" />
|
||||||
|
<ComponentRef Id="MODSECURITY.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_10_SETUP.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_10_SETUP.CONF.EXAMPLE" />
|
||||||
|
<ComponentRef Id="MODSECURITY_IIS.CONF" />
|
||||||
|
<ComponentRef Id="README.MD" />
|
||||||
|
<ComponentRef Id="MODSECURITY_35_BAD_ROBOTS.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_35_SCANNERS.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_40_GENERIC_ATTACKS.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_41_SQL_INJECTION_ATTACKS.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_23_REQUEST_LIMITS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_30_HTTP_POLICY.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_35_BAD_ROBOTS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_XSS_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_42_TIGHT_SECURITY.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_45_TROJANS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_47_COMMON_EXCEPTIONS.CONF" />
|
||||||
|
<ComponentRef Id="README" />
|
||||||
|
<ComponentRef Id="MODSECURITY_35_BAD_ROBOTS.DATA_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_35_SCANNERS.DATA_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_40_GENERIC_ATTACKS.DATA_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_41_SQL_INJECTION_ATTACKS.DATA_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_50_OUTBOUND.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_50_OUTBOUND_MALWARE.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_23_REQUEST_LIMITS.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_30_HTTP_POLICY.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_35_BAD_ROBOTS.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_XSS_ATTACKS.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_42_TIGHT_SECURITY.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_45_TROJANS.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_47_COMMON_EXCEPTIONS.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_48_LOCAL_EXCEPTIONS.CONF.EXAMPLE" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_49_INBOUND_BLOCKING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_50_OUTBOUND.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_59_OUTBOUND_BLOCKING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_60_CORRELATION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_11_BRUTE_FORCE.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_11_DOS_PROTECTION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_11_PROXY_ABUSE.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_11_SLOW_DOS_PROTECTION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_16_SCANNER_INTEGRATION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_25_CC_TRACK_PAN.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.0_SETUP.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.1_REQUEST_EXCEPTION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_2.9_HONEYTRAP.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_APPSENSOR_DETECTION_POINT_3.0_END.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_HTTP_PARAMETER_POLLUTION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_ADVANCED_FILTERS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_42_CSP_ENFORCEMENT.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_45_CHAR_ANOMALY.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SCANNER_INTEGRATION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_48_BAYES_ANALYSIS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_55_RESPONSE_PROFILING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_56_PVI_CHECKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_61_IP_FORENSICS.CONF" />
|
||||||
|
<ComponentRef Id="ADVANCED_FILTER_CONVERTER.LUA" />
|
||||||
|
<ComponentRef Id="APPSENSOR_REQUEST_EXCEPTION_ENFORCE.LUA" />
|
||||||
|
<ComponentRef Id="APPSENSOR_REQUEST_EXCEPTION_PROFILE.LUA" />
|
||||||
|
<ComponentRef Id="ARACHNI_INTEGRATION.LUA" />
|
||||||
|
<ComponentRef Id="BAYES_CHECK_SPAM.LUA" />
|
||||||
|
<ComponentRef Id="BAYES_TRAIN_HAM.LUA" />
|
||||||
|
<ComponentRef Id="BAYES_TRAIN_SPAM.LUA" />
|
||||||
|
<ComponentRef Id="GATHER_IP_DATA.LUA" />
|
||||||
|
<ComponentRef Id="OSVDB.LUA" />
|
||||||
|
<ComponentRef Id="PROFILE_PAGE_SCRIPTS.LUA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_42_COMMENT_SPAM.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_10_IGNORE_STATIC.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_11_AVS_TRAFFIC.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_13_XML_ENABLER.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_16_AUTHENTICATION_TRACKING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_16_SESSION_HIJACKING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_16_USERNAME_TRACKING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_25_CC_KNOWN.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_42_COMMENT_SPAM.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_43_CSRF_PROTECTION.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_AV_SCANNING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_47_SKIP_OUTBOUND_CHECKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_49_HEADER_TAGGING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_55_APPLICATION_DEFECTS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_55_MARKETING.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_46_SLR_ET_JOOMLA.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_46_SLR_ET_LFI.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_46_SLR_ET_PHPBB.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_46_SLR_ET_RFI.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_46_SLR_ET_SQLI.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_46_SLR_ET_WORDPRESS.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_46_SLR_ET_XSS.DATA" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SLR_ET_JOOMLA_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SLR_ET_LFI_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SLR_ET_PHPBB_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SLR_ET_RFI_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SLR_ET_SQLI_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SLR_ET_WORDPRESS_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_46_SLR_ET_XSS_ATTACKS.CONF" />
|
||||||
|
<ComponentRef Id="ARACHNI2MODSEC.PL" />
|
||||||
|
<ComponentRef Id="README_1" />
|
||||||
|
<ComponentRef Id="RULES_UPDATER_EXAMPLE.CONF" />
|
||||||
|
<ComponentRef Id="RULES_UPDATER.PL" />
|
||||||
|
<ComponentRef Id="RULES_UPDATER.PL.IN" />
|
||||||
|
<ComponentRef Id="RUNAV.PL" />
|
||||||
|
<ComponentRef Id="ZAP2MODSEC.PL" />
|
||||||
|
<ComponentRef Id="RUNAV.PL_1" />
|
||||||
|
<ComponentRef Id="COMMON.C" />
|
||||||
|
<ComponentRef Id="COMMON.H" />
|
||||||
|
<ComponentRef Id="COMP" />
|
||||||
|
<ComponentRef Id="RUNAV_CLAMD.C" />
|
||||||
|
<ComponentRef Id="RUNAV.C" />
|
||||||
|
<ComponentRef Id="JS_OVERRIDES.JS" />
|
||||||
|
<ComponentRef Id="MLOGC_HONEYPOT_SENSOR.CONF" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_10_HONEYPOT.CONF" />
|
||||||
|
<ComponentRef Id="README.MD_1" />
|
||||||
|
<ComponentRef Id="MLOGC_HONEYPOT_SENSOR.CONF_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_10_HONEYPOT.CONF_1" />
|
||||||
|
<ComponentRef Id="README.MD_2" />
|
||||||
|
<ComponentRef Id="INSTALL_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_59_HEADER_TAGGING.CONF" />
|
||||||
|
<ComponentRef Id="README_2" />
|
||||||
|
<ComponentRef Id="RULESTEST.CONF" />
|
||||||
|
<ComponentRef Id="RULESTEST.PL" />
|
||||||
|
<ComponentRef Id="TESTSERVER.CGI" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_23_REQUEST_LIMITS.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_30_HTTP_POLICY.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_35_BAD_ROBOTS.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_XSS_ATTACKS.TESTS" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_50_OUTBOUND.TESTS" />
|
||||||
|
<ComponentRef Id="RUBY.TESTS" />
|
||||||
|
<ComponentRef Id="INSTALL_2" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_59_HEADER_TAGGING.CONF_1" />
|
||||||
|
<ComponentRef Id="README_3" />
|
||||||
|
<ComponentRef Id="RULESTEST.CONF_1" />
|
||||||
|
<ComponentRef Id="RULESTEST.PL_1" />
|
||||||
|
<ComponentRef Id="TESTSERVER.CGI_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_20_PROTOCOL_VIOLATIONS.TESTS_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_21_PROTOCOL_ANOMALIES.TESTS_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_23_REQUEST_LIMITS.TESTS_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_30_HTTP_POLICY.TESTS_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_35_BAD_ROBOTS.TESTS_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_40_GENERIC_ATTACKS.TESTS_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_41_SQL_INJECTION_ATTACKS.TESTS_1" />
|
||||||
|
<ComponentRef Id="MODSECURITY_CRS_50_OUTBOUND.TESTS_1" />
|
||||||
|
<ComponentRef Id="COMMON.C_1" />
|
||||||
|
<ComponentRef Id="COMMON.H_1" />
|
||||||
|
<ComponentRef Id="COMP_1" />
|
||||||
|
<ComponentRef Id="RUNAV_CLAMD.C_1" />
|
||||||
|
<ComponentRef Id="RUNAV.C_1" />
|
||||||
|
<ComponentRef Id="ARACHNI2MODSEC.PL_1" />
|
||||||
|
<ComponentRef Id="ZAP2MODSEC.PL_1" />
|
||||||
</Feature>
|
</Feature>
|
||||||
<UIRef Id="WixUI_Minimal" />
|
<UIRef Id="WixUI_Minimal" />
|
||||||
|
|
||||||
<WixVariable Id="WixUILicenseRtf" Value="wix\EULA.rtf" />
|
<WixVariable Id="WixUILicenseRtf" Value="wix\EULA.rtf" />
|
||||||
<WixVariable Id="WixUIBannerBmp" Value="wix\banner.jpg" />
|
<WixVariable Id="WixUIBannerBmp" Value="wix\banner.jpg" />
|
||||||
<WixVariable Id="WixUIDialogBmp" Value="wix\dialog.jpg" />
|
<WixVariable Id="WixUIDialogBmp" Value="wix\dialog.jpg" />
|
||||||
|
|
||||||
|
|
||||||
<Property Id="QtExecCmdLine" Value=""[INSTALLFOLDER]InstallerHelper.exe" "[INSTALLFOLDER]"" />
|
|
||||||
<CustomAction Id="QtExecCmdLine" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="immediate" Return="check" />
|
|
||||||
|
|
||||||
<Property Id="QtExecCmdLineUninstall" Value=""[INSTALLFOLDER]InstallerHelper.exe" uninstall" />
|
|
||||||
<CustomAction Id="QtExecCmdLineUninstall" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="immediate" Return="check" />
|
|
||||||
|
|
||||||
<InstallExecuteSequence>
|
<InstallExecuteSequence>
|
||||||
<Custom Action="QtExecCmdLine" After="InstallFinalize" />
|
<Custom Action="InstallModule" Before="InstallFinalize"><![CDATA[NOT Installed]]></Custom>
|
||||||
<Custom Action="QtExecCmdLineUninstall" Before="RemoveFiles">INSTALLED</Custom>
|
<Custom Action="UninstallModule" Before="RemoveFiles"><![CDATA[Installed]]></Custom>
|
||||||
</InstallExecuteSequence>
|
</InstallExecuteSequence>
|
||||||
|
|
||||||
<UI />
|
<CustomAction Id="InstallModule" Execute="deferred" Impersonate="no" Return="check" Directory="INSTALLFOLDER" ExeCommand=""[SystemFolder]inetsrv\appcmd.exe" install module /name:"ModSecurity IIS" /image:"[SystemFolder]inetsrv\ModSecurityIIS.dll"" />
|
||||||
|
|
||||||
|
<CustomAction Id="UninstallModule" Execute="deferred" Impersonate="no" Return="check" Directory="INSTALLFOLDER" ExeCommand=""[SystemFolder]inetsrv\appcmd.exe" uninstall module /module.name:"ModSecurity IIS"" />
|
||||||
|
|
||||||
|
<UI>
|
||||||
|
</UI>
|
||||||
</Product>
|
</Product>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|
||||||
|
21
iis/wix/README.TXT
Normal file
21
iis/wix/README.TXT
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
Please note that installing ModSecurity for IIS requires IIS to be installed and enabled.
|
||||||
|
|
||||||
|
|
||||||
|
After installing ModSecurity for IIS, the module will be running in all websites by default. To remove from a website add to web.config:
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<remove name="ModSecurityIIS" />
|
||||||
|
</modules>
|
||||||
|
|
||||||
|
To configure module in a website add to web.config:
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<configuration>
|
||||||
|
<system.webServer>
|
||||||
|
<ModSecurity enabled="true" configFile="c:\inetpub\wwwroot\xss.conf" />
|
||||||
|
</system.webServer>
|
||||||
|
</configuration>
|
||||||
|
|
||||||
|
where configFile is standard ModSecurity config file.
|
||||||
|
|
||||||
|
Events from the module will show up in "Application" Windows log.
|
Reference in New Issue
Block a user