Method: Wpxf::WordPress::HashDump#initialize

Defined in:
lib/wpxf/wordpress/hash_dump.rb

#initializeObject

Initialises a new instance of Wpxf::WordPress::HashDump



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/wpxf/wordpress/hash_dump.rb', line 8

def initialize
  super

  _update_info_without_validation(
    desc: %(
      This module exploits an SQL injection vulnerability to generate
      a dump of all the user hashes in the database.
    )
  )

  register_options([
    StringOption.new(
      name: 'export_path',
      desc: 'The file to save the hash dump to',
      required: false
    )
  ])

  _generate_id_tokens
end