Utilize o script que você construiu para fazer análise de html e identifique o subdomínio correto.
Ex: site.businesscorp.com.br
http://www.businesscorp.com.br/
Resposta: parsingok.businesscorp.com.br
Comandos
- nano Parsing.sh
- chmod +x Parsing.sh
- echo "Digite o site: "
read site
wget $site
cat index.html | grep href= | grep http |grep -v class | grep -v rel | cut -d '"' -f 2 | cut -d "/" -f 3
- sudo ./Parsinh.sh