Skip to content

Commit 14e1baf

Browse files
committed
Minor style changes
1 parent 19c4d5b commit 14e1baf

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

modules/exploits/unix/webapp/wp_ninja_forms_unauthenticated_file_upload.rb

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def initialize(info = {})
1616
info,
1717
'Name' => 'WordPress Ninja Forms Unauthenticated File Upload',
1818
'Description' => %(
19-
Versions 2.9.36 to 2.9.42 of the Ninja Forms plugin contain
20-
an unauthenticated file upload vulnerability, allowing guests
21-
to uplod arbitrary PHP code that can be executed in the context
22-
of the web server.
23-
),
19+
Versions 2.9.36 to 2.9.42 of the Ninja Forms plugin contain
20+
an unauthenticated file upload vulnerability, allowing guests
21+
to upload arbitrary PHP code that can be executed in the context
22+
of the web server.
23+
),
2424
'License' => MSF_LICENSE,
2525
'Author' =>
2626
[
@@ -44,6 +44,18 @@ def initialize(info = {})
4444
register_options(opts, self.class)
4545
end
4646

47+
def print_status(msg='')
48+
super("#{peer} - #{msg}")
49+
end
50+
51+
def print_good(msg='')
52+
super("#{peer} - #{msg}")
53+
end
54+
55+
def print_error(msg='')
56+
super("#{peer} - #{msg}")
57+
end
58+
4759
def check
4860
check_plugin_version_from_readme('ninja-forms', '2.9.43', '2.9.36')
4961
end

0 commit comments

Comments
 (0)