From 05e65132c1caadca306b254817556e8dd7b80e4d Mon Sep 17 00:00:00 2001 From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:38:15 +0200 Subject: [PATCH] fix(port-scan): `int` object is not subscriptable --- web/reNgine/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/reNgine/tasks.py b/web/reNgine/tasks.py index 1df48255f..12e0996de 100644 --- a/web/reNgine/tasks.py +++ b/web/reNgine/tasks.py @@ -1069,7 +1069,7 @@ def port_scanning( lines = port_json_result.readlines() for line in lines: json_st = json.loads(line.strip()) - port_number = json_st['port']['Port'] + port_number = json_st['port'] ip_address = json_st['ip'] host = json_st['host']