Skip to content
RustedAperturePublic

About

This converts a csv of ip addresses into a CIDR list with the owner attached

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP -> CIDR

This script will convert a csv list of IP addresses into their respective CIDR subnets with the owner names.

Requirements

  • Python3
  • ipwhois
  • tqdm
  • netaddr
  • ipaddress

Usage & "Installation"

Instructions for Ubuntu

sudo apt install python3 python3-pip
pip3 install ipwhois tqdm netaddr ipaddress

git clone https://github.com/RustedAperture/IP2RANGE
cd IP2RANGE
Python3 IP2CIDR.py -i <input_file> -o <output_file> --detail

By adding the --detail option it will add the country and owner to the CSV

Screenshots

Screenshot of app running in WSL2

Input Example

Screenshot of input example

Output Example

Regular

simple output example

Detailed

detailed output example

About

This converts a csv of ip addresses into a CIDR list with the owner attached

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages