Skip to content

Instantly share code, notes, and snippets.

@devpwn
Created January 30, 2021 22:29
Show Gist options
  • Save devpwn/c302bde5dd339bfb4b00bcc97048d494 to your computer and use it in GitHub Desktop.
Save devpwn/c302bde5dd339bfb4b00bcc97048d494 to your computer and use it in GitHub Desktop.
Dump subdomains from builtwith inside browser
/*
Built With insert captcha at https://builtwith.com/relationships/<domain.name>
To get the domains inside the browser console just copy and paste the script below after
https://builtwith.com/relationships/<domain.name>
Example/Usage:
Go to https://builtwith.com/relationships/example.com
press F12 > Console > Copy and paste the script below inside the console
and after that, type dump_domains() <with parentheses>
Tested on google-chome and Brave
*/
function dump_domains() {
let cl_name = document.getElementsByClassName('table small table-sm');
let domains = cl_name[0];
let tbodies = domains['tBodies'][0];
console.log(tbodies.innerText);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment