Fixing cloudhat/hatcloud in error messages

master
Joe Barrett 2017-09-28 10:04:18 -04:00
parent 98cedf99f9
commit b75b45e148
1 changed files with 19 additions and 19 deletions

View File

@ -33,7 +33,7 @@ end
options = {:bypass => nil, :massbypass => nil} options = {:bypass => nil, :massbypass => nil}
parser = OptionParser.new do|opts| parser = OptionParser.new do|opts|
opts.banner = "Example: ruby cloudhat.rb -b <your target> or ruby cloudhat.rb --byp <your target>" opts.banner = "Example: ruby hatcloud.rb -b <your target> or ruby hatcloud.rb --byp <your target>"
opts.on('-b ','--byp ', 'Discover real IP (bypass CloudFlare)', String)do |bypass| opts.on('-b ','--byp ', 'Discover real IP (bypass CloudFlare)', String)do |bypass|
options[:bypass]=bypass; options[:bypass]=bypass;
end end
@ -46,7 +46,7 @@ parser = OptionParser.new do|opts|
opts.on('-h', '--help', 'Help') do opts.on('-h', '--help', 'Help') do
banner() banner()
puts opts puts opts
puts "Example: ruby cloudhat.rb -b discordapp.com or ruby cloudhat.rb --byp discordapp.com" puts "Example: ruby hatcloud.rb -b discordapp.com or ruby hatcloud.rb --byp discordapp.com"
exit exit
end end
end end