"2026-06-29 12:40:01"
This commit is contained in:
+3
-4
@@ -4,9 +4,8 @@ Traceback (most recent call last):
|
||||
for network in _malicous_networks():
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
File "/srv/julia/sites/julia-local/defense/tools.py", line 230, in _malicous_networks
|
||||
n = get24prefix(ip)
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
File "/srv/julia/sites/julia-local/defense/tools.py", line 38, in get24prefix
|
||||
x1,x2,x3,x4 = ip.split(".")
|
||||
^^^^^^^^^^^
|
||||
def get24prefix(ip):
|
||||
^^^^^^^^^^^
|
||||
ValueError: not enough values to unpack (expected 4, got 1)
|
||||
|
||||
Reference in New Issue
Block a user