Skip to content

Commit caf7619

Browse files
committed
Remove extra comma, fixes syntax errors in 1.8
Thanks, Kanedaaa, for reporting
1 parent c6c59b6 commit caf7619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/hp_sitescope_uploadfileshandler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def exploit
102102
print_status("#{@peer} - Retrieving an initial JSESSIONID")
103103
res = send_request_cgi(
104104
'uri' => "#{@uri}servlet/Main",
105-
'method' => 'POST',
105+
'method' => 'POST'
106106
)
107107

108108
if res and res.code == 200 and res.headers['Set-Cookie'] =~ /JSESSIONID=([0-9A-F]*);/

0 commit comments

Comments
 (0)