mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
13 lines
164 B
Go
13 lines
164 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
"os/exec"
|
|
)
|
|
|
|
func handler(req *http.Request) {
|
|
cmdName := req.URL.Query()["cmd"][0]
|
|
cmd := exec.Command(cmdName)
|
|
cmd.Run()
|
|
}
|