add chain and table addition to frontend
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s

This commit is contained in:
2026-02-23 20:21:16 +01:00
parent dfa9a4a343
commit 6636f72f11
5 changed files with 1100 additions and 222 deletions

View File

@@ -163,6 +163,12 @@ export const createRuleJson = async (req: CreateRuleRequest): Promise<ExecResult
const res = await api.post<ExecResult>("/firewall/rules", req);
return res.data;
};
export const execFirewallRaw = async (cmd: string): Promise<ExecResult> => {
const res = await api.post<ExecResult>("/firewall/raw", { "cmd": cmd });
return res.data;
}
/* -------------------------
Scripts
------------------------- */