Skip to content

Instantly share code, notes, and snippets.

View gschneider-r7's full-sized avatar
why is this?

Gavin Schneider gschneider-r7

why is this?
  • Rapid7
  • Los Angeles
View GitHub Profile
#!/usr/bin/env ruby
require 'io/console'
require 'nexpose'
include Nexpose
def get_console(prompt="Console IP: ")
print prompt
gets.chomp
end
def get_username(prompt="User: ")