Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
fix GHSA-22gg-9h5v-xqq5
  • Loading branch information
Pik-4 authored Dec 17, 2024
2 parents 9800be3 + 42d0b43 commit 8efad31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HsMod/WebApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ public class WebApi

public static async Task<string> RunShellCommandAsync(string command)
{
if (!isWebshellEnable.Value) {
return string.Empty;
}

var processInfo = new ProcessStartInfo
{
CreateNoWindow = true,
Expand Down

0 comments on commit 8efad31

Please sign in to comment.