-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtool.sh
More file actions
32 lines (28 loc) · 915 Bytes
/
tool.sh
File metadata and controls
32 lines (28 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
. ~/.profile
echo "Enter the target domain ="
read url
if [ ! -d "$url" ]; then
mkdir $url
fi
if [ ! -d "$url/target" ]; then
mkdir $url/target
fi
echo "[+]Starting AssetFinder"
echo "[++]Setting up Target"
echo "[+++]Searching for the $url"
sleep 5s
assetfinder $url >> $url/target/asset.txt
cat $url/target/asset.txt | grep $url >> $url/target/final.txt
rm $url/target/asset.txt
#echo "-------------------------------------------------------------------------------------------------------------------------------"
#echo "[+]Starting Ammas"
#echo "[++]Setting up Target"
#echo "[+++]Searching for the $url"
#amass enum -d $url >> $url/target/f.txt
#sort -u f.txt >> $url/target/final.txt
#rm $url/target/f.txt
sort -u final.txt > final.txt
echo "[+]Starting Httprobe"
echo "[++]Setting up Target"
cat pgc.edu.pk/target/final.txt | httprobe |sed 's/https\?:\/\///' >> $url/target/alive.txt