GithubHelp home page GithubHelp logo

brutexploiter / asn2cidr Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13 KB

A bash script that utilizes WHOIS queries to extract CIDR ranges associated with Autonomous System (AS) numbers using The Routing Assets Database.

Home Page: https://apexvicky.medium.com/bug-bounty-methodology-horizontal-enumeration-89f7cd172e6e

License: Apache License 2.0

Shell 100.00%

asn2cidr's Introduction

asn2cidr

asn2cidr is a bash script that utilizes WHOIS queries to extract CIDR ranges associated with Autonomous System (AS) numbers using The Routing Assets Database.

Installation

Clone the repository:

git clone https://github.com/brutexploiter/asn2cidr.git

Change into the asn2cidr directory:

cd asn2cidr

Make the script executable:

chmod +x asn2cidr.sh

Usage

./asn2cidr.sh [-l <input_file>] [-i <AS_number>] [-o <output_file>] [-h]

Options:
  -l <input_file>: Specify a file containing a list of AS numbers.
  -i <AS_number>: Specify an AS number directly.
  -o <output_file>: Specify the output file to save the results.
  -h: Display this help message.

Query AS numbers directly:

./asn2cidr.sh -i AS6262 -o output.txt

Query AS numbers from a file:

./asn2cidr.sh -l asn.txt -o output.txt

Reference

https://apexvicky.medium.com/bug-bounty-methodology-horizontal-enumeration-89f7cd172e6e

asn2cidr's People

Contributors

brutexploiter avatar

Watchers

 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.