18 lines
459 B
Ruby
Executable file
18 lines
459 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
require "require_all"
|
|
require "pry"
|
|
|
|
# Obtain the present woking directory
|
|
current_dir = Dir.pwd
|
|
|
|
if current_dir =~ /^(.*?\/misc_rbtools)/
|
|
require_all '../modules'
|
|
require_all '../classes'
|
|
end
|
|
|
|
# different downloading tools
|
|
nvd_downloader = NvdTools::NvdDownloader.new
|
|
scans_io_downloader = ScansIoTools::ScansIoDownloader.new
|
|
scans_io_parser = ScansIoTools::ScansIoIndexParser.new(scans_io_downloader.get_json_index.body)
|
|
|
|
Pry.start
|