forked from k4itrun/erisphisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheris.sh
128 lines (107 loc) · 4.22 KB
/
eris.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/bin/bash
# Author : k4itrun
# Github : https://github.com/k4itrun
# Contact : https://m.me/k4itrun
# Discord : https://6889.fun/k4itrun
# Email : [email protected]
# Date : 11-10-2023
# If you don't know what you're doing, get out of here right now and use this with the instructions.
ERIS="phishering"
VERSION="1.0"
AUTHOR="\x6b\x34\x69\x74\x72\x75\x6e"
ERIS_PATH="launch/$ERIS.py"
CONFIG_FILE="assets/counter.txt"
GREEN="\e[32m"
LGREEN="\e[1;32m"
CYAN='\e[36m'
BWHITE="\e[1;37m"
YELLOW="\e[33m"
LYELLOW="\e[93m"
BLUE="\e[34m"
BBLUE="\e[94m"
RED="\e[31m"
BGGRAY="\e[48;5;235m"
RESET="\e[0m"
SUCCESS="${YELLOW}[${BWHITE}√${YELLOW}] ${GREEN}"
ERROR="${BLUE}[${BWHITE}!${BLUE}] ${RED}"
INFO="${YELLOW}[${BWHITE}+${YELLOW}] ${LYELLOW}"
INFO2="${GREEN}[${BWHITE}•${GREEN}] ${BGGRAY}"
ASK="${GREEN}[${BWHITE}?${GREEN}] ${BBLUE}"
show_banner() {
echo -e "${LGREEN} _____ _ ____ _ _ _ _ ${RESET}"
echo -e "${GREEN} | ____|_ __(_)___| _ \| |__ (_)___| |__ ___ _ __(_)_ __ __ _ ${RESET}"
echo -e "${LGREEN} | _| | '__| / __| |_) | '_ \| / __| '_ \ / _ \ '__| | '_ \ / _\` | ${RESET}"
echo -e "${GREEN} | |___| | | \__ \ __/| | | | \__ \ | | | __/ | | | | | | (_| | ${RESET}"
echo -e "${LGREEN} |_____|_| |_|___/_| |_| |_|_|___/_| |_|\___|_| |_|_| |_|\__, | ${RESET}"
echo -e "${GREEN} ${RED}[v${VERSION}] ${RED}[By $AUTHOR]${GREEN} |___/ ${RESET}"
echo
}
show_license() {
cat << "EOF"
MIT License
Copyright (c) 2022 k4itrun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
EOF
echo
}
loading() {
local chars=" "
local length=${#chars}
local loading="["
local delay=0.05
for ((i = 0; i < length; i++)); do
loading="[${chars:0:$i}==>${chars:$i}]"
echo -ne "${YELLOW}${loading}${RESET}"
sleep $delay
echo -ne "\r"
done
echo
}
main() {
clear
if command -v python3 &>/dev/null; then
show_banner
COUNTER_L=0
if [ -e "$CONFIG_FILE" ]; then
COUNTER_L=$(cat "$CONFIG_FILE")
fi
if [ "$COUNTER_L" -lt 3 ]; then
show_license
((COUNTER_L++))
echo "$COUNTER_L" > "$CONFIG_FILE"
fi
echo -e "${SUCCESS} Clean code, starting $ERIS phisher... ${RESET}"
loading
loading
python3 "$ERIS_PATH"
echo
else
echo -e "${ERROR} Python3 is not installed on this system. Installing... ${RESET}"
if sudo apt-get update; then
if sudo apt-get install -y python3; then
echo -e "${SUCCESS} Python3 installed SUCCESSfully. Waiting 3 seconds before running $ERIS... ${RESET}"
sleep 3
python3 "$ERIS_PATH"
else
echo -e "${ERROR} Could not install Python3. Please install it manually and try again. ${RESET}"
fi
else
echo -e "${INFO2} Failed to update repositories. Check your internet connection and try again. ${RESET}"
fi
fi
}
main