/Amass-Log-to-CSV

This Python script is designed to transform the output from your Amass scan into a more manageable CSV file format. This conversion allows for easier data manipulation and analysis.

Primary LanguagePython

Amass-Log-to-CSV

Description

The Amass-Log-to-CSV tool is a Python script designed to transform the output from an Amass scan into a more manageable CSV file format. This conversion facilitates easier data manipulation and analysis, allowing users to extract valuable insights from their Amass scan results.

Usage

  1. Perform an Amass scan and save the output to a log file using the following command:

    sudo amass enum -active -d anir0y.in -p 21,22 -o anir0y.log
  2. Run the provided Python script to convert the Amass log file to CSV format. Use the following command in the command-line interface (CLI):

    python3 amass-log-to-csv.py anir0y.log
  3. The script will create an output CSV file with the same name as the input log file, but with the .csv extension. For example, if the input file is anir0y.log, the output file will be anir0y.csv.

  4. IF you just want domain names

    cat anir0y.log | grep a_record| awk -F ' ' '{print $1}'  | sort | uniq | tee tmp.log

    After that

    python3 amass-log-to-csv.py tmp.log

Requirements

Ensure you have the required Python packages installed by running the following command:

pip install -r requirements.txt

Twitter URL