diff --git a/striker-ui-api/src/lib/consts/SERVER_PATHS.ts b/striker-ui-api/src/lib/consts/SERVER_PATHS.ts index 132d3015..d24140d6 100644 --- a/striker-ui-api/src/lib/consts/SERVER_PATHS.ts +++ b/striker-ui-api/src/lib/consts/SERVER_PATHS.ts @@ -11,6 +11,7 @@ const EMPTY_SERVER_PATHS: ServerPath = { bin: { date: {}, mkfifo: {}, + openssl: {}, psql: {}, rm: {}, sed: {}, diff --git a/striker-ui-api/src/lib/shell.ts b/striker-ui-api/src/lib/shell.ts index dcd12f2e..36947da1 100644 --- a/striker-ui-api/src/lib/shell.ts +++ b/striker-ui-api/src/lib/shell.ts @@ -35,6 +35,9 @@ export const date = (...args: string[]) => export const mkfifo = (...args: string[]) => systemCall(SERVER_PATHS.usr.bin.mkfifo.self, args); +export const openssl = (...args: string[]) => + systemCall(SERVER_PATHS.usr.bin.openssl.self, args); + export const rm = (...args: string[]) => systemCall(SERVER_PATHS.usr.bin.rm.self, args);