Use the relative path to nmap
git-svn-id: file:///home/svn/framework3/trunk@7381 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1c51182b39
commit
55b5b828f2
|
@ -651,9 +651,7 @@ class Db
|
|||
args.push('-oX', fd.path)
|
||||
end
|
||||
|
||||
args.unshift(nmap)
|
||||
|
||||
cmd = args.map{|x| "'#{x}'"}.join(" ")
|
||||
cmd = "nmap " + args.map{|x| "'#{x}'"}.join(" ")
|
||||
|
||||
print_status("exec: #{cmd}")
|
||||
IO.popen( cmd, 'rb' ) do |io|
|
||||
|
|
Loading…
Reference in New Issue