PBA changes: Linux

This commit is contained in:
Shreya 2020-06-05 17:43:08 +05:30
parent 2b9d54408a
commit 15ac77056a
1 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,8 @@ def get_linux_commands_to_hide_files():
return [
'touch', # create file
HIDDEN_FILE,
'; echo \"Successfully created hidden file\" >', # write to
'; echo \"Successfully created hidden file: {}\" |'.format(HIDDEN_FILE), # output
'tee -a', # and write to file
HIDDEN_FILE
]
@ -17,7 +18,8 @@ def get_linux_commands_to_hide_folders():
HIDDEN_FOLDER,
'; touch', # create file
'{}/{}'.format(HIDDEN_FOLDER, 'some-file'), # random file in hidden folder
'; echo \"Successfully created hidden folder\" >', # write to
'; echo \"Successfully created hidden folder: {}\" |'.format(HIDDEN_FOLDER), # output
'tee -a', # and write to file
'{}/{}'.format(HIDDEN_FOLDER, 'some-file') # random file in hidden folder
]