-
Notifications
You must be signed in to change notification settings - Fork 0
/
xrmailer
executable file
·152 lines (119 loc) · 3.26 KB
/
xrmailer
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
#!/bin/bash
######################################################################
# Copyright (c). All rights reserved #
# GNU GENERAL PUBLIC LICENSE #
# Version 3, 29 June 2007 #
# #
# Coded by Solomon Narh (::XploitsR Author::) #
# Github: https://github.com/XploitsR/XRMailer #
# Facebook: https://facebook.com/RXploits #
# Twitter: https://twitter.com/RXploits #
# Telegram: https://t.me/RXploits #
# Website: https://xploitsr.tk #
# #
# ::PERSONAL ME:: #
# Github: https://github.com/XploitsR/XRMailer #
# Facebook: https://facebook.com/solomon.narh.311 #
# Twitter: https://twitter.com/solomon97062 #
# Instagram: @_xploitsr_author_1 #
# Email: [email protected] #
######################################################################
clear
path=`pwd`
xrlog="$path/.xrlog/xrlog"
if [ -f "$xrlog" ] || [ ! -f "$xrlog" ]
then
cyan='\e[0;36m'
green='\e[0;32m'
red='\e[1;31m'
yellow='\e[1;33m'
whiteBlink='\e[1;5m'
path=`pwd`
file="$path/xrmailer.py"
sleep 1
Banner(){
source banner
}
Credits(){
echo "
[== XploitsR Authors ==]
[============================================]
== Full Programmer ==
Solomon Narh
== His Email ==
== His Facebook Account ==
https://facebook.com/solomon.narh.311
[== Contributors ==]
[============================================]
== HTML Developer ==
Dharmesh Pandey
== His Email ==
== His Facebook Account ==
https://facebook.com/dharmeshspandey
[============================================]
"
}
Usage(){
echo "Usage: xrmailer [OPTION] "
echo "OPTIONS:"
echo " "
echo " --start :: for starting up xrmailer"
echo " --setup :: for setting up xrmailer for the first time"
echo " --help :: print this screen"
echo " --version :: print xrmailer version"
echo " --credits :: show developers && contributors"
echo " "
echo "Start:"
echo " xrmailer --start"
echo " "
}
Version(){
echo "XRMailer::Version->1.0.3"
}
if [ "$1" = '--help' ]
then
sleep 2
Banner
Usage
elif [ "$1" = '--version' ]
then
sleep 2
Banner
echo " "
Version
elif [ "$1" = '--setup' ];then
chmod +x setup.sh && ./setup.sh
elif [ "$1" = '--credits' ];then
Credits
elif [ "$1" = '--start' ] && [ -f "$xrlog" ]
then
echo " "
sleep 3
Banner
echo " "
sleep 2
echo "[*] ::Compose Mail:: "
sleep 2
if [ -f "$file" ]
then
python3 $file
sleep 3
else
echo -e $red"[!] ::Mailer(file) not found:: "
sleep 2
echo -e $red"[!] ::Aborting:: "
sleep 3
fi
else
sleep 2
Banner
echo " "
Usage
fi
else
echo "[!] Please Run The Setup"
echo "[*] Type: xrmailer --setup"
exit 1
fi