This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: ") |