bcoles/ssrf_proxy

View on GitHub
bin/console

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby
#
# Copyright (c) 2015-2017 Brendan Coles <bcoles@gmail.com>
# SSRF Proxy - https://github.com/bcoles/ssrf_proxy
# See the file 'LICENSE.md' for copying permission
#

require 'irb'
require 'irb/completion'
require 'ssrf_proxy'

begin
  puts "\n_________________________________________________________".blue
  puts SSRFProxy::BANNER.blue
  puts "\n                    SSRF Proxy v#{SSRFProxy::VERSION}"
  puts "          https://github.com/bcoles/ssrf_proxy\n"
  puts "\n_________________________________________________________\n".blue

  puts "SSRFProxy[#{SSRFProxy::VERSION.yellow}], " \
       "Ruby[#{RUBY_VERSION.yellow}], " \
       "Platform[#{RUBY_PLATFORM.yellow}]"
  puts
rescue => e
  puts "Error: Could not load SSRF Proxy: #{e.message}"
end
IRB.start