Try try again
git-svn-id: file:///home/svn/framework3/trunk@5248 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
5e2f1ea7cc
commit
4a7683a88a
|
@ -111,7 +111,7 @@ class Plugin::DBSQLite3 < Msf::Plugin
|
||||||
tmp = Tempfile.new("sqlXXXXXXX")
|
tmp = Tempfile.new("sqlXXXXXXX")
|
||||||
tmp.close
|
tmp.close
|
||||||
|
|
||||||
system("#{sqlite3} \"#{opts['dbfile']}\" < \"#{sql}\" >\"#{tmp.path}\" 2>&1")
|
system("#{sqlite3} \"#{opts['dbfile']}\" < \"#{sql}\" >\"#{tmp.path}\"")
|
||||||
|
|
||||||
File.read(tmp.path).each_line do |line|
|
File.read(tmp.path).each_line do |line|
|
||||||
print_status("OUTPUT: #{line.strip}")
|
print_status("OUTPUT: #{line.strip}")
|
||||||
|
|
Loading…
Reference in New Issue