14 lines
251 B
Ruby
14 lines
251 B
Ruby
|
#!/usr/bin/env ruby
|
||
|
|
||
|
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
||
|
require 'rex/parser/winscp'
|
||
|
|
||
|
exit unless ARGV.count == 1
|
||
|
|
||
|
include Rex::Parser::WinSCP
|
||
|
|
||
|
puts ARGV.first
|
||
|
read_and_parse_ini(ARGV.first).each do |res|
|
||
|
puts res.inspect
|
||
|
end
|