-
Notifications
You must be signed in to change notification settings - Fork 1
/
tellme.sh
61 lines (50 loc) · 1.51 KB
/
tellme.sh
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# TellMe
# by wondR
TARGET="$1"
SUB="sub.txt"
IPS="ips.txt"
OKBLUE='\033[94m'
OKRED='\033[91m'
OKGREEN='\033[92m'
OKORANGE='\033[93m'
RESET='\e[0m'
lolcat <<"EOF"
╔╦╗┌─┐┬ ┬
║ ├┤ │ │
╩ └─┘┴─┘┴─┘
╔╦╗┌─┐
║║║├┤
╩ ╩└─┘
┬ ┬┬ ┬┌─┐
│││├─┤│ │
└┴┘┴ ┴└─┘
╦┌┬┐
║│││
╩┴ ┴
┌─┐┌─┐┌┐┌┌┐┌┌─┐
│ ┬│ │││││││├─┤
└─┘└─┘┘└┘┘└┘┴ ┴
┬ ┬┌─┐┌─┐┬┌─
├─┤├─┤│ ├┴┐
┴ ┴┴ ┴└─┘┴ ┴
EOF
echo -e "$OKRED +---Collecting subdomains---+ $RESET"
python3 /usr/lib/python3/dist-packages/sublist3r.py -v -d $TARGET -o sub.txt
if [ -z "$SUB" ];
then
echo -e "$OKGREEN + -- --=[No subdomains was found..exiting.$RESET";
exit
else
echo -e "$OKBLUE +---Attributing IPs---+ $RESET"
getips -d $SUB -o ips.txt -v
fi
if [ -z "$IPS" ];
then
echo -e "$OKGREEN + -- --=[No IPs can be reach..exiting.$RESET";
exit
else
echo -e "$OKORANGE +---Starting Nmap---+ $RESET"
nmap -v --script vuln -iL $IPS -oN results.txt
fi
echo -e "$OKBLUE +---Done! Results saved in results.txt---+ $RESET"