Coder Social home page Coder Social logo

Comments (5)

BinaryHijacke avatar BinaryHijacke commented on July 30, 2024 1

how fix it

from websploit.

teyhoo avatar teyhoo commented on July 30, 2024

I have this Problem too

from websploit.

websploit avatar websploit commented on July 30, 2024

Checkout this answer :
https://github.com/websploit/websploit/issues/66#issuecomment-751438370

from websploit.

Hyrkania avatar Hyrkania commented on July 30, 2024

I had the same issue as @izaletr had!

After run command:

$ websploit

I get this error:

Traceback (most recent call last):
  File "/usr/bin/websploit", line 11, in <module>
    load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 473, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2447, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2453, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/websploit/websploit.py", line 3, in <module>
    from .core.utils import check_dependencies
  File "/usr/lib/python3/dist-packages/websploit/core/utils/__init__.py", line 1, in <module>
    from .tools import *
  File "/usr/lib/python3/dist-packages/websploit/core/utils/tools.py", line 1, in <module>
    from scapy.all import *
  File "/usr/lib/python3/dist-packages/scapy/all.py", line 16, in <module>
    from scapy.arch import *
  File "/usr/lib/python3/dist-packages/scapy/arch/__init__.py", line 27, in <module>
    from scapy.arch.bpf.core import get_if_raw_addr
  File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in <module>
    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'

### Solution:

You just need to go to this directory:

$ cd /usr/lib/x86_64-linux-gnu/

and make a symlink to libc.a with this link (liblibc.a):

$ ln -s -f libc.a liblibc.a

Hope this work for you too.:blush::blush:

from websploit.

gzsrdfhxrsd avatar gzsrdfhxrsd commented on July 30, 2024

it didn't work for me

└─$ $ cd /usr/lib/x86_64-linux-gnu/

cd: No such file or directory: / usr / lib / x86_64-linux-gnu

from websploit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.