My-Methodologies/subdomain-takeover.md

18 lines
407 B
Markdown
Raw Normal View History

2023-05-19 09:55:41 +00:00
# 🔼 Subdomain Takeover
<figure><img src=".gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
```
#!/bin/sh
filename=$1
while read url; do
echo "Subfinder"
subfinder -d $url -o $url.txt
echo "Assetfinder"
assetfinder --subs-only $url | tee -a $url.txt
sort -u $url.txt -o $url.txt
echo "Subjack"
subjack -w $url.txt -o $url_takeover.txt
done < $filename
```