Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions src/install/requirements_common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
testresources==2.0.1

# General python dependencies
aiohttp~=3.13.3
docker~=7.1.0
pytest-rerunfailures~=14.0
lief~=0.17.0
Expand Down
7 changes: 3 additions & 4 deletions src/plugins/analysis/file_system_metadata/routes/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
from web_interface.security.decorator import roles_accepted
from web_interface.security.privileges import PRIVILEGES

from ..code.file_system_metadata import AnalysisPlugin

if TYPE_CHECKING:
from web_interface.frontend_database import FrontendDatabase


VIEW_PATH = Path(__file__).absolute().parent / 'ajax_view.html'
PLUGIN_NAME = 'file_system_metadata'


class ParentAnalysisLookupMixin:
Expand All @@ -31,7 +30,7 @@ def get_analysis_results_for_included_uid(self, uid: str) -> list:
with get_shared_session(self.db.frontend) as db:
vfp = db.get_vfps(uid)
for parent_uid in vfp:
parent_analysis = db.get_analysis(parent_uid, AnalysisPlugin.NAME) or {}
parent_analysis = db.get_analysis(parent_uid, PLUGIN_NAME) or {}
results.append(_get_results_from_parent_fo(parent_analysis.get('result', {}), parent_uid, vfp))
return results

Expand Down Expand Up @@ -83,4 +82,4 @@ def get(self, uid: str):
endpoint = self.ENDPOINTS[0][0]
if not results:
error_message(f'no results found for uid {uid}', endpoint, request_data={'uid': uid})
return success_message({AnalysisPlugin.NAME: results}, endpoint, request_data={'uid': uid})
return success_message({PLUGIN_NAME: results}, endpoint, request_data={'uid': uid})
2 changes: 0 additions & 2 deletions src/plugins/analysis/ip_and_uri_finder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
git+https://github.com/fkie-cad/common_analysis_ip_and_uri.git
geoip2==4.7.0
# dependency of geoip2 for python >= 3.12
aiohttp~=3.13.3
3 changes: 1 addition & 2 deletions src/plugins/analysis/qemu_exec/routes/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
from web_interface.security.decorator import roles_accepted
from web_interface.security.privileges import PRIVILEGES

from ..code.qemu_exec import PLUGIN_NAME

PLUGIN_NAME = 'qemu_exec'
VIEW_PATH = Path(__file__).absolute().parent / 'ajax_view.html'


Expand Down