lib/ronin/exploits/cli/exploit_command.rb in ronin-exploits-1.0.0 vs lib/ronin/exploits/cli/exploit_command.rb in ronin-exploits-1.0.1
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
#
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
# payload crafting functionality.
#
# Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
@@ -22,9 +23,12 @@
require 'ronin/exploits/cli/exploit_methods'
module Ronin
module Exploits
class CLI
+ #
+ # Base class for all commands which load or run exploits.
+ #
class ExploitCommand < Command
include ExploitMethods
usage '[options] {NAME | -f FILE}'