This script had some issues like it has to be run from home directory and removed certspotter because it wasn't working. Amass had some error in command ".$url" which make it always return empty as it should be .$url. Some path for potential_takeovers had more folder name potential_takeovers in path so fixed that part the final.txt of domains wasn't finally sorted so resorted unique it as it had many duplicates
This script had some issues like it has to be run from home directory and removed certspotter because it wasn't working. Amass had some error in command ".$url" which make it always return empty as it should be .$url. Some path for potential_takeovers had more folder name potential_takeovers in path so fixed that part the final.txt of domains wasn't finally sorted so resorted unique it as it had many duplicates