Skip to content

Commit 1c6d7ee

Browse files
lsato-r7jmartin-tech
authored andcommitted
additional changes for Nexpose XXE Arbitrary File Read
1 parent eeba1e0 commit 1c6d7ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/admin/http/nexpose_xxe_file_read.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
##
55

66
require 'msf/core'
7-
require 'rapid7/nexpose'
7+
require 'nexpose'
88

99
class MetasploitModule < Msf::Auxiliary
1010

@@ -140,7 +140,7 @@ def run
140140

141141
print_status("Cleaning up")
142142
begin
143-
nsc.site_delete id
143+
nsc.delete_site id
144144
rescue
145145
print_warning("Error while cleaning up site ID, manual cleanup required!")
146146
end

0 commit comments

Comments
 (0)