This bash code validates a list of URL's based on the staus code of the curl command
first clone the repository:
$ git clone https://github.com/Kevincastillo98/url_validator
$ cd url_validator
$ chmod +x validador.sh
You can pass a list of URL's using commands like gau or waybackurls
gau <URL> | ./validador.sh
The scipts creates a document called validos that contains all the valid URLS