(nodeIndex,instanceID,callback)
| 2 | import { UrlBase } from "./base"; |
| 3 | |
| 4 | export const StartInstanceWebshell = (nodeIndex,instanceID,callback) => { |
| 5 | axios.post(UrlBase+"/webshell/instance",{ |
| 6 | node_index:Number(nodeIndex), |
| 7 | instance_id:instanceID, |
| 8 | expire_minute:5, |
| 9 | }).then((response)=>{ |
| 10 | callback(response) |
| 11 | }) |
| 12 | } |
| 13 | |
| 14 | export const StartLinkWebshell = (linkID,nodeIndex,callback) => { |
| 15 | axios.post(UrlBase+"/webshell/link",{ |
nothing calls this directly
no outgoing calls
no test coverage detected