Skip to content

Repository files navigation

ruby-nikto

CIGem Version

Description

A Ruby interface to nikto.

Features

  • Provides a Ruby interface for running the nikto utility.
  • Provides a parser for enumerating Nikto XML scan files.

Examples

Run Nikto from Ruby:

require'nikto/command'Nikto::Command.run(host: 'example.com',output: 'nikto.xml')

Parse Nikto XML scan files:

require'nikto/xml'Nikto::XML.open('nikto.xml')do |xml|
xml.each_scan_detailsdo |scan_details|
puts"#{scan_details.site_name}"scan_details.each_itemdo |item|
puts" #{item.uri}"putsputs" #{item.description}"putsendendend

Requirements

Install

$ gem install ruby-nikto

gemspec

gemspec.add_dependency'ruby-nikto','~> 0.1'

Gemfile

gem'ruby-nikto','~> 0.1'

License

Copyright (c) 2009-2021 Hal Brodigan

See {file:LICENSE.txt} for license information.

About

A Ruby interface to Nikto.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages