-
Notifications
You must be signed in to change notification settings - Fork 4
/
WebGetter.sh
82 lines (67 loc) · 2.52 KB
/
WebGetter.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/bin/bash
clear
base64 -d <<<"CiBfXyAgICAgIF9fICAgICAgX19fLiAgICAgICBfX19fX19fXyAgICAgICAgX18gICAgX18gICAg
ICAgICAgICAgICAgCi8gIFwgICAgLyAgXCBfX19fXF8gfF9fICAgIC8gIF9fX19fLyAgX19fX18v
ICB8X18vICB8XyAgX19fX19fX19fX18gClwgICBcL1wvICAgLy8gX18gXHwgX18gXCAgLyAgIFwg
IF9fX18vIF9fIFwgICBfX1wgICBfX1wvIF9fIFxfICBfXyBcCiBcICAgICAgICAvXCAgX19fL3wg
XF9cIFwgXCAgICBcX1wgIFwgIF9fXy98ICB8ICB8ICB8IFwgIF9fXy98ICB8IFwvCiAgXF9fL1wg
IC8gIFxfX18gID5fX18gIC8gIFxfX19fX18gIC9cX19fICA+X198ICB8X198ICBcX19fICA+X198
ICAgCiAgICAgICBcLyAgICAgICBcLyAgICBcLyAgICAgICAgICBcLyAgICAgXC8gICAgICAgICAg
ICAgICAgXC8gICAgICAgCg=="
sleep 1
echo -e "\033[91mWelcome To WebGetter Tool v1.3.0\033[0m"
sleep 1
echo -e "\033[92mAll rights reseved to: Egypt-Open-Source @github\033[0m"
sleep 1
echo -e "\033[93mCreated By MRX7014 @github\033[0m"
sleep 1
echo -e "\033[1;36m
1: Get basic Website Source
[*] HTML,CSS,JavaScript
2: Get All Website Source
[*] Include All Website Files (HTML,CSS,JS,Audios,Videos,etc...)
"
echo -e "\033[33m"
echo -e "\033[92m[*] Note:Add Website Link with "http/https" And Add Github Pages Links Without 'www'\033[0m"
read -p "Choose : " user
if [ $user == 1 ]
then
echo ""
echo -e "\033[93m[*] Remember The Note Before Enter The Website Link\033[0m"
sleep 2
read -p "Enter Website Link: " website_link
sleep 1
echo ""
echo -e "\033[93m[*] Enter the website folder name that you want to sync the source in it, Don't enter name with spaces just a single name or name with - between the words\033[0m"
read -p "Enter the folder name: " website_source_folder
echo ""
sleep 3
echo -e "\033[94mWebiste Will Downloading Now\033[0m"
sleep 2
wget -p -k $website_link -P $website_source_folder > /dev/null 2>&1
echo ""
sleep 2
echo -e "\033[94mWebsite source saved at the folder you want\033[94m"
echo ""
echo -e "\033[92mThanks For Using Our Tool <3"
elif [ $user == 2 ]
then
echo ""
echo -e "\033[92m[*] Remember The Note Before Enter The Website Link\033[0m"
sleep 2
read -p "Enter Website Link: " website_link
sleep 1
echo ""
echo -e "\033[93m[*] Enter the website folder name that you want to sync the source in it, Don't enter name with spaces just a single name or name with - between the words\033[0m"
read -p "Enter the folder name: " website_source_folder
echo ""
sleep 3
echo -e "\033[94mWebsite Will Downloading Now\033[0m"
sleep 2
wget -mk $website_link -P $website_source_folder > /dev/null 2>&1
echo ""
sleep 2
echo -e "\033[94mWebsite source saved at the folder you want\033[94m"
echo ""
echo -e "\033[92mThanks For Using Our Tool <3"
fi