Skip to content

Commit

Permalink
Merge pull request #663 from mrnossiom/mrnossiom/exec-high-reorder-su…
Browse files Browse the repository at this point in the history
…btitutions

exec-high: reorder subtitutions to correctly replace double pipe
  • Loading branch information
digininja authored Dec 12, 2024
2 parents 0a509bd + 010b0bd commit 55d152a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulnerabilities/exec/source/high.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

// Set blacklist
$substitutions = array(
'||' => '',
'&' => '',
';' => '',
'| ' => '',
Expand All @@ -14,7 +15,6 @@
'(' => '',
')' => '',
'`' => '',
'||' => '',
);

// Remove any of the characters in the array (blacklist).
Expand Down

0 comments on commit 55d152a

Please sign in to comment.