Browse Source

[Minor] PDF: Increase JS size limit for fuzzy hashes

pull/3599/head
Vsevolod Stakhov 5 years ago
parent
commit
fdb95403bf
  1. 2
      lualib/lua_content/pdf.lua

2
lualib/lua_content/pdf.lua

@ -114,7 +114,7 @@ local config = {
url_extraction = true,
enabled = true,
js_fuzzy = true, -- Generate fuzzy hashes from PDF javascripts
min_js_fuzzy = 32, -- Minimum size of js to be considered as a fuzzy
min_js_fuzzy = 256, -- Minimum size of js to be considered as a fuzzy
openaction_fuzzy_only = false, -- Generate fuzzy from all scripts
max_pdf_objects = 10000, -- Maximum number of objects to be considered
max_pdf_trailer = 10 * 1024 * 1024, -- Maximum trailer size (to avoid abuse)

Loading…
Cancel
Save