Skip to content

Commit

Permalink
Update preventing-script-injection.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cnotin authored Jan 14, 2025
1 parent 8dba7f0 commit 34efed3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ statements, one of which is arbitrary code injected by the user.
pwnd!
```

### Use the `EscapeSingleQuotedStringContent()` method
#### Use the `EscapeSingleQuotedStringContent()` method

To protect against the user inserting their own single quote characters to exploit the function you
must use the `EscapeSingleQuotedStringContent()` API. This is a static public method of the PowerShell
Expand Down

0 comments on commit 34efed3

Please sign in to comment.