Coder Social home page Coder Social logo

Fail to install about roguehostapd HOT 6 CLOSED

wifiphisher avatar wifiphisher commented on May 27, 2024
Fail to install

from roguehostapd.

Comments (6)

anakin1028 avatar anakin1028 commented on May 27, 2024

@blackHatMonkey can you run the run.py successfully? Currently roguehostapd is used as library for wifiphisher, so I don't copy the execution file to the /bin directory during setup.py.

pip install roguehostapd should also be ok.

from roguehostapd.

blackHatMonkey avatar blackHatMonkey commented on May 27, 2024

I originally installed it using pip but wifiphisher complained about it not being installed.

root@kali:~/roguehostapd# pip2 install roguehostapd
Requirement already satisfied: roguehostapd in /usr/local/lib/python2.7/dist-packages

In which directory should I run run.py?

from roguehostapd.

anakin1028 avatar anakin1028 commented on May 27, 2024

You can cd to the roguehostapd folder and run run.py at this folder~

If you have install roguehostapd once , looks like it will remember in the cache. You can try pip install roguehostapd --no-cache-dir

from roguehostapd.

blackHatMonkey avatar blackHatMonkey commented on May 27, 2024

@anakin1028 Here is the output of run.py:

root@kali:~/roguehostapd/roguehostapd# ./run.py 
Traceback (most recent call last):
  File "./run.py", line 109, in <module>
    run()
  File "./run.py", line 101, in run
    hostapd_obj.start(hostapd_dict, options)
  File "/usr/local/lib/python2.7/dist-packages/roguehostapd/apctrl.py", line 152, in start
    hostapdconfig.HOSTAPD_LIBPATH)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 444, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/local/lib/python2.7/dist-packages/roguehostapd/hostapd-2_6/hostapd/libhostapd.so: cannot open shared object file: No such file or directory

If you have install roguehostapd once , looks like it will remember in the cache. You can try pip install roguehostapd --no-cache-dir

This is a brand new install so this should not apply.

from roguehostapd.

anakin1028 avatar anakin1028 commented on May 27, 2024

Looks like the shared library is missing, but currently I got no idea why the build process fail in your environment... I will try to reproduce on other machines.

from roguehostapd.

ISBaloch avatar ISBaloch commented on May 27, 2024

having OS error in
python setup.py install
what is the reason?

from roguehostapd.

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.