> For the complete documentation index, see [llms.txt](https://davidtancredi.gitbook.io/pentesting-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://davidtancredi.gitbook.io/pentesting-notes/r3dcl1ff/webapp-pentest/links/gau-get-all-urls.md).

# GAU Get All URLs

<pre><code>apt-get install -y getallurls

getallurls countrygarden.com.cn | tee gau_results.txt  #run from root

for subdomain in $(cat subdomains_live.txt); do getallurls "${subdomain}"; done | sort -uf | tee gau_results.txt

####GAU (in Go)####

sudo git clone https://github.com/lc/gau.git
cd gau/cmd
go build
<strong>sudo mv gau /usr/local/bin/
</strong>gau --version


</code></pre>
