RedFlagger is a bash script designed to download and aggregate reports from 'https://dl.red.flag.domains/daily/' based on user-specified conditions.
It is inspired by NewRedflag, a python script written by lil-doudou.
https://github.com/lil-doudou/NewRedflag
./redflagger.sh [--latest|--days num] [--all] [--output filename]
--latestor-l: Downloads the report from 1 day ago.--days numor-d num: Downloads the report from 'num' days ago.--allor-a: Downloads all available reports.--output filenameor-o filename: Specifies the output file to store the downloaded reports. Defaults to 'output.txt' if no filename is provided.
Download all the reports available since 3 days ago, saving them to 'my_file.txt':
./redflagger.sh -d 3 -a -o my_file.txt
Download all available reports, saving them to 'my_file.txt':
./redflagger.sh -a -o my_file.txt
Download the reports from 3 days ago, saving them to 'my_file.txt':
./redflagger.sh -d 3 -o my_file.txt