pegasus_vm@pegasusvm:~/Documents/eBPFShield$ python3 main.py --feature ebpf_ipintelligence --block kill
Traceback (most recent call last):
File "/home/pegasus_vm/Documents/eBPFShield/main.py", line 350, in <module>
lists.append(TaggedIpList(feed, handle))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pegasus_vm/Documents/eBPFShield/ebpfshield/helpers.py", line 14, in __init__
self.addresses.append(self.ip2int(line))
^^^^^^^^^^^^^^^^^
File "/home/pegasus_vm/Documents/eBPFShield/ebpfshield/helpers.py", line 36, in ip2int
return reduce(lambda out, x: (out << 8) + int(x), ip.split('.'), 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pegasus_vm/Documents/eBPFShield/ebpfshield/helpers.py", line 36, in <lambda>
return reduce(lambda out, x: (out << 8) + int(x), ip.split('.'), 0)
^^^^^^
ValueError: invalid literal for int() with base 10: 'curl 8'