Skip to content

Commit da31761

Browse files
committed
Lint
1 parent 3900680 commit da31761

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

documentation/modules/exploit/multi/http/avideo_wwbnindex_unauth_rce.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ to execute arbitrary PHP code on the server.
99
The vulnerability is present in versions from 12.4 up to 14.2.
1010

1111
To set up a vulnerable environment for testing, follow the installation steps provided in the AVideo documentation for running with Docker:
12-
<https://github.com/WWBN/AVideo/wiki/Running-AVideo-with-Docker>. Ensure AVideo version installed is between 12.4 and 14.2 and the WWBIndex plugin is installed - this can be done by verifying `/var/www/html/AVideo/plugin/WWBNIndex` exists.
12+
<https://github.com/WWBN/AVideo/wiki/Running-AVideo-with-Docker>.
13+
Ensure AVideo version installed is between 12.4 and 14.2 and the WWBIndex plugin is installed.
14+
This can be done by verifying `/var/www/html/AVideo/plugin/WWBNIndex` exists.
1315

1416
## Verification Steps
1517

modules/exploits/multi/http/avideo_wwbnindex_unauth_rce.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ def check
103103
return CheckCode::Unknown('Unable to extract AVideo version.') unless version_match && version_match[1]
104104

105105
version = Rex::Version.new(version_match[1])
106-
plugin_check = send_request_cgi({
107-
'uri' => normalize_uri(target_uri.path, 'plugin', 'WWBNIndex','submitIndex.php'),
108-
'method' => 'GET',
109-
})
106+
plugin_check = send_request_cgi({
107+
'uri' => normalize_uri(target_uri.path, 'plugin', 'WWBNIndex', 'submitIndex.php'),
108+
'method' => 'GET'
109+
})
110110
unless plugin_check&.code == 200
111-
CheckCode::Safe("Vulnerable plugin WWBNIndex was not detected")
111+
CheckCode::Safe('Vulnerable plugin WWBNIndex was not detected')
112112
end
113113

114114
if version.between?(Rex::Version.new('12.4'), Rex::Version.new('14.2'))

0 commit comments

Comments
 (0)