After we have an indicator that this site is vulnerable we need to get the GitHub page the vulnerable subdomain is pointing to. We need this information so we can register the domain through github.
Use the "dig" command to gather the DNS records of the vulnerable domain.
If the domain points to the github page, try to register a domain on Github.
Steps to register a domain on Github:
Create a Github repo with the same name as the CNAME record.
Create an “index.html” file in the repo.
Set the repo as the main branch.
set the custom domain to the target domain you are going after.
When you visit the target domain you should see the page you set up.