bitbrute / evillimiter

Tool that monitors, analyzes and limits the bandwidth of devices on the local network without administrative access.
MIT License
1.62k stars 321 forks source link

[Errno 2] #84

Closed ghost closed 3 years ago

ghost commented 3 years ago

I got this error message when I run evillimiter ? FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'

how to fix it?

leonardus commented 3 years ago

What operating system are you on?

ghost commented 3 years ago

operating system

Linux

steph232 commented 3 years ago

Same here, everything was fine until I ran the system update (Kali Linux 2020.3 / 64bit) to version 2020.4 and boom, 4 more tools besides evillimiter prints me relative to library("c") :

Traceback (most recent call last): File "/usr/local/bin/evillimiter", line 33, in sys.exit(load_entry_point('evillimiter==1.5.0', 'console_scripts', 'evillimiter')()) File "/usr/local/bin/evillimiter", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 790, in exec_module File "", line 228, in _call_with_frames_removed File "/usr/local/lib/python3.9/dist-packages/evillimiter-1.5.0-py3.9.egg/evillimiter/evillimiter.py", line 9, in import evillimiter.networking.utils as netutils File "/usr/local/lib/python3.9/dist-packages/evillimiter-1.5.0-py3.9.egg/evillimiter/networking/utils.py", line 3, in from scapy.all import ARP, sr1 # pylint: disable=no-name-in-module File "/usr/lib/python3/dist-packages/scapy/all.py", line 16, in from scapy.arch import * File "/usr/lib/python3/dist-packages/scapy/arch/init.py", line 27, in from scapy.arch.bpf.core import get_if_raw_addr File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in LIBC = cdll.LoadLibrary(find_library("libc")) File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name)) File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc if not _is_elf(file): File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf with open(filename, 'br') as thefile: FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'

ghost commented 3 years ago

It was working very well but after the system update (Parrot OS) I get the same error. I tried reinstalling but it did not work.

boooyab commented 3 years ago

Any solution guys ....?

ghost commented 3 years ago

Any solution guys ....?

Fix { Error2}

  1. cd /usr/lib/x86_64-linux-gnu/
  2. ln -s -f libc.a liblibc.a
ghost commented 3 years ago

It was working very well but after the system update (Parrot OS) I get the same error. I tried reinstalling but it did not work.

Fix { Error2}

  1. cd /usr/lib/x86_64-linux-gnu/
  2. ln -s -f libc.a liblibc.a
ghost commented 3 years ago

Same here, everything was fine until I ran the system update (Kali Linux 2020.3 / 64bit) to version 2020.4 and boom, 4 more tools besides evillimiter prints me relative to library("c") :

Traceback (most recent call last):

File "/usr/local/bin/evillimiter", line 33, in

sys.exit(load_entry_point('evillimiter==1.5.0', 'console_scripts', 'evillimiter')())

File "/usr/local/bin/evillimiter", line 25, in importlib_load_entry_point

return next(matches).load()

File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load

module = import_module(match.group('module'))

File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

File "", line 1030, in _gcd_import

File "", line 1007, in _find_and_load

File "", line 986, in _find_and_load_unlocked

File "", line 680, in _load_unlocked

File "", line 790, in exec_module

File "", line 228, in _call_with_frames_removed

File "/usr/local/lib/python3.9/dist-packages/evillimiter-1.5.0-py3.9.egg/evillimiter/evillimiter.py", line 9, in

import evillimiter.networking.utils as netutils

File "/usr/local/lib/python3.9/dist-packages/evillimiter-1.5.0-py3.9.egg/evillimiter/networking/utils.py", line 3, in

from scapy.all import ARP, sr1 # pylint: disable=no-name-in-module

File "/usr/lib/python3/dist-packages/scapy/all.py", line 16, in

from scapy.arch import *

File "/usr/lib/python3/dist-packages/scapy/arch/init.py", line 27, in

from scapy.arch.bpf.core import get_if_raw_addr

File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in

LIBC = cdll.LoadLibrary(find_library("libc"))

File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library

_get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))

File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc

if not _is_elf(file):

File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf

with open(filename, 'br') as thefile:

FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'

Fix { Error2}

  1. cd /usr/lib/x86_64-linux-gnu/
  2. ln -s -f libc.a liblibc.a
ghost commented 3 years ago

It was working very well but after the system update (Parrot OS) I get the same error. I tried reinstalling but it did not work.

Fix { Error2}

  1. cd /usr/lib/x86_64-linux-gnu/
  2. ln -s -f libc.a liblibc.a

Thanks. Now it is working again.