forked from InjectionSoftwareandSecurityLLC/Propane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·58 lines (58 loc) · 4.09 KB
/
setup.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
echo ".......................................+=.......................................
......................................+.+,......................................
.....................................+...+......................................
....................................+.....+.....................................
...................................+.......+....................................
..................................+.........=...................................
.................................+:..........+..................................
................................+=............+.................................
...............................=+..............+................................
...............................+................+...............................
..............................+.................~+..............................
.............................+...................++.............................
............................+.....................=~............................
...........................+.......................+,...........................
..........................+......IIIIIIIIIIIIII.....+...........................
.........................+......+.IIII.IIIII.I.......+..........................
........................+.........I?I=.IIIII.I........+.........................
.......................+,........IIIIIIIIIIIIII........+........................
......................+~.........II..=IIII:..I=.........+.......................
.....................=+.........IIIIIIIIIIIIIIII.........+......................
....................,+.......IIIIIIIIIIIIIIIII????I.......+.....................
....................+.......IIIIIIIIIIIIIII?????????......,+....................
...................+.......IIIIIIIIIIIII????????????.......=+...................
..................+........IIIIIIIIII???????????????........=+..................
.................+.........IIIIIIIII????????????????.........+..................
................+..........IIIII??????++????????????..........+.................
...............+...........III???????++++????????+++...........+................
..............+............I?????????+?++++???++++++............+...............
.............+.............??????????+???+++++++++++.............+..............
............+~.............??????????I??++++++++++++..............+.............
...........=+..............????????????++?++++++++++...............+............
..........~+...............????????+++++++++++++++++................+...........
..........+................?????++++++++++++++++++++................,+..........
.........=..................?+++++++++++++++++++++++.................:+.........
........+....................+++++++++++++++++++=++...................++........
.......+.......................++++++++++++++===.......................+~.......
......+.........................++++++++++======........................+.......
.....+.............................=+++++===.............................+......
....+.....................................................................+.....
...+.......................................................................+....
..+~........................................................................=...
.+=..........................................................................+..
+=............................................................................+.
++++++++++++++++++++============================================================"
echo " "
echo "Propane Installation!"
echo " "
echo "Please enter the parent directory of the index to your webserver"
read -p "(This is usually going to be \"/var\" or \"/var/www\"): " install_dir
echo "Installing Propane to: " $install_dir
echo "<================================================>"
cp -r Propane/* $install_dir
program_dir="$install_dir/propane.py"
chmod +x $program_dir
echo "Installation Complete..."
echo "BE SURE TO MODIFY THE propane_config.ini TO USE THE INDEX FOLDER AS YOUR outdir VALUE!!!"
echo "(i.e. /html OR /www)"
echo "Run \"./propane.py\" from" \"$install_dir\" "to start the program."