Coder Social home page Coder Social logo

bbhunter / iptodomain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jevalenciap/iptodomain

0.0 0.0 0.0 39 KB

This tool extract domains from IP address based in the information saved in virustotal.

License: GNU General Public License v3.0

Python 100.00%

iptodomain's Introduction

iptodomain V2

iptodomain

Update V2 :It was migrated from python 2.7 to 3.8.10. Now It supports an input file and csv output file.

Description:

This tool allows you to extract domains from a IP range, using the historic information archived in Virustotal(using API key). It is usefull if you want to know what domains are behind of this IP address, for example in bug bounty programs one of the first steps is to extract subdomains, this tool can help with this task... first you have to find out the IP range that uses a company OR you can provide a file with the IP list. Many times a good start point is to know the AS (Autonomus system) number, then you can find the IP range.

To use this tool you have to set up your Virustotal API key in the code, please sign up on Virustotal then they provide you the API key or use my testing API key.

Example:

  

python3 iptodomain3.py -f ips.txt  -w output.csv -v

python3 iptodomain.py -l 103.22.201.25 -k 103.22.201.255 -o result.txt


Usage:

  

python3 iptodomain.py 


usage: iptodomain.py [-h] [-l FIRST_IP] [-k LAST_IP] [-f INPUT_FILE] [-w FILE2] [-o FILE1] [-v] [-r FILE3]

  -h, --help     show this help message and exit
  
  -l FIRST_IP    The First IP of the range that you want to scan
  
  -k LAST_IP     The Last IP of the range that you want to scan.
  
  -f INPUT_FILE  Input file with IPs.
  
  -w FILE2       Please enter the output file name, it will save a report with all domains and its IPs in .csv format
  
  -o FILE1       Please enter the file name where the all IPs and domains found are going to save in txt format.
  
  -v             It shows more information while you are scanning.
  
  -r FILE3       Please enter the output file name, it will save a report without duplicate domains results
  

This tool allow to extract domains from IP information on Virustotal and save
the output in a file(txt, csv). You have to set up the IP range where you like to
extract domain or subdomain or provide an IP list. Additionally it is neccesary set up your
VirusTotal API key in the code.


This tool was created by:

Juan Esteban Valencia Pantoja

iptodomain's People

Contributors

jevalenciap 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.