-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpxlopen.sh
More file actions
40 lines (26 loc) · 711 Bytes
/
pxlopen.sh
File metadata and controls
40 lines (26 loc) · 711 Bytes
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
#!/bin/bash
mybanner(){
echo " __ ___ __ __ __ ___ "
echo " |__) | \_/ |__ | / ' |__) \ / |__) | "
echo " | | / \ |___ |___ \__, | \ | | | "
echo ""
echo " Welcome To PiXeL CrYpT "
echo ""
}
main(){
read -p "If you want to open/unlock a pixelCrypt file? y/n: " usr
if [ "$usr" = 'y' ]; then
read -p "Enter the pixelCrypt file path: " file
if [[ "$file" == *.zip ]]; then
unzip $file
else
echo "Please enter the correct file"
fi
else
echo "Okay, goodbye!"
fi
}
chmod 777 *
./versionck.sh
mybanner
main