Git Product home page Git Product logo

njall-phone's Introduction

Requirements Status Known Vulnerabilities Test application running state

Objectives

Script to automate, when possible, the passive reconnaissance performed on a website prior to an assessment (no direct hit on the target).

Also used to guide a reconnaissance phase by defining all steps (manual or automated) that must be mandatory performed.

Requirements

Python >= 3.7

Installation of dependencies

Use the following command:

$ pip install -r requirements.txt

Update of the "requirements.txt" file

Use the following command to use pipreqs:

$ pipreqs --force .

Update TLD list caching of the module "tldextract"

Use the following command from here:

$ tldextract --update

API keys file

The script assume that an API key binded to the free version of the API is used of each service.

API keys are expected to be provided within an INI file having the following structure:

[API_KEYS]
;See https://www.shodan.io/
shodan=xxx
;See https://www.hybrid-analysis.com
hybrid-analysis=xxx
;See https://www.virustotal.com
virustotal=xxx
;See https://intelx.io/
intelx=xxx
;See https://azure.microsoft.com/en-us/try/cognitive-services/?api=search-api-v7
azure-cognitive-services-bing-web-search=xxx

Usage examples

$ python --version
Python 3.7.5

$ python website_passive_recon.py --help
usage: website_passive_recon.py [-h] -d DOMAIN_NAME [-a API_KEY_FILE] [-n NAME_SERVER] [-p HTTP_PROXY] [-s]

optional arguments:
  -h, --help       show this help message and exit
  -d DOMAIN_NAME   Domain to analyse.
                   Ex: excellium.lu
  -a API_KEY_FILE  Configuration INI file with all API keys.
                   Ex: conf.ini
  -n NAME_SERVER   Name server to use for the DNS query.
                   Ex: 8.8.8.8
  -p HTTP_PROXY    HTTP proxy to use for all HTTP call to differents services.
                   Ex: http://5.196.132.126:3128
  -s               Save the result of the Google/Bing Dork searching for
                   interesting files to the file 'filetype_dork_result.txt'.

$ python website_passive_recon.py -d excellium-services.com
...

$ python website_passive_recon.py -d excellium-services.com -n 8.8.8.8
...

$ python website_passive_recon.py -d excellium-services.com -a api_keys.ini
...

$ python website_passive_recon.py -d excellium-services.com -a api_keys.ini -n 8.8.8.8
...

$ python website_passive_recon.py -d excellium-services.com -a api_keys.ini -n 8.8.8.8 -p http://5.196.132.126:3128
...

$ python website_passive_recon.py -d excellium-services.com -a api_keys.ini -n 8.8.8.8 -p http://5.196.132.126:3128 -s
...

njall-phone's People

Contributors

righettod avatar dependabot-preview[bot] avatar benochen avatar mincka avatar

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.