mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
merge upstream & update configs
This commit is contained in:
parent
7ff4e465bf
commit
3b92a030c7
BIN
apache2/acmp.obj
Normal file
BIN
apache2/acmp.obj
Normal file
Binary file not shown.
BIN
apache2/apache2_config.obj
Normal file
BIN
apache2/apache2_config.obj
Normal file
Binary file not shown.
BIN
apache2/apache2_io.obj
Normal file
BIN
apache2/apache2_io.obj
Normal file
Binary file not shown.
BIN
apache2/apache2_util.obj
Normal file
BIN
apache2/apache2_util.obj
Normal file
Binary file not shown.
BIN
apache2/libinjection/libinjection_sqli.obj
Normal file
BIN
apache2/libinjection/libinjection_sqli.obj
Normal file
Binary file not shown.
BIN
apache2/mod_security2.exp
Normal file
BIN
apache2/mod_security2.exp
Normal file
Binary file not shown.
BIN
apache2/mod_security2.lib
Normal file
BIN
apache2/mod_security2.lib
Normal file
Binary file not shown.
BIN
apache2/mod_security2.obj
Normal file
BIN
apache2/mod_security2.obj
Normal file
Binary file not shown.
BIN
apache2/mod_security2.so
Normal file
BIN
apache2/mod_security2.so
Normal file
Binary file not shown.
BIN
apache2/modsecurity.obj
Normal file
BIN
apache2/modsecurity.obj
Normal file
Binary file not shown.
BIN
apache2/msc_crypt.obj
Normal file
BIN
apache2/msc_crypt.obj
Normal file
Binary file not shown.
BIN
apache2/msc_geo.obj
Normal file
BIN
apache2/msc_geo.obj
Normal file
Binary file not shown.
BIN
apache2/msc_gsb.obj
Normal file
BIN
apache2/msc_gsb.obj
Normal file
Binary file not shown.
BIN
apache2/msc_logging.obj
Normal file
BIN
apache2/msc_logging.obj
Normal file
Binary file not shown.
BIN
apache2/msc_lua.obj
Normal file
BIN
apache2/msc_lua.obj
Normal file
Binary file not shown.
BIN
apache2/msc_multipart.obj
Normal file
BIN
apache2/msc_multipart.obj
Normal file
Binary file not shown.
BIN
apache2/msc_parsers.obj
Normal file
BIN
apache2/msc_parsers.obj
Normal file
Binary file not shown.
BIN
apache2/msc_pcre.obj
Normal file
BIN
apache2/msc_pcre.obj
Normal file
Binary file not shown.
BIN
apache2/msc_release.obj
Normal file
BIN
apache2/msc_release.obj
Normal file
Binary file not shown.
BIN
apache2/msc_reqbody.obj
Normal file
BIN
apache2/msc_reqbody.obj
Normal file
Binary file not shown.
BIN
apache2/msc_tree.obj
Normal file
BIN
apache2/msc_tree.obj
Normal file
Binary file not shown.
BIN
apache2/msc_unicode.obj
Normal file
BIN
apache2/msc_unicode.obj
Normal file
Binary file not shown.
BIN
apache2/msc_util.obj
Normal file
BIN
apache2/msc_util.obj
Normal file
Binary file not shown.
BIN
apache2/msc_xml.obj
Normal file
BIN
apache2/msc_xml.obj
Normal file
Binary file not shown.
BIN
apache2/persist_dbm.obj
Normal file
BIN
apache2/persist_dbm.obj
Normal file
Binary file not shown.
BIN
apache2/re.obj
Normal file
BIN
apache2/re.obj
Normal file
Binary file not shown.
BIN
apache2/re_actions.obj
Normal file
BIN
apache2/re_actions.obj
Normal file
Binary file not shown.
BIN
apache2/re_operators.obj
Normal file
BIN
apache2/re_operators.obj
Normal file
Binary file not shown.
BIN
apache2/re_tfns.obj
Normal file
BIN
apache2/re_tfns.obj
Normal file
Binary file not shown.
BIN
apache2/re_variables.obj
Normal file
BIN
apache2/re_variables.obj
Normal file
Binary file not shown.
@ -1,5 +1,9 @@
|
||||
pkglibdir = $(prefix)/lib
|
||||
pkglib_LTLIBRARIES = libModSecurityJNI.la
|
||||
#include_HEADERS = re.h modsecurity.h msc_logging.h msc_multipart.h \
|
||||
# msc_parsers.h msc_pcre.h msc_util.h msc_xml.h \
|
||||
# persist_dbm.h apache2.h msc_geo.h acmp.h utf8tables.h \
|
||||
# msc_lua.h msc_release.h
|
||||
|
||||
libModSecurityJNI_la_SOURCES = ../apache2/mod_security2.c \
|
||||
../apache2/apache2_config.c ../apache2/apache2_io.c ../apache2/apache2_util.c \
|
||||
@ -7,19 +11,19 @@ libModSecurityJNI_la_SOURCES = ../apache2/mod_security2.c \
|
||||
../apache2/re_variables.c ../apache2/msc_logging.c ../apache2/msc_xml.c \
|
||||
../apache2/msc_multipart.c ../apache2/modsecurity.c ../apache2/msc_parsers.c \
|
||||
../apache2/msc_util.c ../apache2/msc_pcre.c ../apache2/persist_dbm.c ../apache2/msc_reqbody.c \
|
||||
../apache2/msc_geo.c ../apache2/msc_gsb.c ../apache2/msc_unicode.c \
|
||||
../apache2/acmp.c ../apache2/msc_lua.c ../apache2/msc_release.c \
|
||||
../apache2/msc_crypt.c ../apache2/msc_tree.c
|
||||
../standalone/api.c ../standalone/buckets.c \
|
||||
../standalone/config.c ../standalone/filters.c \
|
||||
../standalone/hooks.c ../standalone/regex.c ../standalone/server.c \
|
||||
org_modsecurity_ModSecurity.c
|
||||
../apache2/msc_geo.c ../apache2/msc_gsb.c ../apache2/msc_unicode.c \
|
||||
../apache2/acmp.c ../apache2/msc_lua.c ../apache2/msc_release.c \
|
||||
../apache2/msc_crypt.c ../apache2/msc_tree.c ../apache2/libinjection/libinjection_sqli.c \
|
||||
../standalone/api.c ../standalone/buckets.c \
|
||||
../standalone/config.c ../standalone/filters.c \
|
||||
../standalone/hooks.c ../standalone/regex.c ../standalone/server.c \
|
||||
org_modsecurity_ModSecurity.c
|
||||
|
||||
libModSecurityJNI_la_CFLAGS = @APXS_CFLAGS@ @APR_CFLAGS@ @APU_CFLAGS@ \
|
||||
@PCRE_CFLAGS@ @LIBXML2_CFLAGS@ @LUA_CFLAGS@ @MODSEC_EXTRA_CFLAGS@ @CURL_CFLAGS@
|
||||
@PCRE_CFLAGS@ @LIBXML2_CFLAGS@ @LUA_CFLAGS@ @MODSEC_EXTRA_CFLAGS@ @CURL_CFLAGS@ -DVERSION_NGINX
|
||||
#libModSecurityJNI_la_CXXFLAGS = @APXS_CFLAGS@ @APR_CFLAGS@ @APU_CFLAGS@ \
|
||||
# @PCRE_CFLAGS@ @LIBXML2_CFLAGS@ @LUA_CFLAGS@ @MODSEC_EXTRA_CFLAGS@ @CURL_CFLAGS@
|
||||
libModSecurityJNI_la_CPPFLAGS = @APR_CPPFLAGS@ @PCRE_CPPFLAGS@ @LIBXML2_CPPFLAGS@ @JNI_CPPFLAGS@
|
||||
libModSecurityJNI_la_CPPFLAGS = @APR_CPPFLAGS@ @PCRE_CPPFLAGS@ @LIBXML2_CPPFLAGS@ @JNI_CPPFLAGS@ @STANDALONE_CPPFLAGS@
|
||||
libModSecurityJNI_la_LIBADD = @APR_LDADD@ @APU_LDADD@ @PCRE_LDADD@ @LIBXML2_LDADD@ @LUA_LDADD@
|
||||
|
||||
if AIX
|
||||
|
@ -71,7 +71,7 @@
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\standalone;c:\Program Files (x86)\Java\jdk1.7.0_21\include\win32;c:\Program Files (x86)\Java\jdk1.7.0_21\include;C:\work\pcre-8.30\include;C:\work\pcre-8.30;C:\work\libxml2-2.7.7\include;C:\apache22\include;..\apache2;c:\work\httpd-2.2.24\include</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\standalone;c:\Program Files (x86)\Java\jdk1.7.0_21\include\win32;c:\Program Files (x86)\Java\jdk1.7.0_21\include;C:\work\pcre-8.30\include;C:\work\pcre-8.30;C:\work\libxml2-2.7.7\include;C:\apache22\include;..\apache2;..\apache\libinjection\;c:\work\httpd-2.2.24\include</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);WIN32;WINNT;inline=APR_INLINE;AP_DECLARE_STATIC;VERSION_STANDALONE</PreprocessorDefinitions>
|
||||
<DisableSpecificWarnings>4244;4018</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
|
BIN
java/ModSecurityLoader/dist/ModSecurityLoader.jar
vendored
BIN
java/ModSecurityLoader/dist/ModSecurityLoader.jar
vendored
Binary file not shown.
@ -46,7 +46,7 @@ public class ModSecurityLoader {
|
||||
}
|
||||
}
|
||||
|
||||
public void main(String[] args) {
|
||||
public static void main(String[] args) {
|
||||
|
||||
}
|
||||
}
|
||||
|
BIN
java/ModSecurityTestApp/dist/ModSecurityTestApp.war
vendored
Normal file
BIN
java/ModSecurityTestApp/dist/ModSecurityTestApp.war
vendored
Normal file
Binary file not shown.
@ -22,7 +22,6 @@ public final class ModSecurity {
|
||||
//ModSecurityLoader calls System.load() for every native library needed by ModSecurity.
|
||||
// try {
|
||||
// Class.forName("org.modsecurity.loader.ModSecurityLoader");
|
||||
// System.out.println("ModSecurity libraries loaded.");
|
||||
// } catch (ClassNotFoundException ex) {
|
||||
// java.util.logging.Logger.getLogger(ModSecurity.class.getName()).log(java.util.logging.Level.SEVERE,
|
||||
// "ModSecurityLoader was not found, please make sure that you have \"ModSecurityLoader.jar\" in your server lib folder.", ex);
|
||||
@ -30,13 +29,6 @@ public final class ModSecurity {
|
||||
|
||||
//If the ModSecurityLoader is not used, native libraries can be loaded here, however this is bad practice since this will raise UnsatisfiedLinkError if
|
||||
//ModSecurity is used in multiple webapps. This will also will raise problems when the web-app is redeployed and the server is running.
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\zlib1.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\libxml2.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\pcre.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\libapr-1.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\libapriconv-1.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\libaprutil-1.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\Debug\\ModSecurityJNI.dll");
|
||||
try {
|
||||
System.loadLibrary("zlib1"); //needed for libxml2 in Windows
|
||||
} catch(UnsatisfiedLinkError ex) {
|
||||
@ -45,11 +37,20 @@ public final class ModSecurity {
|
||||
System.loadLibrary("pcre");
|
||||
System.loadLibrary("libapr-1");
|
||||
try {
|
||||
System.loadLibrary("libapriconv-1");
|
||||
} catch(UnsatisfiedLinkError ex) { //needed for libaprutil-1 in Windows
|
||||
System.loadLibrary("libapriconv-1"); //needed for libaprutil-1 in Windows
|
||||
} catch(UnsatisfiedLinkError ex) {
|
||||
}
|
||||
System.loadLibrary("libaprutil-1");
|
||||
System.loadLibrary("ModSecurityJNI");
|
||||
//System.loadLibrary tries to resolve native libraries from java.library.path variable. If this fails, absolute path to libraries
|
||||
//can be specified using System.load("/path/lib.so")
|
||||
// try { System.load("c:\\work\\mod_security\\java\\libs\\zlib1.dll"); } catch(UnsatisfiedLinkError ex) {}
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\libxml2.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\pcre.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\libapr-1.dll");
|
||||
// try { System.load("c:\\work\\mod_security\\java\\libs\\libapriconv-1.dll"); } catch(UnsatisfiedLinkError ex) {}
|
||||
// System.load("c:\\work\\mod_security\\java\\libs\\libaprutil-1.dll");
|
||||
// System.load("c:\\work\\mod_security\\java\\Debug\\ModSecurityJNI.dll");
|
||||
}
|
||||
|
||||
public ModSecurity(FilterConfig fc, String confFile) throws ServletException {
|
||||
|
@ -214,8 +214,14 @@ void logSec(void *obj, int level, char *str)
|
||||
|
||||
apr_status_t ReadBodyCallback(request_rec *r, char *buf, unsigned int length, unsigned int *readcnt, int *is_eos)
|
||||
{
|
||||
jobject inputStream = getJavaServletContext(r, JAVASERVLET_INSTREAM); //servlet request input stream
|
||||
JNIEnv *env;
|
||||
jclass inputStreamClass;
|
||||
jmethodID read;
|
||||
jbyteArray byteArrayBuf;
|
||||
jint count;
|
||||
jbyte *bufferPtr;
|
||||
jobject inputStream = getJavaServletContext(r, JAVASERVLET_INSTREAM); //servlet request input stream
|
||||
|
||||
|
||||
*readcnt = 0;
|
||||
|
||||
@ -228,13 +234,13 @@ apr_status_t ReadBodyCallback(request_rec *r, char *buf, unsigned int length, un
|
||||
if (!(*jvm)->AttachCurrentThread(jvm, (void **)&env, NULL))
|
||||
{
|
||||
//read request body from the servlet input stream using 'read' method
|
||||
jclass inputStreamClass = (*env)->FindClass(env, SERVLETINPUTSTREAM_JAVACLASS);
|
||||
jmethodID read = (*env)->GetMethodID(env, inputStreamClass, INPUTSTREAM_READ_MET, INPUTSTREAM_READ_SIG);
|
||||
inputStreamClass = (*env)->FindClass(env, SERVLETINPUTSTREAM_JAVACLASS);
|
||||
read = (*env)->GetMethodID(env, inputStreamClass, INPUTSTREAM_READ_MET, INPUTSTREAM_READ_SIG);
|
||||
|
||||
jbyteArray byteArrayBuf = (*env)->NewByteArray(env, length);
|
||||
byteArrayBuf = (*env)->NewByteArray(env, length);
|
||||
|
||||
jint count = (*env)->CallIntMethod(env, inputStream, read, byteArrayBuf, 0, length);
|
||||
jbyte* bufferPtr = (*env)->GetByteArrayElements(env, byteArrayBuf, NULL);
|
||||
count = (*env)->CallIntMethod(env, inputStream, read, byteArrayBuf, 0, length);
|
||||
bufferPtr = (*env)->GetByteArrayElements(env, byteArrayBuf, NULL);
|
||||
|
||||
if (count == -1 || count > length || (*env)->ExceptionCheck(env) == JNI_TRUE) //end of stream
|
||||
{
|
||||
|
BIN
standalone/Debug/CL.read.1.tlog
Normal file
BIN
standalone/Debug/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
standalone/Debug/CL.write.1.tlog
Normal file
BIN
standalone/Debug/CL.write.1.tlog
Normal file
Binary file not shown.
BIN
standalone/Debug/acmp.obj
Normal file
BIN
standalone/Debug/acmp.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/apache2_config.obj
Normal file
BIN
standalone/Debug/apache2_config.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/apache2_io.obj
Normal file
BIN
standalone/Debug/apache2_io.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/apache2_util.obj
Normal file
BIN
standalone/Debug/apache2_util.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/api.obj
Normal file
BIN
standalone/Debug/api.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/buckets.obj
Normal file
BIN
standalone/Debug/buckets.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/cl.command.1.tlog
Normal file
BIN
standalone/Debug/cl.command.1.tlog
Normal file
Binary file not shown.
BIN
standalone/Debug/config.obj
Normal file
BIN
standalone/Debug/config.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/filters.obj
Normal file
BIN
standalone/Debug/filters.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/hooks.obj
Normal file
BIN
standalone/Debug/hooks.obj
Normal file
Binary file not shown.
1
standalone/Debug/link-cvtres.read.1.tlog
Normal file
1
standalone/Debug/link-cvtres.read.1.tlog
Normal file
@ -0,0 +1 @@
|
||||
|
1
standalone/Debug/link-cvtres.write.1.tlog
Normal file
1
standalone/Debug/link-cvtres.write.1.tlog
Normal file
@ -0,0 +1 @@
|
||||
|
1
standalone/Debug/link-rc.read.1.tlog
Normal file
1
standalone/Debug/link-rc.read.1.tlog
Normal file
@ -0,0 +1 @@
|
||||
|
1
standalone/Debug/link-rc.write.1.tlog
Normal file
1
standalone/Debug/link-rc.write.1.tlog
Normal file
@ -0,0 +1 @@
|
||||
|
1
standalone/Debug/link.command.1.tlog
Normal file
1
standalone/Debug/link.command.1.tlog
Normal file
@ -0,0 +1 @@
|
||||
|
1
standalone/Debug/link.read.1.tlog
Normal file
1
standalone/Debug/link.read.1.tlog
Normal file
@ -0,0 +1 @@
|
||||
|
1
standalone/Debug/link.write.1.tlog
Normal file
1
standalone/Debug/link.write.1.tlog
Normal file
@ -0,0 +1 @@
|
||||
|
BIN
standalone/Debug/main.obj
Normal file
BIN
standalone/Debug/main.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/mod_security2.obj
Normal file
BIN
standalone/Debug/mod_security2.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/modsecurity.obj
Normal file
BIN
standalone/Debug/modsecurity.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_crypt.obj
Normal file
BIN
standalone/Debug/msc_crypt.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_geo.obj
Normal file
BIN
standalone/Debug/msc_geo.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_gsb.obj
Normal file
BIN
standalone/Debug/msc_gsb.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_logging.obj
Normal file
BIN
standalone/Debug/msc_logging.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_lua.obj
Normal file
BIN
standalone/Debug/msc_lua.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_multipart.obj
Normal file
BIN
standalone/Debug/msc_multipart.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_parsers.obj
Normal file
BIN
standalone/Debug/msc_parsers.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_pcre.obj
Normal file
BIN
standalone/Debug/msc_pcre.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_release.obj
Normal file
BIN
standalone/Debug/msc_release.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_reqbody.obj
Normal file
BIN
standalone/Debug/msc_reqbody.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_tree.obj
Normal file
BIN
standalone/Debug/msc_tree.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_unicode.obj
Normal file
BIN
standalone/Debug/msc_unicode.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_util.obj
Normal file
BIN
standalone/Debug/msc_util.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/msc_xml.obj
Normal file
BIN
standalone/Debug/msc_xml.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/persist_dbm.obj
Normal file
BIN
standalone/Debug/persist_dbm.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/re.obj
Normal file
BIN
standalone/Debug/re.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/re_actions.obj
Normal file
BIN
standalone/Debug/re_actions.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/re_operators.obj
Normal file
BIN
standalone/Debug/re_operators.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/re_tfns.obj
Normal file
BIN
standalone/Debug/re_tfns.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/re_variables.obj
Normal file
BIN
standalone/Debug/re_variables.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/regex.obj
Normal file
BIN
standalone/Debug/regex.obj
Normal file
Binary file not shown.
BIN
standalone/Debug/server.obj
Normal file
BIN
standalone/Debug/server.obj
Normal file
Binary file not shown.
84
standalone/Debug/standalone.Build.CppClean.log
Normal file
84
standalone/Debug/standalone.Build.CppClean.log
Normal file
@ -0,0 +1,84 @@
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_PCRE.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_RELEASE.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_REQBODY.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_TREE.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_UNICODE.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_UTIL.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_XML.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\PERSIST_DBM.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\RE.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\RE_ACTIONS.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\RE_OPERATORS.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\RE_TFNS.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\RE_VARIABLES.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\API.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\BUCKETS.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\CONFIG.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\FILTERS.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\HOOKS.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\REGEX.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\SERVER.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\ACMP.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\APACHE2_CONFIG.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\APACHE2_IO.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\APACHE2_UTIL.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MODSECURITY.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MOD_SECURITY2.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_CRYPT.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_GEO.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_GSB.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_LOGGING.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_LUA.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_MULTIPART.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MSC_PARSERS.OBJ
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\VC110.PDB
|
||||
C:\WORK\MOD_SECURITY2\STANDALONE\DEBUG\MAIN.OBJ
|
||||
c:\work\mod_security2\standalone\Debug\acmp.obj
|
||||
c:\work\mod_security2\standalone\Debug\apache2_config.obj
|
||||
c:\work\mod_security2\standalone\Debug\apache2_io.obj
|
||||
c:\work\mod_security2\standalone\Debug\apache2_util.obj
|
||||
c:\work\mod_security2\standalone\Debug\api.obj
|
||||
c:\work\mod_security2\standalone\Debug\buckets.obj
|
||||
c:\work\mod_security2\standalone\Debug\config.obj
|
||||
c:\work\mod_security2\standalone\Debug\filters.obj
|
||||
c:\work\mod_security2\standalone\Debug\hooks.obj
|
||||
c:\work\mod_security2\standalone\Debug\main.obj
|
||||
c:\work\mod_security2\standalone\Debug\modsecurity.obj
|
||||
c:\work\mod_security2\standalone\Debug\mod_security2.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_crypt.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_geo.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_gsb.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_logging.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_lua.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_multipart.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_parsers.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_pcre.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_release.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_reqbody.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_tree.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_unicode.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_util.obj
|
||||
c:\work\mod_security2\standalone\Debug\msc_xml.obj
|
||||
c:\work\mod_security2\standalone\Debug\persist_dbm.obj
|
||||
c:\work\mod_security2\standalone\Debug\re.obj
|
||||
c:\work\mod_security2\standalone\Debug\regex.obj
|
||||
c:\work\mod_security2\standalone\Debug\re_actions.obj
|
||||
c:\work\mod_security2\standalone\Debug\re_operators.obj
|
||||
c:\work\mod_security2\standalone\Debug\re_tfns.obj
|
||||
c:\work\mod_security2\standalone\Debug\re_variables.obj
|
||||
c:\work\mod_security2\standalone\Debug\server.obj
|
||||
c:\work\mod_security2\standalone\Debug\cl.command.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\CL.read.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\CL.write.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\link-cvtres.read.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\link-cvtres.write.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\link-rc.read.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\link-rc.write.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\link.command.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\link.read.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\link.write.1.tlog
|
||||
c:\work\mod_security2\standalone\Debug\standalone.exp
|
||||
c:\work\mod_security2\standalone\Debug\vc110.idb
|
||||
c:\work\mod_security2\standalone\Debug\standalone.pdb
|
||||
c:\work\mod_security2\standalone\Debug\vc110.pdb
|
||||
C:\work\mod_security2\standalone\Debug\standalone.pdb
|
BIN
standalone/Debug/standalone.exp
Normal file
BIN
standalone/Debug/standalone.exp
Normal file
Binary file not shown.
2
standalone/Debug/standalone.lastbuildstate
Normal file
2
standalone/Debug/standalone.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
||||
#v4.0:v110:false
|
||||
Debug|Win32|C:\work\mod_security2\standalone\|
|
BIN
standalone/Debug/standalone.lib
Normal file
BIN
standalone/Debug/standalone.lib
Normal file
Binary file not shown.
90
standalone/Debug/standalone.log
Normal file
90
standalone/Debug/standalone.log
Normal file
@ -0,0 +1,90 @@
|
||||
Build started 8/23/2013 12:59:45 PM.
|
||||
1>Project "c:\work\mod_security2\standalone\standalone.vcxproj" on node 2 (Build target(s)).
|
||||
1>ClCompile:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /I"C:\work\pcre-8.30\include" /I"C:\work\pcre-8.30" /I"C:\work\libxml2-2.7.7\include" /IC:\apache22\include /I..\apache2 /Ic:\work\apache24\include /ZI /nologo /W3 /WX- /Od /Oy- /D _MBCS /D _MBCS /D WIN32 /D WINNT /D inline=APR_INLINE /D AP_DECLARE_STATIC /D VERSION_STANDALONE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc110.pdb" /Gd /TC /wd4244 /wd4018 /analyze- /errorReport:prompt ..\apache2\acmp.c ..\apache2\apache2_config.c ..\apache2\apache2_io.c ..\apache2\apache2_util.c ..\apache2\modsecurity.c ..\apache2\mod_security2.c ..\apache2\msc_crypt.c ..\apache2\msc_geo.c ..\apache2\msc_gsb.c ..\apache2\msc_logging.c ..\apache2\msc_lua.c ..\apache2\msc_multipart.c ..\apache2\msc_parsers.c ..\apache2\msc_pcre.c ..\apache2\msc_release.c ..\apache2\msc_reqbody.c ..\apache2\msc_tree.c ..\apache2\msc_unicode.c ..\apache2\msc_util.c ..\apache2\msc_xml.c ..\apache2\persist_dbm.c ..\apache2\re.c ..\apache2\re_actions.c ..\apache2\re_operators.c ..\apache2\re_tfns.c ..\apache2\re_variables.c api.c buckets.c config.c filters.c hooks.c regex.c server.c
|
||||
server.c
|
||||
regex.c
|
||||
hooks.c
|
||||
filters.c
|
||||
config.c
|
||||
buckets.c
|
||||
api.c
|
||||
1>c:\work\mod_security2\standalone\api.c(226): warning C4101: 'rc' : unreferenced local variable
|
||||
re_variables.c
|
||||
re_tfns.c
|
||||
re_operators.c
|
||||
re_actions.c
|
||||
re.c
|
||||
persist_dbm.c
|
||||
msc_xml.c
|
||||
msc_util.c
|
||||
msc_unicode.c
|
||||
msc_tree.c
|
||||
msc_reqbody.c
|
||||
msc_release.c
|
||||
msc_pcre.c
|
||||
Generating Code...
|
||||
Compiling...
|
||||
msc_parsers.c
|
||||
msc_multipart.c
|
||||
msc_lua.c
|
||||
msc_logging.c
|
||||
msc_gsb.c
|
||||
msc_geo.c
|
||||
msc_crypt.c
|
||||
1>c:\work\mod_security2\apache2\msc_crypt.c(70): warning C4101: 'i' : unreferenced local variable
|
||||
mod_security2.c
|
||||
modsecurity.c
|
||||
apache2_util.c
|
||||
apache2_io.c
|
||||
apache2_config.c
|
||||
acmp.c
|
||||
Generating Code...
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /I"C:\work\pcre-8.30\include" /I"C:\work\pcre-8.30" /I"C:\work\libxml2-2.7.7\include" /IC:\apache22\include /I..\apache2 /Ic:\work\apache24\include /ZI /nologo /W3 /WX- /Od /Oy- /D _MBCS /D _MBCS /D WIN32 /D WINNT /D inline=APR_INLINE /D AP_DECLARE_STATIC /D VERSION_STANDALONE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc110.pdb" /Gd /TP /wd4244 /wd4018 /analyze- /errorReport:prompt main.cpp
|
||||
main.cpp
|
||||
1>c:\work\mod_security2\standalone\main.cpp(16): warning C4005: 'inline' : macro redefinition
|
||||
command-line arguments : see previous definition of 'inline'
|
||||
Link:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\work\mod_security2\standalone\Debug\standalone.exe" /INCREMENTAL /NOLOGO /LIBPATH:c:\drop\x86 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 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "libapr-1.lib" "libaprutil-1.lib" pcre.lib libxml2.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\work\mod_security2\standalone\Debug\standalone.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\work\mod_security2\standalone\Debug\standalone.lib" /MACHINE:X86 Debug\acmp.obj
|
||||
Debug\apache2_config.obj
|
||||
Debug\apache2_io.obj
|
||||
Debug\apache2_util.obj
|
||||
Debug\modsecurity.obj
|
||||
Debug\mod_security2.obj
|
||||
Debug\msc_crypt.obj
|
||||
Debug\msc_geo.obj
|
||||
Debug\msc_gsb.obj
|
||||
Debug\msc_logging.obj
|
||||
Debug\msc_lua.obj
|
||||
Debug\msc_multipart.obj
|
||||
Debug\msc_parsers.obj
|
||||
Debug\msc_pcre.obj
|
||||
Debug\msc_release.obj
|
||||
Debug\msc_reqbody.obj
|
||||
Debug\msc_tree.obj
|
||||
Debug\msc_unicode.obj
|
||||
Debug\msc_util.obj
|
||||
Debug\msc_xml.obj
|
||||
Debug\persist_dbm.obj
|
||||
Debug\re.obj
|
||||
Debug\re_actions.obj
|
||||
Debug\re_operators.obj
|
||||
Debug\re_tfns.obj
|
||||
Debug\re_variables.obj
|
||||
Debug\api.obj
|
||||
Debug\buckets.obj
|
||||
Debug\config.obj
|
||||
Debug\filters.obj
|
||||
Debug\hooks.obj
|
||||
Debug\main.obj
|
||||
Debug\regex.obj
|
||||
Debug\server.obj
|
||||
Creating library C:\work\mod_security2\standalone\Debug\standalone.lib and object C:\work\mod_security2\standalone\Debug\standalone.exp
|
||||
1>re_operators.obj : error LNK2019: unresolved external symbol _libinjection_sqli_init referenced in function _msre_op_detectSQLi_execute
|
||||
1>re_operators.obj : error LNK2019: unresolved external symbol _libinjection_is_sqli referenced in function _msre_op_detectSQLi_execute
|
||||
1>C:\work\mod_security2\standalone\Debug\standalone.exe : fatal error LNK1120: 2 unresolved externals
|
||||
1>Done Building Project "c:\work\mod_security2\standalone\standalone.vcxproj" (Build target(s)) -- FAILED.
|
||||
|
||||
Build FAILED.
|
||||
|
||||
Time Elapsed 00:00:15.65
|
BIN
standalone/Debug/standalone.pdb
Normal file
BIN
standalone/Debug/standalone.pdb
Normal file
Binary file not shown.
0
standalone/Debug/standalone.unsuccessfulbuild
Normal file
0
standalone/Debug/standalone.unsuccessfulbuild
Normal file
BIN
standalone/Debug/vc110.idb
Normal file
BIN
standalone/Debug/vc110.idb
Normal file
Binary file not shown.
BIN
standalone/Debug/vc110.pdb
Normal file
BIN
standalone/Debug/vc110.pdb
Normal file
Binary file not shown.
BIN
standalone/libapr-1.lib
Normal file
BIN
standalone/libapr-1.lib
Normal file
Binary file not shown.
BIN
standalone/libaprutil-1.lib
Normal file
BIN
standalone/libaprutil-1.lib
Normal file
Binary file not shown.
BIN
standalone/libxml2.lib
Normal file
BIN
standalone/libxml2.lib
Normal file
Binary file not shown.
BIN
standalone/pcre.lib
Normal file
BIN
standalone/pcre.lib
Normal file
Binary file not shown.
BIN
standalone/standalone.sdf
Normal file
BIN
standalone/standalone.sdf
Normal file
Binary file not shown.
BIN
standalone/standalone.v11.suo
Normal file
BIN
standalone/standalone.v11.suo
Normal file
Binary file not shown.
@ -70,7 +70,7 @@
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>C:\work\pcre-8.30\include;C:\work\pcre-8.30;C:\work\libxml2-2.7.7\include;C:\apache22\include;..\apache2;c:\work\httpd-2.2.24\include</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>C:\work\pcre-8.30\include;C:\work\pcre-8.30;C:\work\libxml2-2.7.7\include;C:\apache22\include;..\apache2;c:\work\apache24\include</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);WIN32;WINNT;inline=APR_INLINE;AP_DECLARE_STATIC;VERSION_STANDALONE</PreprocessorDefinitions>
|
||||
<DisableSpecificWarnings>4244;4018</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
@ -78,6 +78,7 @@
|
||||
<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>
|
||||
<AdditionalLibraryDirectories>c:\drop\x86</AdditionalLibraryDirectories>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
|
Loading…
x
Reference in New Issue
Block a user