Try try again

git-svn-id: file:///home/svn/framework3/trunk@5248 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-12-31 08:28:59 +00:00
parent 5e2f1ea7cc
commit 4a7683a88a
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Plugin::DBSQLite3 < Msf::Plugin
tmp = Tempfile.new("sqlXXXXXXX")
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|
print_status("OUTPUT: #{line.strip}")