Skip to content

Commit 5fc9706

Browse files
committed
Use Rex.sleep instead of sleep
1 parent 388064b commit 5fc9706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/meterpreter/uploadexec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def unsupported
126126
exec = upload(session,file,path)
127127
if sleep_sec
128128
print_status("\tSleeping for #{sleep_sec}s...")
129-
sleep(sleep_sec)
129+
Rex.sleep(sleep_sec)
130130
end
131131
cmd_on_trgt_exec(session,exec,cmdopt,verbose)
132132
if remove == 1

0 commit comments

Comments
 (0)