Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3c458e7
allow change layout to users from wide full screen to centric (#3040)
doomedraven May 26, 2026
1eab547
Bump idna from 3.10 to 3.15 (#3037)
dependabot[bot] May 26, 2026
250bc66
Standardize TLP parameter, match TLP HTML component to spec (#3034)
RobertBendun May 26, 2026
df699b9
Bump pyzipper from 0.3.6 to 0.4.0 (#3028)
dependabot[bot] May 26, 2026
74fd5e9
Bump authlib from 1.6.9 to 1.6.12 (#3027)
dependabot[bot] May 26, 2026
0b4990b
Bump ujson from 5.12.0 to 5.12.1 (#3026)
dependabot[bot] May 26, 2026
003a05b
Bump urllib3 from 2.3.0 to 2.7.0 (#3013)
dependabot[bot] May 26, 2026
34c8713
build(deps): bump django from 5.1.14 to 5.1.15 (#3011)
dependabot[bot] May 26, 2026
7a9c1db
Bump python-multipart from 0.0.22 to 0.0.27 (#3009)
dependabot[bot] May 26, 2026
5e20491
Bump mako from 1.3.8 to 1.3.12 (#3008)
dependabot[bot] May 26, 2026
adb7a64
Bump pip from 25.3 to 26.1 (#3005)
dependabot[bot] May 26, 2026
9ae13aa
Bump twisted from 24.11.0 to 26.4.0rc2 (#3004)
dependabot[bot] May 26, 2026
4d6c0f7
Bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.2 in /utils/go-fetcher…
dependabot[bot] May 26, 2026
78147b0
Remove pcap flavours from the report zip archive (#2992)
RobertBendun May 26, 2026
19ca7f3
Bump lxml from 5.3.0 to 6.1.0 (#2991)
dependabot[bot] May 26, 2026
da30a8b
Bump python-dotenv from 1.0.1 to 1.2.2 (#2990)
dependabot[bot] May 26, 2026
fd3b0a9
Bump pypdf from 5.2.0 to 6.10.2 (#2981)
dependabot[bot] May 26, 2026
e83d67b
Bump cryptography from 44.0.1 to 46.0.7 (#2968)
dependabot[bot] May 26, 2026
44b6976
Optional url splitter (#2967)
MMikePL May 26, 2026
835feba
Bump aiohttp from 3.13.2 to 3.13.4 (#2963)
dependabot[bot] May 26, 2026
c627d82
Bump pygments from 2.19.1 to 2.20.0 (#2961)
dependabot[bot] May 26, 2026
803a904
Bump cbor2 from 5.8.0 to 5.9.0 (#2953)
dependabot[bot] May 26, 2026
3658ce8
Bump pyasn1 from 0.5.1 to 0.6.3 (#2948)
dependabot[bot] May 26, 2026
dba37d5
Introduce masking option for apt-daily-upgrade.timer
doomedraven May 26, 2026
2d4fd16
Bump pillow from 11.1.0 to 12.2.0 (#2972)
dependabot[bot] May 26, 2026
fa44b26
we search in mongodb by desc, index was wrong (#3035)
doomedraven May 26, 2026
66fdb7e
Bump sqlparse from 0.5.3 to 0.5.4 (#3010)
dependabot[bot] May 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions conf/default/web.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ expose_process_log = no
reprocess_tasks = no
# Allow to reprocess failed processing tasks
reprocess_failed_processing = no
# Allows you to define URL splitter, "," is default
url_splitter = ,
# Allows you to define URL splitter (for example comma). Empty value disables splitting
url_splitter =
# Limit number of files extracted from archive in demux.py
demux_files_limit = 10
public_searches = yes
Expand Down
7 changes: 7 additions & 0 deletions installer/kvm-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,19 @@ BXPC_REPLACER='<WOOT>'
# what to use as a replacement for seabios in config.h (e.g., 'AMI', 'Award', 'Phoenix')
BOCHS_SEABIOS_BLOCK_REPLACER='<WOOT>'

# If apt-daily-upgrade.timer should be masked or not.
# 1 = mask it
# 0 = don't mask it
MASK_APT_DAILY_UPGRADE=1

# if a config file is present, read it in
if [ -f "./kvm-config.sh" ]; then
. ./kvm-config.sh
fi

if [ "$MASK_APT_DAILY_UPGRADE" -ge 1 ]; then
systemctl mask apt-daily-upgrade.timer
fi

# ToDO add to see if cpu supports VTx
# egrep '(vmx|svm)' --color=always /proc/cpuinfo
Expand Down
3 changes: 3 additions & 0 deletions lib/cuckoo/core/data/tasking.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ def add(
else:
return None

if tlp:
tlp = tlp.lower()

task.category = obj.__class__.__name__.lower()
task.timeout = timeout
task.package = package
Expand Down
49 changes: 34 additions & 15 deletions lib/cuckoo/core/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,26 +121,45 @@ def check_webgui_mongo():
# Create an index based on the info.id dict key. Increases overall scalability
# with large amounts of data.
# Note: Silently ignores the creation if the index already exists.
mongo_create_index("analysis", "info.id", name="info.id_1")
mongo_create_index("files", [("_task_ids", 1)])

index_configs = [
("analysis", [("info.id", -1)], {"name": "info_id_desc"}),
("files", [("_task_ids", 1)], {}),
]
if repconf.mongodb.get("index_yara", False):
mongo_create_index("files", "yara.name", name="yara_name")
mongo_create_index("files", "cape_yara.name", name="cape_yara_name")

index_configs.extend([
("files", "yara.name", {"name": "yara_name"}),
("files", "cape_yara.name", {"name": "cape_yara_name"}),
])
if repconf.mongodb.get("index_clamav", False):
mongo_create_index("files", "clamav", name="clamav_index")

index_configs.append(("files", "clamav", {"name": "clamav_index"}))
if repconf.mongodb.get("index_hashes", False):
mongo_create_index("files", "md5", name="file_md5")
mongo_create_index("files", "sha1", name="file_sha1")
mongo_create_index("files", "ssdeep", name="file_ssdeep")

index_configs.extend([
("files", "md5", {"name": "file_md5"}),
("files", "sha1", {"name": "file_sha1"}),
("files", "ssdeep", {"name": "file_ssdeep"}),
])
if repconf.mongodb.get("index_detections", False):
mongo_create_index("analysis", "detections.family", name="detections_family")

index_configs.append(("analysis", [("detections.family", 1), ("_id", -1)], {"name": "detections_family_id_desc"}))
if repconf.mongodb.get("index_filenames", False):
mongo_create_index("analysis", "target.file.name", name="name_1")
index_configs.append(("analysis", [("target.file.name", 1), ("_id", -1)], {"name": "target_file_name_id_desc"}))

# Obsolete indexes to drop
obsolete_indexes = {
"analysis": ["info.id_1", "detections_family", "name_1", "detections_family_1", "target_file_name_1"],
}

for coll, keys, kwargs in index_configs:
try:
mongo_create_index(coll, keys, **kwargs)
except Exception as e:
log.warning("Failed to create MongoDB index %s on %s: %s", kwargs.get("name", keys), coll, e)

# Drop obsolete indexes
from dev_utils.mongodb import results_db
for coll, indexes in obsolete_indexes.items():
for index_name in indexes:
with suppress(Exception):
getattr(results_db, coll).drop_index(index_name)
elif repconf.elasticsearchdb.enabled:
# ToDo add check
pass
Expand Down
834 changes: 434 additions & 400 deletions requirements.txt

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions utils/go-fetcher/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go-fetcher

go 1.24.0
go 1.25.0

require (
gorm.io/driver/mysql v1.5.2
Expand All @@ -12,12 +12,12 @@ require (
require (
github.com/go-sql-driver/mysql v1.7.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgx/v5 v5.5.4 // indirect
github.com/jackc/puddle/v2 v2.2.1 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.9.2 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-sqlite3 v1.14.17 // indirect
golang.org/x/crypto v0.45.0 // indirect
golang.org/x/sync v0.18.0 // indirect
golang.org/x/text v0.31.0 // indirect
)
20 changes: 10 additions & 10 deletions utils/go-fetcher/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ
github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk=
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
github.com/jackc/pgx/v5 v5.5.4 h1:Xp2aQS8uXButQdnCMWNmvx6UysWQQC+u1EoizjguY+8=
github.com/jackc/pgx/v5 v5.5.4/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A=
github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk=
github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
github.com/jackc/pgx/v5 v5.9.2 h1:3ZhOzMWnR4yJ+RW1XImIPsD1aNSz4T4fyP7zlQb56hw=
github.com/jackc/pgx/v5 v5.9.2/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc=
github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ=
Expand All @@ -22,10 +22,10 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
Loading
Loading