Micah Snyder
4524c398f3
Argument and return types for fmap_readn(), cli_writen(), cli_readn() converted to use size_t instead of int.
6 years ago
Micah Snyder
5f4f69102d
Correcting types from int to cl_error_t where appropriate. Eliminating unused variables and referencing unused parameters to remove warnings.
6 years ago
Micah Snyder
52cddcbcfd
Updating and cleaning up copyright notices.
6 years ago
Micah Snyder
72fd33c8b2
clang-format'd using new .clang-format rules.
6 years ago
Micah Snyder (micasnyd)
f3fd2ac2e3
Adjustment to Zip extraction logic to make Z_BUF_ERROR error code non-fatal, allowing scans of partially decompressed files.
7 years ago
Micah Snyder
d39cb6581f
Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames.
7 years ago
Micah Snyder (micasnyd)
f61e92da8f
Changing numerous scan options' names, primarily those of heuristic signatature alert options. Original options (command line and clamd) will remain as deprecated & undocumented for a couple releases. Added 2 extra scan options to allow users to differentiate between alerting on encrypted archives vs encrypted documents (bb11911).
7 years ago
Micah Snyder
d7979d4ff7
Restructured scan options flags from a single bitflag field to a structure containing multiple bitflag fields. This also required adding a new function to the bytecode API to get scan options a la carte, and modifying the existing function to hand back scan options in the old/deprecated uint32_t bitflag format. Re-generated bytecode iface header files.
...
Updated libclamav documentation detailing new scan options structure.
Renamed references to 'algorithmic' detection to 'heuristic' detection. Renaming references to 'properties' to 'collect metadata'.
Renamed references to 'scan all' to 'scan all match'.
Renamed a couple of 'Hueristic.*' signature names as 'Heuristics.*' signatures (plural) to match majority of other heuristics.
7 years ago
Josh Soref
7cd9337a70
Spelling Adjustments ( #30 )
...
* spelling: accessed
* spelling: alignment
* spelling: amalgamated
* spelling: answers
* spelling: another
* spelling: acquisition
* spelling: apitid
* spelling: ascii
* spelling: appending
* spelling: appropriate
* spelling: arbitrary
* spelling: architecture
* spelling: asynchronous
* spelling: attachments
* spelling: argument
* spelling: authenticode
* spelling: because
* spelling: boundary
* spelling: brackets
* spelling: bytecode
* spelling: calculation
* spelling: cannot
* spelling: changes
* spelling: check
* spelling: children
* spelling: codegen
* spelling: commands
* spelling: container
* spelling: concatenated
* spelling: conditions
* spelling: continuous
* spelling: conversions
* spelling: corresponding
* spelling: corrupted
* spelling: coverity
* spelling: crafting
* spelling: daemon
* spelling: definition
* spelling: delivered
* spelling: delivery
* spelling: delimit
* spelling: dependencies
* spelling: dependency
* spelling: detection
* spelling: determine
* spelling: disconnects
* spelling: distributed
* spelling: documentation
* spelling: downgraded
* spelling: downloading
* spelling: endianness
* spelling: entities
* spelling: especially
* spelling: empty
* spelling: expected
* spelling: explicitly
* spelling: existent
* spelling: finished
* spelling: flexibility
* spelling: flexible
* spelling: freshclam
* spelling: functions
* spelling: guarantee
* spelling: hardened
* spelling: headaches
* spelling: heighten
* spelling: improper
* spelling: increment
* spelling: indefinitely
* spelling: independent
* spelling: inaccessible
* spelling: infrastructure
Conflicts:
docs/html/node68.html
* spelling: initializing
* spelling: inited
* spelling: instream
* spelling: installed
* spelling: initialization
* spelling: initialize
* spelling: interface
* spelling: intrinsics
* spelling: interpreter
* spelling: introduced
* spelling: invalid
* spelling: latency
* spelling: lawyers
* spelling: libclamav
* spelling: likelihood
* spelling: loop
* spelling: maximum
* spelling: million
* spelling: milliseconds
* spelling: minimum
* spelling: minzhuan
* spelling: multipart
* spelling: misled
* spelling: modifiers
* spelling: notifying
* spelling: objects
* spelling: occurred
* spelling: occurs
* spelling: occurrences
* spelling: optimization
* spelling: original
* spelling: originated
* spelling: output
* spelling: overridden
* spelling: parenthesis
* spelling: partition
* spelling: performance
* spelling: permission
* spelling: phishing
* spelling: portions
* spelling: positives
* spelling: preceded
* spelling: properties
* spelling: protocol
* spelling: protos
* spelling: quarantine
* spelling: recursive
* spelling: referring
* spelling: reorder
* spelling: reset
* spelling: resources
* spelling: resume
* spelling: retrieval
* spelling: rewrite
* spelling: sanity
* spelling: scheduled
* spelling: search
* spelling: section
* spelling: separator
* spelling: separated
* spelling: specify
* spelling: special
* spelling: statement
* spelling: streams
* spelling: succession
* spelling: suggests
* spelling: superfluous
* spelling: suspicious
* spelling: synonym
* spelling: temporarily
* spelling: testfiles
* spelling: transverse
* spelling: turkish
* spelling: typos
* spelling: unable
* spelling: unexpected
* spelling: unexpectedly
* spelling: unfinished
* spelling: unfortunately
* spelling: uninitialized
* spelling: unlocking
* spelling: unnecessary
* spelling: unpack
* spelling: unrecognized
* spelling: unsupported
* spelling: usable
* spelling: wherever
* spelling: wishlist
* spelling: white
* spelling: infrastructure
* spelling: directories
* spelling: overridden
* spelling: permission
* spelling: yesterday
* spelling: initialization
* spelling: intrinsics
* space adjustment for spelling changes
* minor modifications by klin
7 years ago
Steven Morgan
cbf5017a7d
bb11805 fix multiple results. Refactor false positive and heuristic precedence logic.
8 years ago
Matthew Boedicker
1b9b5f6dad
bb11605 - Update the error code to CL_ETMPFILE
...
Signed-off-by: Slawek Ligus <sligus@pivotal.io>
9 years ago
Steven Morgan
7a307529d8
bb11580 - make cli_matchmeta() respect allmatch.
9 years ago
Kevin Lin
51b8cc326d
unzip: check for ctx value as requests do not supply a ctx
9 years ago
Steven Morgan
6146fae115
bb11560 - make cdb signatures also operate on central directory file names because they can differ from the file names in the local headers.
9 years ago
Steven Morgan
9276cd1f5f
bb11547 - print all CDBNAME entries for a zip file when using the -z flag.
9 years ago
Mickey Sola
46a35abe56
mass update of copyright headers
10 years ago
Kevin Lin
202a5daec7
cid 12212 - fix zip decryption failure state
10 years ago
Kevin Lin
038cb67a35
pwdb: restructured storage for time efficiency
10 years ago
Kevin Lin
f5f7b7a1b9
dconf: added passwd dconf for archives, applied to unzip
10 years ago
Kevin Lin
0b119e6f78
unzip: debug message consistency
10 years ago
Kevin Lin
1ac97cf036
unzip: added scanning of decrypted files
10 years ago
Kevin Lin
a60ec79975
unzip: added traditional PKWARE decryption password verification
10 years ago
Kevin Lin
93a9a942f7
ooxml: fixed a number of potential memory issues
11 years ago
Kevin Lin
c8c80ddfd9
bb#11145 - added function to determine ooxml filetype
...
unzip: adjusted dir/file searching mechanism
11 years ago
Shawn Webb
cd94be7a52
Silence a bunch of compiler warnings in libclamav
11 years ago
Kevin Lin
871b862eb5
added changes from peer code review
11 years ago
Kevin Lin
20b45621cb
added pre-class timeouts for ms-docs and pe files
11 years ago
Shawn Webb
60d8d2c352
Move all the crypto API to clamav.h
11 years ago
Kevin Lin
25556519f9
ooxml: moved ooxml specific functions to new source
...
added new source files to Makefile and win32 project
autojunk'd
11 years ago
Kevin Lin
23509742df
ooxml: outputs properties to json file
...
ooxml: json uses integers and booleans with conversion
11 years ago
Kevin Lin
52017fbba3
ooxml: added process of locating property files
...
ooxml: added property file specific callbacks
11 years ago
Kevin Lin
f85f7323b3
ooxml: parsing for [Content_Types].xml
11 years ago
Kevin Lin
c8c878f92e
zip(ooxml): added function for search by name
...
zip(ooxml): added callback functionality for simgle file processing
11 years ago
Steven Morgan
92e0ae1504
bz#10978 fix for allmatch/unzip issue.
11 years ago
Shawn Webb
b2e7c931d0
Use OpenSSL for hashing.
11 years ago
David Raynor
9eff941820
cid #11399
12 years ago
Shawn Webb
7e40bab956
bb6099 - check return value of lseek()
12 years ago
Steve Morgan
6ad45a2931
add initial allscan/allmatch mode to libclamav, clamd, clamdscan, and clamscan with unit tests
13 years ago
Török Edvin
f304dc688a
fmapify: fix const-ness warnings
14 years ago
Török Edvin
e4a0f2c94f
fix compiler warnings (bb #1872 , bb #1934 , bb #1935 )
15 years ago
Tomasz Kojm
4a01b4efe9
libclamav: prefix all engine detections with "Heuristics." (bb#1808)
...
(also change Phishing.Heuristics.* -> Heuristics.Phishing.*)
16 years ago
Tomasz Kojm
570b1d0050
libclamav: cdb: drop FileType; cover ARJ, CAB, TAR, CPIO and 7Z
16 years ago
Tomasz Kojm
15f413d157
libclamav: handle zmd/rmd with cdb (bb#1579)
16 years ago
aCaB
4bf5eb7991
bb#1768
16 years ago
aCaB
b183aa786b
s/need/unneed/ in unzip, remove debug spam and comments in matcher.c
16 years ago
aCaB
49cc1e3c35
s/struct F_MAP/fmap_t/
16 years ago
Tomasz Kojm
6416cdef15
libclamav: unify fp checking; output fp signatures in debug mode
16 years ago
aCaB
11195c0b1b
fix several problems introduced by the win32 commits
16 years ago
aCaB
4cd80898e6
win32#3
16 years ago
aCaB
58481352d5
win32 paths handling
16 years ago