1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Place all arguments in quotes

git-svn-id: file:///home/svn/framework3/trunk@7383 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2009-11-06 17:30:25 +00:00
parent bf0e856c1f
commit f985349a26

View File

@ -659,7 +659,7 @@ class Db
print_status("exec: #{args.join(" ")}")
Thread.new {
system(args)
system(args.map{|a| "'#{a}'"})
}.join
fo.each_line do |line|
print_status("NMAP: #{line.strip}")