Skip to content

Commit 9219040

Browse files
committed
use full target_path
1 parent 48975a4 commit 9219040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rex/post/meterpreter/client_core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def load_library(opts)
257257
end
258258

259259
library_path = "ext#{rand(1000000)}.#{suffix}"
260-
target_path = library_path
260+
target_path = "/tmp/#{library_path}"
261261
end
262262
end
263263

0 commit comments

Comments
 (0)