#!/usr/bin/env ruby
module Banners
  def main_banner
    "
        ____                             ____             __
       / __ \\____ _      _____  _____   / __ \\__  _______/ /____  __
      / /_/ / __ \\ | /| / / _ \\/ ___/  / / / / / / / ___/ //_/ / / /
     / ____/ /_/ / |/ |/ /  __/ /     / /_/ / /_/ / /__/ ,< / /_/ /
    /_/    \\____/|__/|__/\\___/_/     /_____/\\__,_/\\___/_/|_|\\__, /
                                                           /____/
    "
  end
  def fast_meterpreter_banner
    "
        ______           __     __  ___     __                            __
       / ____/___ ______/ /_   /  |/  /__  / /____  _________  ________  / /____  _____
      / /_  / __ `/ ___/ __/  / /|_/ / _ \\/ __/ _ \\/ ___/ __ \\/ ___/ _ \\/ __/ _ \\/ ___/
     / __/ / /_/ (__  ) /_   / /  / /  __/ /_/  __/ /  / /_/ / /  /  __/ /_/  __/ /
    /_/    \\__,_/____/\\__/  /_/  /_/\\___/\\__/\\___/_/  / .___/_/   \\___/\\__/\\___/_/
                                                     /_/
    "
  end
  def reverse_meterpreter_banner
    "
        ____                                   __  ___     __                            __
       / __ \\___ _   _____  _____________     /  |/  /__  / /____  _________  ________  / /____  _____
      / /_/ / _ \\ | / / _ \\/ ___/ ___/ _ \\   / /|_/ / _ \\/ __/ _ \\/ ___/ __ \\/ ___/ _ \\/ __/ _ \\/ ___/
     / _, _/  __/ |/ /  __/ /  (__  )  __/  / /  / /  __/ /_/  __/ /  / /_/ / /  /  __/ /_/  __/ /
    /_/ |_|\\___/|___/\\___/_/  /____/\\___/  /_/  /_/\\___/\\__/\\___/_/  / .___/_/   \\___/\\__/\\___/_/
                                                                    /_/
    "
  end
  def dump_hash_banner
    "
        __  __           __       ____
       / / / /___ ______/ /_     / __ \\__  ______ ___  ____
      / /_/ / __ `/ ___/ __ \\   / / / / / / / __ `__ \\/ __ \\
     / __  / /_/ (__  ) / / /  / /_/ / /_/ / / / / / / /_/ /
    /_/ /_/\\__,_/____/_/ /_/  /_____/\\__,_/_/ /_/ /_/ .___/
                                                   /_/
    "
  end
  def dump_lsass_banner
    "
        __   _____ ___   __________    ____
       / /  / ___//   | / ___/ ___/   / __ \\__  ______ ___  ____
      / /   \\__ \\/ /| | \\__ \\__  \\   / / / / / / / __ `__ \\/ __ \\
     / /______/ / ___ |___/ /__/ /  / /_/ / /_/ / / / / / / /_/ /
    /_____/____/_/  |_/____/____/  /_____/\\__,_/_/ /_/ /_/ .___/
                                                        /_/
    "
  end
  def dump_wifi_banner
    "
     _       ___ _____    ____
    | |     / (_) __(_)  / __ \\__  ______ ___  ____
    | | /| / / / /_/ /  / / / / / / / __ `__ \\/ __ \\
    | |/ |/ / / __/ /  / /_/ / /_/ / / / / / / /_/ /
    |__/|__/_/_/ /_/  /_____/\\__,_/_/ /_/ /_/ .___/
                                           /_/
    "
  end
  def powershell_wget_banner
    "
        ____                               __         ____   _       ____________________
       / __ \\____ _      _____  __________/ /_  ___  / / /  | |     / / ____/ ____/_  __/
      / /_/ / __ \\ | /| / / _ \\/ ___/ ___/ __ \\/ _ \\/ / /   | | /| / / / __/ __/   / /
     / ____/ /_/ / |/ |/ /  __/ /  (__  ) / / /  __/ / /    | |/ |/ / /_/ / /___  / /
    /_/    \\____/|__/|__/\\___/_/  /____/_/ /_/\\___/_/_/     |__/|__/\\____/_____/ /_/

    "
  end
  def hex_to_bin_banner
    "
        __  __             __           ____  _
       / / / /__  _  __   / /_____     / __ )(_)___
      / /_/ / _ \\| |/_/  / __/ __ \\   / __  / / __ \\
     / __  /  __/>  <   / /_/ /_/ /  / /_/ / / / / /
    /_/ /_/\\___/_/|_|   \\__/\\____/  /_____/_/_/ /_/

    "
  end
  def print_banner_color(banner)
    random_color = rand(30..38)
    print "\e[#{random_color};1m#{banner}\e[0m\n"
  end
end
