2024-03-01 09:32:47 +01:00
2024-02-29 14:35:24 +01:00
2024-02-29 15:02:35 +01:00
2024-03-01 09:32:47 +01:00

AS Network List

Description

This Python script retrieves and prints the network prefixes announced by a specified Autonomous System (AS). It leverages the RIPE Stat Data API to fetch the data.

Note: This script has been tested on MacOS and Linux.

Prerequisites

Installation

  1. Clone this repository:

    git clone https://github.com/C24Be/AS_Network_List.git
    
  2. Navigate to the repository folder:

    cd AS_Network_List
    
  3. Install the required Python packages:

    ./requirements.sh
    

Usage

  1. Run the script with the AS number as an argument:

    python as_network_list.py AS61280
    
  2. To disable all output except the prefixes, use the --quiet or -q switch:

    python as_network_list.py AS61280 --quiet
    
  3. To print a help message, use the -h or --help switch:

    python as_network_list.py --help
    

Screenshot

Screenshot

Description
Blacklists generator of subnets of Russian government agencies for blocking them on one's servers.
Readme BSD-2-Clause 148 MiB
Languages
Python 69.2%
Shell 30.8%