mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: execute files check via docker cli
WARNING: possible command injection vunerability.
This commit is contained in:
1 parent
38f3dbcd65
commit
50b1fe5124
4 files changed
+17
-53
No files matched your search
@@ -3,7 +3,7 @@ import { FileGraph } from '@linux-odyssey/file-graph'
|
||||
import { Quest } from '@linux-odyssey/models'
|
||||
import { pushToSession } from '../api/socket.js'
|
||||
import SessionHandler from './sessionHandler.js'
|
||||
import { checkFiles } from '../containers/docker.js'
|
||||
import { checkFiles } from '../containers/cli.js'
|
||||
|
||||
// 檢查 pattern 是否符合 input
|
||||
const checkMatch = (pattern, input) => {
|
||||
|
||||
Reference in new issue
Block a user