Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

153 lines (104 sloc) 3.48 KB

To install PhoneInfoga, you'll need to download source code then install dependencies.

Requirements :

  • python3 and python3-pip OR Docker
  • git OR wget and curl

Manual installation

Clone the repository

git clone
cd PhoneInfoga/

You can also download the source code archive :

wget $(curl -s | grep tarball_url | cut -d '"' -f 4) -O PhoneInfoga.tar.gz
tar -xvzf PhoneInfoga.tar.gz
cd sundowndev*

Install requirements

python3 -m pip install -r requirements.txt --user

Create the config file


To ensure everything works, use the -v option to show the version :

python3 -v

Install the Geckodriver

The Geckodriver is the Firefox webdriver for Selenium, which is used by PhoneInfoga to perform queries to Google search and handle captcha. Firefox is actually the only webdriver supported by PhoneInfoga. Want to hack it to use chrome or another driver instead ? See this file.


Go to the geckodriver releases page. Find the latest version of the driver for your platform and download it. For example:


Extract the file:

sudo sh -c 'tar -x geckodriver -zf geckodriver-*.tar.gz -O > /usr/bin/geckodriver'

Make it executable:

sudo chmod +x /usr/bin/geckodriver

Remove the archive:

rm geckodriver-*.tar.gz

Windows or MacOS

  • Go to the geckodriver releases page. Find the latest version of the driver for your platform and download it.
  • Extract the archive
  • Run the executable and follow the instructions

Using Docker

From docker hub

You can pull the repository directly from Docker hub

docker pull sundowndev/phoneinfoga:latest

Then run the tool

docker run --rm -it sundowndev/phoneinfoga --help

WARNING: This image only contain the python tool and not the Selenium hub which is useful to query Google. In order to use Selenium driver, you must use the docker-compose configuration, as described below.


You can use a single docker-compose file to run the tool without downloading the source code.

version: "3"

    image: sundowndev/phoneinfoga
    container_name: phoneinfoga
    restart: on-failure
      webdriverRemote: 'http://selenium-hub:4444/wd/hub'

    image: selenium/hub:3.141.59-palladium
    container_name: selenium-hub
      - "4444:4444"

    image: selenium/node-firefox:3.141.59-palladium
      - /dev/shm:/dev/shm
      - selenium-hub
      - HUB_HOST=selenium-hub
      - HUB_PORT=4444

From the source code

You can download the source code, then build the docker images


This will automatically pull, build then setup services

docker-compose up -d


docker-compose run --rm phoneinfoga --help


All output is sent to stdout so it can be inspected by running:

docker logs -f <container-id|container-name>
You can’t perform that action at this time.