Skip to content

Commit

Permalink
Land #13884, Linux::Priv#download_cmd removal
Browse files Browse the repository at this point in the history
  • Loading branch information
wvu committed Jul 23, 2020
2 parents 613c37f + d986d27 commit 93df021
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/msf/core/post/linux/priv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ def is_root?
# Multiple functions to simulate native commands added
#

def download_cmd(remote_path, local_path)
file_origin = read_file(remote_path)
`echo "#{file_origin}" > #{local_path}`
end

def touch_cmd(new_path_file)
cmd_exec("> #{new_path_file}")
end
Expand Down

0 comments on commit 93df021

Please sign in to comment.