encrypted zips / sophie

Chris Edwards <[email protected]>
Newsgroups gmane.comp.security.virus.vtools,gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
Hi,

If anyone's interested, its easy to make sophie block encrypted zips.

In sophie_core.c find the "case SOPHOS_SAVI_ERROR_FILE_ENCRYPTED:" and set
the return value to 1.


  case SOPHOS_SAVI_ERROR_FILE_ENCRYPTED:
  sophie_print(0, "%s %s", WARNSTR, SOPHIE_SAVI_ERROR_FILE_ENCRYPTED);
  strncpy(ret_error_string, SOPHIE_SAVI_ERROR_FILE_ENCRYPTED,  sizeof(ret_error_string)-1);
  #ifdef ONLY_FATAL_ERRORS
 		retval = 1;
  #else
	 	retval = 1;
  #endif


Hope this is (some) use.

I guess it would nice to have this as a run-time config option ( Hi Vanja! )

Chris

--
Chris Edwards, Glasgow University Computing Service
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.