Skip to content

Commit d5888a7

Browse files
committed
Fix module options
1 parent 47acf34 commit d5888a7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

modules/auxiliary/scanner/http/wildfly_traversal.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@ def initialize(info = {})
3333
register_options(
3434
[
3535
Opt::RPORT(8080),
36-
OptString.new("FILEPATH", [true, 'Full path to the file to read', 'standalone\\configuration\\standalone.xml'])
37-
], self.class)
38-
39-
register_advanced_options(
40-
[
36+
OptString.new("FILEPATH", [true, 'Full path to the file to read', 'standalone\\configuration\\standalone.xml']),
4137
OptInt.new('TRAVERSAL_DEPTH', [true, 'Traversal depth', 1])
4238
], self.class)
43-
44-
deregister_options('RHOST')
4539
end
4640

4741
def run_host(ip)

0 commit comments

Comments
 (0)