Skip to content

Commit

Permalink
Updated to v1.2
Browse files Browse the repository at this point in the history
The domain update is here ! (v1.2)
   • Add custom domains creator
   • Less lags
   • Reviewed the translation
  • Loading branch information
ZKAW authored Jul 10, 2018
1 parent dd45dc5 commit 86fc6bc
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 74 deletions.
38 changes: 29 additions & 9 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ pip2path = '/usr/bin/pip2'
conffldr = "/root/.verifymail"
listfldr = "/root/.verifymail/lists"
verifiedfldr = "/root/.verifymail/verified"
domainsfldr = "/root/.verifymail/domainslists"
domainsfile = "/root/.verifymail/domainslists/default.txt"



print(RED + "\n[!] " + LIGHTRED + "REMINDER: THE SCRIPT IS ONLY WORKING WITH" + RED + " Python 2.7 " + LIGHTRED + "!\n")
Expand All @@ -41,7 +44,7 @@ else:
system('apt-get install python2.7')


time.sleep(1.5)
time.sleep(0.5)

print(BLUE + "\n Checking if pip2 is installed...")

Expand All @@ -60,22 +63,39 @@ system('chmod +x verifymail')
system('chmod +x INSTALL')
system('chmod +x UNINSTALL')
system('chmod +x UPDATE')
time.sleep(0.5)


print(BLUE + "\n Creating .verifymail config files in /root/.verifymail" + LIGHTBLUE)
time.sleep(0.5)
print(BLUE + " Creating /root/.verifymail/" + LIGHTBLUE)
time.sleep(0.5)
if not os.path.exists(conffldr):
print(BLUE + "\n Creating .verifymail config files in " + conffldr + LIGHTBLUE)
time.sleep(0.5)
print(BLUE + "\n Creating " + conffldr + LIGHTBLUE)
os.makedirs(conffldr)
print(BLUE + " Creating /root/.verifymail/lists" + LIGHTBLUE)
time.sleep(0.5)
time.sleep(0.5)
if not os.path.exists(listfldr):
print(BLUE + "\n Creating " + listfldr + LIGHTBLUE)
os.makedirs(listfldr)
print(BLUE + " Creating /root/.verifymail/verified" + LIGHTBLUE)
time.sleep(0.5)
time.sleep(0.5)
if not os.path.exists(verifiedfldr):
print(BLUE + "\n Creating " + verifiedfldr + LIGHTBLUE)
os.makedirs(verifiedfldr)
time.sleep(0.5)
if not os.path.exists(domainsfldr):
print(BLUE + "\n Creating " + domainsfldr + LIGHTBLUE)
os.makedirs(domainsfldr)
time.sleep(0.5)
if not os.path.exists(domainsfile):
print(BLUE + "\n Writing basic domains list in " + domainsfile + LIGHTBLUE)
time.sleep(0.5)
with open(domainsfile, 'a') as domains:
domains.write('gmail.com\n')
domains.write('hotmail.com\n')
domains.write('hotmail.fr\n')
domains.write('outlook.com\n')
domains.write('orange.fr\n')
domains.write('wanadoo.fr\n')
domains.write('laposte.net\n')



print(BLUE + '\n Installing requirements from "requirements.txt" file\n' + LIGHTBLUE)
Expand Down
2 changes: 1 addition & 1 deletion UNINSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ from os import system
DEFAULT, BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, LIGHTGRAY, DARKGRAY, LIGHTRED, LIGHTGREEN, LIGHTYELLOW, LIGHTBLUE, LIGHTMAGENTA, LIGHTCYAN, WHITE, GRAY = '\33[39m', '\33[30m', '\33[31m', '\33[32m', '\33[33m', '\33[34m', '\33[35m', '\33[36m', '\33[37m', '\33[90m', '\33[91m', '\33[92m', '\33[93m', '\33[94m', '\33[95m', '\33[96m', '\33[97m', '\33[30m'


yes = {'yes', 'y', 'YES', 'Y',}
yes = {'yes', 'y', 'YES', 'Y'}
no = {'no' ,'n', 'NO', 'N', ''}

choice = raw_input(LIGHTBLUE + "\n Do you really want to uninstall me ? :'( (y/n): ").lower()
Expand Down
Loading

0 comments on commit 86fc6bc

Please sign in to comment.