Changeset 562
- Timestamp:
- 06/03/06 17:02:55 (3 years ago)
- Files:
-
- nepenthes/branches/nepenthes-experimental/AUTHORS (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/configure.ac (modified) (12 diffs)
- nepenthes/branches/nepenthes-experimental/modules/dnsresolve-adns/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-creceive/CReceiveDialogue.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-creceive/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-csend/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-curl/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-ftp/FILEDialogue.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-ftp/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-http/HTTPDialogue.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-http/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-link/LinkDialogue.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-link/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-rcp/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-rcp/RCPDialogue.cpp (modified) (2 diffs)
- nepenthes/branches/nepenthes-experimental/modules/download-tftp/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/download-tftp/TFTPDialogue.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/log-download/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/log-irc/IrcDialogue.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/log-irc/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/log-surfnet/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/module-bridge/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/module-portwatch/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/shellcode-generic/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/shellcode-generic/sch_generic_wget.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/shellcode-signatures/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/shellemu-winnt/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/shellemu-winnt/VFSCommandFTP.cpp (modified) (3 diffs)
- nepenthes/branches/nepenthes-experimental/modules/shellemu-winnt/VFSCommandSTART.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/submit-file/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/submit-gotek/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/submit-norman/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-asn1/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-dameware/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-dcom/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-ftpd/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-iis/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-kuang2/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-lsass/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-msdtc/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-msmq/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-mssql/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-mydoom/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-mydoom/MydoomDialogue.cpp (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-netbiosname/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-netdde/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-optix/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-pnp/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-realvnc (added)
- nepenthes/branches/nepenthes-experimental/modules/vuln-realvnc/Makefile.am (added)
- nepenthes/branches/nepenthes-experimental/modules/vuln-realvnc/vuln-realvnc.cpp (added)
- nepenthes/branches/nepenthes-experimental/modules/vuln-realvnc/vuln-realvnc.hpp (added)
- nepenthes/branches/nepenthes-experimental/modules/vuln-sasserftpd/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-ssh/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-sub7/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-upnp/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-veritas/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/vuln-wins/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/x-1/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/x-2/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/x-3/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/x-4/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/x-5/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/modules/x-6/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/LogManager.cpp (modified) (4 diffs)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/Makefile.am (modified) (1 diff)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/Nepenthes.cpp (modified) (10 diffs)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/SubmitManager.cpp (modified) (9 diffs)
- nepenthes/branches/nepenthes-experimental/nepenthes-core/src/Utilities.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/branches/nepenthes-experimental/AUTHORS
r321 r562 3 3 Actual Development Team : 4 4 * Paul Baecher ( nepenthesdev at users dot sourceforge dot net ) 5 * Maximillian Dornseif ( dornseif@informatik.rwth-aachen.de )6 5 * Markus Koetter ( nepenthesdev at users dot sourceforge dot net ) 6 * Georg Wicherski ( georg-wicherski at pixel-house dot net ) 7 7 8 8 Special thanks to: 9 9 * Thorsten Holz 10 10 * Maximillian Dornseif ( dornseif@informatik.rwth-aachen.de ) 11 * Harald Lampesberger nepenthes/branches/nepenthes-experimental/configure.ac
r536 r562 164 164 165 165 166 # libadns 167 AC_SUBST([LIB_ADNS]) 168 169 # libpcre 170 AC_SUBST([LIB_PCRE]) 171 172 # libcurl 173 AC_SUBST([LIB_CURL]) 174 175 # libcapabilities 176 AC_SUBST([LIB_CAP]) 177 178 # libmagic 179 AC_SUBST([LIB_MAGIC]) 180 181 # libpq 182 AC_SUBST([LIB_POSTGRES]) 183 184 # libprelude 185 AC_SUBST([LIB_PRELUDE]) 186 AC_SUBST([LDFLAG_PRELUDE]) 187 AC_SUBST([CPPFLAG_PRELUDE]) 188 189 166 190 dnl ************************************************** 167 191 dnl * debug logging * … … 205 229 [AC_DEFINE(HAVE_LIBCURL, 1, 206 230 [Define if you want to use libcurl]) 207 LIBS="-lcurl $LIBS"],231 LIB_CURL="-lcurl"], 208 232 [AC_MSG_ERROR([libcurl is missing - install it please]) 209 233 ]) … … 240 264 [AC_DEFINE(HAVE_LIBPCRE, 1, 241 265 [Define if you want to use libpcre]) 242 LIB S="-lpcre $LIBS"],266 LIB_PCRE="-lpcre"], 243 267 [AC_MSG_ERROR([libpcre is missing - install it please]) 244 268 ]) … … 275 299 [AC_DEFINE(HAVE_LIBMAGIC, 1, 276 300 [Define if you want to use libmagic]) 277 LIB S="-lmagic $LIBS"],301 LIB_MAGIC="-lmagic"], 278 302 [AC_MSG_ERROR([libmagic is missing - install it please]) 279 303 ]) … … 340 364 else 341 365 AC_DEFINE(HAVE_LIBSSH,1,[Define wether we have libssh]) 342 LIB S="-lssh $LIBS"366 LIB_SSH="-lssh" 343 367 fi 344 368 … … 406 430 else 407 431 AC_DEFINE(HAVE_MYSQL, 1 , [Define if we have mysql client library]) 408 LIB S="-lmysqlclient $LIBS"432 LIB_MYSQL="-lmysqlclient" 409 433 fi 410 434 … … 475 499 else 476 500 AC_DEFINE(HAVE_POSTGRES, 1 , [Define if we have postgre client library]) 477 LIB S="-lpq $LIBS"501 LIB_POSTGRES="-lpq" 478 502 fi 479 503 … … 546 570 [AC_DEFINE(HAVE_LIBADNS, 1, 547 571 [Define if you want to use adns]) 548 LIB S="-ladns $LIBS"],572 LIB_ADNS="-ladns"], 549 573 enable_dnsresolve_adns=no 550 574 ) … … 611 635 PRELUDE_CPPFLAGS=`$LIBPRELUDE_CONFIG --cflags` 612 636 613 LIB S="$PRELUDE_LIBS $LIBS"614 LDFLAG S="$PRELUDE_LDFLAGS $LDFLAGS"615 CPPFLAG S="$PRELUDE_CPPFLAGS $CPPFLAGS"637 LIB_PRELUDE="$PRELUDE_LIBS" 638 LDFLAG_PRELUDE="$PRELUDE_LDFLAGS" 639 CPPFLAG="$PRELUDE_CPPFLAGS" 616 640 617 641 fi … … 628 652 AC_ARG_ENABLE(capabilities, [ --enable-capabilities Enable capabilities [default=auto]], 629 653 [enable_capabilities="$enableval"], 630 [enable_capabilities=" no"])654 [enable_capabilities="yes"]) 631 655 632 656 if test x$enable_capabilities = xno ; then … … 658 682 [ 659 683 AC_DEFINE(HAVE_LIBCAP, 1,[Define if libcap is available to restrict process capabilities]) 660 LIB S="$LIBS-lcap"684 LIB_CAP="-lcap" 661 685 enable_capabilities="yes" 662 686 ], … … 743 767 modules/log-prelude/Makefile 744 768 modules/shellcode-signatures/Makefile 769 modules/vuln-realvnc/Makefile 745 770 ]) 746 771 # modules/log-prelude/Makefile nepenthes/branches/nepenthes-experimental/modules/dnsresolve-adns/Makefile.am
r332 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -ladns9 AM_LDFLAGS = $(LIB_ADNS) 10 10 11 11 pkglib_LTLIBRARIES = dnsresolveadns.la nepenthes/branches/nepenthes-experimental/modules/download-creceive/CReceiveDialogue.cpp
r332 r562 106 106 logSpam("... DATA ... FIXME %i bytes \n",msg->getSize()); 107 107 m_Download->getDownloadBuffer()->addData(msg->getMsg(),msg->getSize()); 108 109 if (m_Download->getDownloadBuffer()->getSize() > 1024 * 1024 * 4) // hardcoded 4mb limit for now (tm) 110 return CL_DROP; 111 108 112 return CL_ASSIGN; 109 113 } nepenthes/branches/nepenthes-experimental/modules/download-creceive/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = downloadcreceive.la nepenthes/branches/nepenthes-experimental/modules/download-csend/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -module -no-undefined -avoid-version -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = downloadcsend.la nepenthes/branches/nepenthes-experimental/modules/download-curl/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lcurl9 AM_LDFLAGS = $(LIB_CURL) 10 10 11 11 pkglib_LTLIBRARIES = downloadcurl.la nepenthes/branches/nepenthes-experimental/modules/download-ftp/FILEDialogue.cpp
r543 r562 100 100 // logSpam("Got %i bytes data\n",msg->getSize()); 101 101 m_Download->getDownloadBuffer()->addData(msg->getMsg(),msg->getSize()); 102 103 if (m_Download->getDownloadBuffer()->getSize() > 1024 * 1024 * 4) // hardcoded 4mb limit for now (tm) 104 return CL_DROP; 105 102 106 return CL_ASSIGN; 103 107 } nepenthes/branches/nepenthes-experimental/modules/download-ftp/Makefile.am
r343 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = downloadftp.la nepenthes/branches/nepenthes-experimental/modules/download-http/HTTPDialogue.cpp
r503 r562 93 93 // g_Nepenthes->getUtilities()->hexdump((byte *)msg->getMsg(),msg->getSize()); 94 94 m_Download->getDownloadBuffer()->addData(msg->getMsg(),msg->getSize()); 95 96 if (m_Download->getDownloadBuffer()->getSize() > 1024 * 1024 * 4) // hardcoded 4mb limit for now (tm) 97 return CL_DROP; 98 95 99 return CL_ASSIGN; 96 100 } nepenthes/branches/nepenthes-experimental/modules/download-http/Makefile.am
r332 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = 9 10 10 11 11 pkglib_LTLIBRARIES = downloadhttp.la nepenthes/branches/nepenthes-experimental/modules/download-link/LinkDialogue.cpp
r341 r562 132 132 case LINK_FILE: 133 133 m_Download->getDownloadBuffer()->addData(msg->getMsg(),msg->getSize()); 134 if( m_Download->getDownloadBuffer()->getSize() > 1024 * 1024 * 4 ) // hardcoded 4mb filesize limit for now (tm) 135 return CL_DROP; 134 136 break; 135 137 } nepenthes/branches/nepenthes-experimental/modules/download-link/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = downloadlink.la nepenthes/branches/nepenthes-experimental/modules/download-rcp/Makefile.am
r341 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -module -no-undefined -avoid-version 9 10 10 11 11 pkglib_LTLIBRARIES = downloadrcp.la nepenthes/branches/nepenthes-experimental/modules/download-rcp/RCPDialogue.cpp
r543 r562 30 30 #include <sys/types.h> 31 31 #include <netinet/in.h> 32 #include <ctype.h> 32 33 33 34 #include "RCPDialogue.hpp" … … 203 204 { 204 205 m_Download->getDownloadBuffer()->addData(msg->getMsg(),msg->getSize()); 206 if ( m_Download->getDownloadBuffer()->getSize() > 1024 * 1024 * 4) // hardcoded 4mb limit for now (tm) 207 { 208 return CL_DROP; 209 } 205 210 } 206 211 break; nepenthes/branches/nepenthes-experimental/modules/download-tftp/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -module -no-undefined -avoid-version -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = downloadtftp.la nepenthes/branches/nepenthes-experimental/modules/download-tftp/TFTPDialogue.cpp
r341 r562 161 161 msg->getSocket()->getNepenthes()->getSubmitMgr()->addSubmission(m_Download); 162 162 m_Socket->setStatus(SS_CLOSED); 163 }else 164 { 165 if( m_Download->getDownloadBuffer()->getSize() > 1024 * 1024 * 4 ) // hardcoded 4mb limit for now (tm) 166 { 167 return CL_DROP; 168 } 163 169 } 164 170 } nepenthes/branches/nepenthes-experimental/modules/log-download/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = logdownload.la nepenthes/branches/nepenthes-experimental/modules/log-irc/IrcDialogue.cpp
r549 r562 439 439 if ( m_LogIrc->getIrcPass().size() > 0 ) 440 440 { 441 string pass = "PASS " + m_LogIrc->getIrcPass() + pass +"\r\n";441 string pass = "PASS " + m_LogIrc->getIrcPass() + "\r\n"; 442 442 m_Socket->doRespond((char *) pass.data(), pass.size()); 443 443 } nepenthes/branches/nepenthes-experimental/modules/log-irc/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = logirc.la nepenthes/branches/nepenthes-experimental/modules/log-surfnet/Makefile.am
r332 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -I/usr/include/postgresql -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 #AM_LDFLAGS = -lpq 9 AM_LDFLAGS = $(LIB_POSTGRES) 10 10 11 11 pkglib_LTLIBRARIES = logsurfnet.la nepenthes/branches/nepenthes-experimental/modules/module-bridge/Makefile.am
r343 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = modulebridge.la nepenthes/branches/nepenthes-experimental/modules/module-portwatch/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = moduleportwatch.la nepenthes/branches/nepenthes-experimental/modules/shellcode-generic/Makefile.am
r372 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre9 AM_LDFLAGS = $(LIB_PCRE) 10 10 11 11 pkglib_LTLIBRARIES = shellcodegeneric.la nepenthes/branches/nepenthes-experimental/modules/shellcode-generic/sch_generic_wget.cpp
r543 r562 39 39 */ 40 40 41 #include <ctype.h> 41 42 42 43 nepenthes/branches/nepenthes-experimental/modules/shellcode-signatures/Makefile.am
r529 r562 8 8 AM_CXXFLAGS = -Wall -Werror 9 9 AM_CFLAGS = -Wall 10 AM_LDFLAGS = -lpcre10 AM_LDFLAGS = $(LIB_PCRE) 11 11 12 12 pkglib_LTLIBRARIES = shellcodesignatures.la nepenthes/branches/nepenthes-experimental/modules/shellemu-winnt/Makefile.am
r341 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = shellemuwinnt.la nepenthes/branches/nepenthes-experimental/modules/shellemu-winnt/VFSCommandFTP.cpp
r543 r562 111 111 string host = "nohostyet"; 112 112 string port = "21"; 113 string user = " anonymous";114 string pass = " guest";113 string user = "nouseryet"; 114 string pass = "nopassyet"; 115 115 string getfile = "nofileyet"; 116 116 string path = ""; 117 118 string filename = ""; 117 119 uint8_t downloadflags=0; 118 120 … … 146 148 if (strncmp(&*it->c_str(),"-s:",3) == 0) 147 149 { 148 string filename = it->substr(3,it->size()-2); 150 filename = it->substr(3,it->size()-2); 151 }else 152 if (strncmp(&*it->c_str(),"-A",2) == 0) // anonymous login 153 { 154 anonymouslogin = true; 155 user = "anonymous"; 156 pass = "guest"; 157 } 158 else 159 host = *it; 160 } 161 162 if (filename != "" ) 163 { 149 164 logDebug("Filenameis %s\n",filename.c_str()); 150 165 VFSFile *file = m_VFS->getCurrentDir()->getFile((char *)filename.c_str()); … … 370 385 371 386 } 372 }else 373 if (strncmp(&*it->c_str(),"-A",2) == 0) // anonymous login 374 { 375 anonymouslogin = true; 376 } 377 else 378 host = *it; 387 379 388 } 380 389 return 0; nepenthes/branches/nepenthes-experimental/modules/shellemu-winnt/VFSCommandSTART.cpp
r339 r562 141 141 logPF(); 142 142 vector <string> params = *paramlist; 143 vector <string>::iterator it,jt;143 // vector <string>::iterator it,jt; 144 144 145 145 uint32_t i; nepenthes/branches/nepenthes-experimental/modules/submit-file/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = submitfile.la nepenthes/branches/nepenthes-experimental/modules/submit-gotek/Makefile.am
r370 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = submitgotek.la nepenthes/branches/nepenthes-experimental/modules/submit-norman/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre9 AM_LDFLAGS = $(LIB_CURL) 10 10 11 11 pkglib_LTLIBRARIES = submitnorman.la nepenthes/branches/nepenthes-experimental/modules/vuln-asn1/Makefile.am
r439 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnasn1.la nepenthes/branches/nepenthes-experimental/modules/vuln-dameware/Makefile.am
r330 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulndameware.la nepenthes/branches/nepenthes-experimental/modules/vuln-dcom/Makefile.am
r439 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulndcom.la nepenthes/branches/nepenthes-experimental/modules/vuln-ftpd/Makefile.am
r345 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnftpd.la nepenthes/branches/nepenthes-experimental/modules/vuln-iis/Makefile.am
r439 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulniis.la nepenthes/branches/nepenthes-experimental/modules/vuln-kuang2/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnkuang2.la nepenthes/branches/nepenthes-experimental/modules/vuln-lsass/Makefile.am
r439 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnlsass.la nepenthes/branches/nepenthes-experimental/modules/vuln-msdtc/Makefile.am
r339 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnmsdtc.la nepenthes/branches/nepenthes-experimental/modules/vuln-msmq/Makefile.am
r439 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnmsmq.la nepenthes/branches/nepenthes-experimental/modules/vuln-mssql/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre10 9 11 10 pkglib_LTLIBRARIES = vulnmssql.la nepenthes/branches/nepenthes-experimental/modules/vuln-mydoom/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnmydoom.la nepenthes/branches/nepenthes-experimental/modules/vuln-mydoom/MydoomDialogue.cpp
r538 r562 131 131 { 132 132 m_Download->getDownloadBuffer()->addData((char *)msg->getMsg(),msg->getSize()); 133 return CL_ASSIGN _AND_DONE;133 return CL_ASSIGN; 134 134 } 135 135 break; nepenthes/branches/nepenthes-experimental/modules/vuln-netbiosname/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnnetbiosname.la nepenthes/branches/nepenthes-experimental/modules/vuln-netdde/Makefile.am
r439 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre 9 10 10 11 11 pkglib_LTLIBRARIES = vulnnetdde.la nepenthes/branches/nepenthes-experimental/modules/vuln-optix/Makefile.am
r321 r562 7 7 AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE 8 8 AM_CXXFLAGS = -Wall -Werror 9 AM_LDFLAGS = -lpcre9 AM_LDFLAGS = $(LIB_PCRE) 10 10 11 11 pkglib_LTLIBRARIES = vulnoptix.la
