GithubHelp home page GithubHelp logo

Comments (7)

mashsajid avatar mashsajid commented on July 18, 2024 11

This will fix the problem for Linux Users
wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
sudo sh -c 'tar -x geckodriver -zf geckodriver-v0.23.0-linux64.tar.gz -O > /usr/bin/geckodriver'
sudo chmod +x /usr/bin/geckodriver
rm geckodriver-v0.23.0-linux64.tar.gz

from phoneinfoga.

sundowndev avatar sundowndev commented on July 18, 2024

It seems you didn't installed geckodriver properly. See this comment on stackoverflow.

  1. Are you using Docker ?
  2. What command did you run ?
  3. What is your OS ?
  4. Do you have the latest version of Firefox installed ?
  5. What is the output of geckodriver --version ?

from phoneinfoga.

C8be avatar C8be commented on July 18, 2024

I have the same Problem and

  1. I don't use Docker
  2. I ran the command python3 phoneinfoga.py -n %Number%
  3. Ubuntu 16.04 LTS
  4. Yes I updated Firefox
    5 and it says geckodriver: command not found

from phoneinfoga.

sundowndev avatar sundowndev commented on July 18, 2024

Feel free to add further details, considering this as resolved.

from phoneinfoga.

popduck07 avatar popduck07 commented on July 18, 2024

hey sundown, I'm relatively new to all this and I read the previous thread. I'm having the same issue, can you dumb it down for me? I'm using kali linux and I ran the command: "python3 phoneinfoga.py -n "(+X) XXXXXXXXXX". After I had responded with 'n' when it asked me about custom format it outputted:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/lib/python3.7/subprocess.py", line 775, in init
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'geckodriver': 'geckodriver'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "phoneinfoga.py", line 95, in
main()
File "phoneinfoga.py", line 71, in main
scanNumber(args.number)
File "phoneinfoga.py", line 38, in scanNumber
osintScan(number)
File "/root/PhoneInfoga/scanners/footprints.py", line 173, in osintScan
for result in search(req, stop=10):
File "/root/PhoneInfoga/lib/googlesearch.py", line 35, in search
browser = webdriver.Firefox()
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 164, in init
self.service.start()
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/common/service.py", line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

how do I properly install the geckodriver? when I typed "pip install geckodriver" it outputted

Collecting geckodriver
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/geckodriver/

I would appreciate some help

from phoneinfoga.

sundowndev avatar sundowndev commented on July 18, 2024

@popduck07 https://sundowndev.github.io/PhoneInfoga/install/#install-the-geckodriver

from phoneinfoga.

RaviFefar avatar RaviFefar commented on July 18, 2024

The problem will fix only Linux users

  1. Download the geckodriver from wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz

  2. Extract and unzip and move the geckodriver file to /usr/local/bin/ directory.

  3. sudo chmod +x /usr/local/bin/geckodriver

  4. export PATH=$PATH:/usr/local/bin/geckodriver

  5. Now Run python program with selenium Firefox webdriver.

from phoneinfoga.

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.