mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
fix
git-svn-id: file:///home/svn/incoming/trunk@2418 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
28195abe63
commit
960a193a9a
@ -4,7 +4,7 @@ require 'DemoClient'
|
||||
|
||||
host = ARGV[1] || '127.0.0.1'
|
||||
port = ARGV[2] || '12345'
|
||||
dir = ARGV[3] || "%WINDIR%\inf"
|
||||
dir = ARGV[3] || "%WINDIR%\\inf"
|
||||
client = DemoClient.new(host, port).client
|
||||
|
||||
begin
|
||||
@ -12,4 +12,4 @@ begin
|
||||
rescue
|
||||
end
|
||||
|
||||
client.fs.dir.download('/tmp/mirror_demo', '%WINDIR%\inf', true)
|
||||
client.fs.dir.download('/tmp/mirror_demo', dir, true)
|
||||
|
Loading…
Reference in New Issue
Block a user