mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
iis: Adds ssdeep support
This commit is contained in:
committed by
Felipe Zimmerle
parent
96865a92d3
commit
7affec82a8
@@ -18,6 +18,8 @@
|
||||
@set APACHE_BIN32=httpd-2.4.6-win32-VC11.zip
|
||||
@set APACHE_BIN64=httpd-2.4.6-win64-VC11.zip
|
||||
@set YAJL=lloyd-yajl-f4b2b1a.zip
|
||||
@set SSDEEP=ssdeep-2.10.tar.gz
|
||||
@set SSDEEP_BIN=ssdeep-2.10.zip
|
||||
|
||||
:: @set VCARGS32="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"
|
||||
:: @set VCARGS64="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
|
||||
@@ -47,12 +49,11 @@ call cl 2>&1 | findstr /C:"x64"
|
||||
@call dependencies/build_apache.bat
|
||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed_apache
|
||||
@cd "%CURRENT_DIR%"
|
||||
echo "c"
|
||||
|
||||
@echo # pcre. - %PCRE%
|
||||
@call dependencies/build_pcre.bat
|
||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed_pcre
|
||||
@cd "%CURRENT_DIR%"
|
||||
echo "b"
|
||||
|
||||
@echo # zlib - %ZLIB%
|
||||
@call dependencies/build_zlib.bat
|
||||
@@ -79,6 +80,11 @@ echo "b"
|
||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed_yajl
|
||||
@cd "%CURRENT_DIR%"
|
||||
|
||||
@echo # ssdeep - %SSDEEP%
|
||||
@call dependencies/build_ssdeep.bat
|
||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed_ssdeep
|
||||
@cd "%CURRENT_DIR%"
|
||||
|
||||
@echo All dependencies were built successfully.
|
||||
@cd "%CURRENT_DIR%"
|
||||
@exit /B 0
|
||||
@@ -119,6 +125,10 @@ echo "b"
|
||||
@echo Failed to setup %YAJL%...
|
||||
@goto failed
|
||||
|
||||
:build_failed_ssdeep
|
||||
@echo Failed to setup %SSDEEP%...
|
||||
@goto failed
|
||||
|
||||
:failed
|
||||
@cd %CURRENT_DIR%
|
||||
@exit /B 1
|
||||
|
Reference in New Issue
Block a user