dradis/dradisframework — Issue #59: Nikto upload fails
Author: digininja
Created: 2011-12-14 11:59:51+00:00
State: open

I just got this trying to import a Nikto file. The file was created yesterday by version 2.1.4 with no special options.

Robin

server $ RAILS_ENV=production bundle exec thor dradis:upload:nikto nikto_file.xml
Parsing Nikto output...
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/rexml/parsers/baseparser.rb:341:in `pull': Missing end tag for '' (got "description") ( REXML::ParseException)
Line: 33
Position: 1883
Last 80 unconsumed characters:
from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/rexml/parsers/streamparser.rb:16:in `parse'
from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/rexml/document.rb:204:in `parse_stream'
from /home/robin/src/dradisframework/server/vendor/plugins/nikto_upload/lib/nikto_upload/parser.rb:48:in `parse'
from /home/robin/src/dradisframework/server/vendor/plugins/nikto_upload/lib/nikto_upload/parser.rb:34:in `parsestring'
from /home/robin/src/dradisframework/server/vendor/plugins/nikto_upload/lib/nikto_upload/parser.rb:25:in `parsestring'
from /home/robin/src/dradisframework/server/vendor/plugins/nikto_upload/lib/nikto_upload/filters.rb:14:in `import'
from /home/robin/src/dradisframework/server/vendor/plugins/nikto_upload/lib/tasks/thorfile.rb:17:in `nikto'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/runner.rb:34:in `method_missing'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:108:in `run'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/bin/thor:6:in `'
from /usr/local/rvm/gems/ruby-1.9.2-p290/bin/thor:19:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290/bin/thor:19:in `

'