Unbreak yourself!
parent
3d999f13c4
commit
a526e3d360
|
@ -302,7 +302,7 @@ module Msf::Post::File
|
|||
# Rename a remote file
|
||||
#
|
||||
def rename_file(new_file, old_file)
|
||||
write_file(new_file, (read_file(old_file))
|
||||
write_file(new_file, (read_file(old_file)))
|
||||
rm_f(old_file)
|
||||
end
|
||||
alias :move_file :rename_file
|
||||
|
|
Loading…
Reference in New Issue