Giter Club home page Giter Club logo

passint's Introduction

Passint:

Description:

Passint is a simple Python script that extensively employs the Selenium library to automate passive OSINT searches. The primary objective is to minimize active interactions with the target and eventually generate a comprehensive reports. The script is capable of performing the following tasks: Whois lookup, Examine HTTP headers, SSL/TLS certificate inspection, Technology discovery, Subdomain enumeration, Shodan, Fofa, Zoomeye searches, crawling, Email retrieval, and Traceroute.

Organization:

passint.py Main script

Scripts Folder for other scripts such as generatereport.py and cleaner.py

firefox_custom_settings Folder with geckodriver (Firefox driver) and a predefined custom Firefox profile with some add-ons (AdBlock and Random User-Agent)

requirements.txt File .txt with all necessary dependencies

Setup:

Commands to install it:

git clone https://github.com/AleHelp/Passint.git
cd Passint
pip3 install -r requirements.txt

You can also use it with ven to avoid problems with dependencies:

python3 -m venv <virtual environment name>
source <virtual environment name>/bin/activate 
git clone https://github.com/AleHelp/Passint.git
cd Passint
pip3 install -r requirements.txt

When you're done, to turn off the virtual environment, just type the command deactivate

Usage:

-h, --help            show this help message and exit
-d DOMAIN, --domain DOMAIN
                      Domain name
--clear               Clear the Reports folder
--headless            Active the headless mode does not display Firefox GUI
-P PROFILE, --profile PROFILE
                      Specify a custom Firefox profile to import by providing the path. Example: --profile <path>
-a, --all             Run all modules
-w, --whois           Check whois and its historical records
-head, --headers      Examine the HTTP response headers
-cert, --certificate  Inspect SSL/TLS certificate
-t, --technologies    Discover the technologies behind a domain
-subd, --subdomains   Retrieve subdomains
-sfz, --shofozom      Use Shodan, Fofa and ZoomEye to retrieve information on the target domain
-craw, --crawling     Crawl the target domain
-e, --email           Recover emails
-g, --geotraceroute   Traceroute with a world map
-p, --proxy           Enable website proxy to handle a few captcha checks; this feature is available only for the subdomains and technologies modules, it may be slow

Command to run all modules:

python3 passint.py -d <domain name> -a

Command to run one module:

python3 passint.py -d <domain name> -g

Command to run the proxy module:

python3 passint.py -d <domain name> -p -subd

At the end, two folders will be generated: "Output" containing all the generated photos and .txt files, and "Reports" containing:

  1. Image-only reports if the modules returns .png files

  2. Text-only reports if the modules returns .txt files

  3. Full reports if the modules returns both

Command to read the reports:

cat ./Reports/report-images-<domain name written>.pdf
cat ./Reports/report-text-<domain name written>.pdf
cat ./Reports/report-<domain name written>.pdf

Tips:

I. After repeated usage, the Captcha control may appear. I recommend using a service like ProtonVPN to handle it.

II. There is an option to import your own Firefox profile. Here are the steps:

firefox -ProfileManager

Click on "Create Profile" -> Next -> "Enter a name" -> Next -> "Start Firefox". Once it is set up, you can find it in /home/<username>/.mozilla/firefox/<random number and letters>.<chosen name>. To simplify the importing process, you can use the cp command in the Passint folder:

cp /home/<username>/.mozilla/firefox/<random number and letters>.<name choosen> ./Passint

Finally, you can add it with the following command:

python3 passint.py -d <domain name> -craw -P

III. The script whether with gui or without (headless mode) quietly allows you to be able to do other things

Disclaimer:

The script utilizes Selenium with extensive interaction with the HTML code of the target websites. However, it is important to note that changes in the HTML structure of these websites may occur.

The script is still under development may have errors.

passint's People

Contributors

alehelp avatar

Stargazers

Alessandro Lupini avatar

Watchers

 avatar

Forkers

metabit95

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.