Sha256: 1543826bde61c6bf95624a7b5a030e1033f376843f0395f7645f536100bffa6e
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../lib/spotlight' if ARGV.size == 0 puts 'Spotlight [Powered by hostip.info]' puts 'USAGE: spotlight [ip_address]' puts 'EXAMPLES:' puts ' spotlight 209.85.171.100' exit end spotlight = Spotlight.new(ARGV[0]) puts "location -- name: #{spotlight.location.name}, latitude: #{spotlight.location.latitude}, longitude: #{spotlight.location.longitude}" puts "country -- name: #{spotlight.country.name}, code: #{spotlight.country.code}"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attack-spotlight-0.1.0 | bin/spotlight |