-
Notifications
You must be signed in to change notification settings - Fork 0
/
toolkit.sh
61 lines (58 loc) · 1.76 KB
/
toolkit.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
#If there is no 'MODULESDIR' variable on line 4, setup.sh must be run first
PS3='Please enter your choice: '
options=("VNC" "TFTP" "MongoDB" "Elasticsearch" "Redis" "Emby" "WordPress" "Help" "Quit")
echo "**************************************************************"
echo "* The IP Traveller's Tookit *"
echo "* *"
echo "* A series of scripts for finding Internet-facing servers. *"
echo "* For more information, see the 'Help' command. *"
echo "**************************************************************"
select opt in "${options[@]}"
do
case $opt in
"VNC")
echo "Running VNC module..."
bash $MODULESDIR/vnc.sh
break
;;
"TFTP")
echo "Running TFTP module..."
bash $MODULESDIR/tftp.sh
break
;;
"MongoDB")
echo "Running MongoDB module..."
bash $MODULESDIR/mongo.sh
break
;;
"Elasticsearch")
echo "Running Elasticsearch module..."
bash $MODULESDIR/elasticsearch.sh
break
;;
"Redis")
echo "Running Redis module..."
bash $MODULESDIR/redis.sh
break
;;
"Emby")
echo "Running Emby module..."
bash $MODULESDIR/emby.sh
break
;;
"WordPress")
echo "Running WordPress module..."
bash $MODULESDIR/wordpress.sh
break
;;
"Help")
echo "Running Help module..."
cat $MODULESDIR/help.txt
;;
"Quit")
break
;;
*) echo "Error: Invalid module $REPLY specified.";;
esac
done