feat: support command probe template

This commit is contained in:
ReaJason
2025-12-08 01:43:41 +08:00
parent f77c829f4e
commit 056032cae7
10 changed files with 99 additions and 11 deletions
+1
View File
@@ -26,6 +26,7 @@ export interface ProbeContentConfig {
sleepServer?: string;
server?: string;
reqParamName?: string;
commandTemplate?: string;
}
export interface DNSLogConfig {
+1
View File
@@ -160,6 +160,7 @@ export const probeShellFormSchema = yup.object().shape({
host: yup.string().optional(),
server: yup.string().optional(),
reqParamName: yup.string().optional(),
commandTemplate: yup.string().optional(),
seconds: yup.number().optional(),
sleepServer: yup.string().optional(),
packingMethod: yup.string().required(),