Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'watir'
- require 'optparse'
- options = ()
- optparse = OptionParser.new
- opts.banner = "Usage: rBiez.rb [options]" do
- options[:verbose] = false
- opts.on( '-v', '--verbose', "Tells ya more shit" ) do
- options[:verbose] = true
- end
- opts.on( '-u', '--url URL', "The url to h4x dumbphace) do
- options[:url] = url
- end
- opts.on( '-h', '--help', "display some help" ) do
- puts opts
- exit
- end
- end
- ie = Watir::IE.new
- ie = Watir::IE.start(options[:url] + "'")
- puts ie.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement