We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7cf0c8 + 6a8da32 commit 0d02997Copy full SHA for 0d02997
modules/exploits/multi/local/at_persistence.rb
@@ -80,6 +80,7 @@ def exploit
80
write_file(payload_file, persistent_payload)
81
register_files_for_cleanup(payload_file) if datastore['CLEANUP']
82
83
+ cmd_exec("chmod 700 #{payload_file}")
84
cmd_exec("at -f #{payload_file} #{datastore['TIME']}")
85
86
print_status("Waiting up to #{datastore['WfsDelay']}sec for execution")
0 commit comments