-
Notifications
You must be signed in to change notification settings - Fork 3
/
v1l03t
36 lines (34 loc) · 916 Bytes
/
v1l03t
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
33
34
35
36
#!/bin/bash
clear
./.banner
rm v.txt &> /dev/null
rm subv.txt &> /dev/null
subofsub=$2
read -p " Enter the Domain name : " dm
read -p " Enter the company name : " cm
mkdir ~/recon/$cm &> /dev/null
mkdir ~/recon/$cm/v1l03t &> /dev/null
if [ $subofsub = "sub" ]&> /dev/null ;
then
echo "Brute forcing subdomains of subdomains"
while read sub ;
do
echo "$sub.$dm" >> v.txt
while read subl ;
do
echo "$sub.$subl" >> subv.txt
done < $3
done < $1
cd ~/recon/$cm/v1l03t
cat ~/tools/v1l03t/subv.txt | xargs -n1 -P500 bash ~/tools/v1l03t/.v1l03t
rm ~/tools/v1l03t/subv.txt
else
echo "Subdomain Brute forcing started "
while read sub ;
do
echo "$sub.$dm" >> v.txt
done < $1
cd ~/recon/$cm/v1l03t
cat ~/tools/v1l03t/v.txt | xargs -n1 -P500 bash ~/tools/v1l03t/.v1l03t
rm ~/tools/v1l03t/v.txt
fi