Compare commits
10 Commits
keysize
...
01d6116f7f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01d6116f7f | ||
|
|
e452de8806 | ||
|
|
88cba45310 | ||
|
|
67b8cd2449 | ||
|
|
01a983bea8 | ||
|
|
04ed8761da | ||
|
|
f736b48d5d | ||
|
|
b499ac2afe | ||
|
|
f4af94e536 | ||
|
|
bba58e7a3a |
@@ -6,16 +6,18 @@ import (
|
|||||||
"bufio"
|
"bufio"
|
||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
|
"crypto/ed25519"
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
"crypto/rsa"
|
|
||||||
"crypto/x509"
|
"crypto/x509"
|
||||||
"encoding/pem"
|
"encoding/pem"
|
||||||
|
"errors"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
@@ -31,6 +33,10 @@ var (
|
|||||||
"/perm/breakglass.authorized_keys",
|
"/perm/breakglass.authorized_keys",
|
||||||
"path to an OpenSSH authorized_keys file; if the value is 'ec2', fetch the SSH key(s) from the AWS IMDSv2 metadata")
|
"path to an OpenSSH authorized_keys file; if the value is 'ec2', fetch the SSH key(s) from the AWS IMDSv2 metadata")
|
||||||
|
|
||||||
|
authorizedUserCAPath = flag.String("authorized_ca",
|
||||||
|
"/perm/breakglass.authorized_user_ca",
|
||||||
|
"path to an OpenSSH TrustedUserCAKeys file; note the certificate must list ':gokrazy:' as a valid principal")
|
||||||
|
|
||||||
hostKeyPath = flag.String("host_key",
|
hostKeyPath = flag.String("host_key",
|
||||||
"/perm/breakglass.host_key",
|
"/perm/breakglass.host_key",
|
||||||
"path to a PEM-encoded RSA, DSA or ECDSA private key (create using e.g. ssh-keygen -f /perm/breakglass.host_key -N '' -t rsa)")
|
"path to a PEM-encoded RSA, DSA or ECDSA private key (create using e.g. ssh-keygen -f /perm/breakglass.host_key -N '' -t rsa)")
|
||||||
@@ -46,6 +52,9 @@ var (
|
|||||||
forwarding = flag.String("forward",
|
forwarding = flag.String("forward",
|
||||||
"",
|
"",
|
||||||
"allow port forwarding. Use `loopback` for loopback interfaces and `private-network` for private networks")
|
"allow port forwarding. Use `loopback` for loopback interfaces and `private-network` for private networks")
|
||||||
|
|
||||||
|
home = "/perm/home"
|
||||||
|
shell = ""
|
||||||
)
|
)
|
||||||
|
|
||||||
func loadAuthorizedKeys(path string) (map[string]bool, error) {
|
func loadAuthorizedKeys(path string) (map[string]bool, error) {
|
||||||
@@ -81,6 +90,19 @@ func loadAuthorizedKeys(path string) (map[string]bool, error) {
|
|||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func loadPasswd(passwd string) {
|
||||||
|
b, err := os.ReadFile(passwd)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
fields := bytes.SplitN(bytes.SplitN(b, []byte("\n"), 2)[0], []byte(":"), 7)
|
||||||
|
if len(fields) != 7 {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
home = path.Clean(string(fields[5]))
|
||||||
|
shell = path.Clean(string(fields[6]))
|
||||||
|
}
|
||||||
|
|
||||||
func loadHostKey(path string) (ssh.Signer, error) {
|
func loadHostKey(path string) (ssh.Signer, error) {
|
||||||
b, err := ioutil.ReadFile(path)
|
b, err := ioutil.ReadFile(path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -91,7 +113,7 @@ func loadHostKey(path string) (ssh.Signer, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func createHostKey(path string) (ssh.Signer, error) {
|
func createHostKey(path string) (ssh.Signer, error) {
|
||||||
key, err := rsa.GenerateKey(rand.Reader, 1024)
|
_, key, err := ed25519.GenerateKey(rand.Reader)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@@ -172,7 +194,9 @@ func main() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
log.SetFlags(log.LstdFlags | log.Lshortfile)
|
log.SetFlags(log.LstdFlags | log.Lshortfile)
|
||||||
|
|
||||||
gokrazy.DontStartOnBoot()
|
installBusybox()
|
||||||
|
|
||||||
|
loadPasswd("/etc/passwd")
|
||||||
|
|
||||||
authorizedKeys, err := loadAuthorizedKeys(*authorizedKeysPath)
|
authorizedKeys, err := loadAuthorizedKeys(*authorizedKeysPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -182,19 +206,59 @@ func main() {
|
|||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
authorizedUserCertificateCA, err := loadAuthorizedKeys(strings.TrimPrefix(*authorizedUserCAPath, "ec2"))
|
||||||
|
if err != nil {
|
||||||
|
if os.IsNotExist(err) {
|
||||||
|
log.Printf("TrustedUserCAKeys not loaded")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if err := initMOTD(); err != nil {
|
if err := initMOTD(); err != nil {
|
||||||
log.Print(err)
|
log.Print(err)
|
||||||
}
|
}
|
||||||
|
certChecker := ssh.CertChecker{
|
||||||
config := &ssh.ServerConfig{
|
IsUserAuthority: func(auth ssh.PublicKey) bool {
|
||||||
PublicKeyCallback: func(conn ssh.ConnMetadata, pubKey ssh.PublicKey) (*ssh.Permissions, error) {
|
return authorizedUserCertificateCA[string(auth.Marshal())]
|
||||||
|
},
|
||||||
|
UserKeyFallback: func(conn ssh.ConnMetadata, pubKey ssh.PublicKey) (*ssh.Permissions, error) {
|
||||||
if authorizedKeys[string(pubKey.Marshal())] {
|
if authorizedKeys[string(pubKey.Marshal())] {
|
||||||
log.Printf("user %q successfully authorized from remote addr %s", conn.User(), conn.RemoteAddr())
|
log.Printf("user %q successfully authorized from remote addr %s", conn.User(), conn.RemoteAddr())
|
||||||
return nil, nil
|
return &ssh.Permissions{map[string]string{}, map[string]string{}}, nil
|
||||||
}
|
}
|
||||||
return nil, fmt.Errorf("public key not found in %s", *authorizedKeysPath)
|
return nil, fmt.Errorf("public key not found in %s", *authorizedKeysPath)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
config := &ssh.ServerConfig{
|
||||||
|
PublicKeyCallback: func(conn ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) {
|
||||||
|
cert, ok := key.(*ssh.Certificate)
|
||||||
|
if !ok {
|
||||||
|
if certChecker.UserKeyFallback != nil {
|
||||||
|
return certChecker.UserKeyFallback(conn, key)
|
||||||
|
}
|
||||||
|
return nil, errors.New("ssh: normal key pairs not accepted")
|
||||||
|
}
|
||||||
|
|
||||||
|
if cert.CertType != ssh.UserCert {
|
||||||
|
return nil, fmt.Errorf("ssh: cert has type %d", cert.CertType)
|
||||||
|
}
|
||||||
|
if !certChecker.IsUserAuthority(cert.SignatureKey) {
|
||||||
|
return nil, fmt.Errorf("ssh: certificate signed by unrecognized authority")
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := certChecker.CheckCert(":gokrazy:", cert); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if cert.Permissions.CriticalOptions == nil {
|
||||||
|
cert.Permissions.CriticalOptions = map[string]string{}
|
||||||
|
}
|
||||||
|
if cert.Permissions.Extensions == nil {
|
||||||
|
cert.Permissions.Extensions = map[string]string{}
|
||||||
|
}
|
||||||
|
|
||||||
|
return &cert.Permissions, nil
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
signer, err := loadHostKey(*hostKeyPath)
|
signer, err := loadHostKey(*hostKeyPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -244,7 +308,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
go func(conn net.Conn) {
|
go func(conn net.Conn) {
|
||||||
_, chans, reqs, err := ssh.NewServerConn(conn, config)
|
c, chans, reqs, err := ssh.NewServerConn(conn, config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("handshake: %v", err)
|
log.Printf("handshake: %v", err)
|
||||||
return
|
return
|
||||||
@@ -254,7 +318,7 @@ func main() {
|
|||||||
go ssh.DiscardRequests(reqs)
|
go ssh.DiscardRequests(reqs)
|
||||||
|
|
||||||
for newChannel := range chans {
|
for newChannel := range chans {
|
||||||
handleChannel(newChannel)
|
handleChannel(newChannel, c)
|
||||||
}
|
}
|
||||||
}(conn)
|
}(conn)
|
||||||
}
|
}
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -10,7 +10,7 @@ require (
|
|||||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
||||||
github.com/kr/pty v1.1.8
|
github.com/kr/pty v1.1.8
|
||||||
github.com/pkg/sftp v1.13.5
|
github.com/pkg/sftp v1.13.5
|
||||||
golang.org/x/crypto v0.33.0
|
golang.org/x/crypto v0.35.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
|||||||
4
go.sum
4
go.sum
@@ -33,8 +33,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
|
|||||||
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
|
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
|
||||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||||
golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
|
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
|
||||||
golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
|
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
|
||||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
|
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
|
||||||
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
|
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
|
||||||
|
|||||||
59
ssh.go
59
ssh.go
@@ -2,16 +2,19 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
|
"path"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
"time"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
"github.com/gokrazy/gokrazy"
|
"github.com/gokrazy/gokrazy"
|
||||||
@@ -21,11 +24,15 @@ import (
|
|||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleChannel(newChan ssh.NewChannel) {
|
func handleChannel(newChan ssh.NewChannel, conn *ssh.ServerConn) {
|
||||||
switch t := newChan.ChannelType(); t {
|
switch t := newChan.ChannelType(); t {
|
||||||
case "session":
|
case "session":
|
||||||
handleSession(newChan)
|
handleSession(newChan, conn)
|
||||||
case "direct-tcpip":
|
case "direct-tcpip":
|
||||||
|
if _, portForwardDenied := conn.Permissions.Extensions["no-port-forwarding"]; portForwardDenied {
|
||||||
|
newChan.Reject(ssh.Prohibited, "port forwarding is disabled. For you in particular :-P")
|
||||||
|
return
|
||||||
|
}
|
||||||
handleTCPIP(newChan)
|
handleTCPIP(newChan)
|
||||||
default:
|
default:
|
||||||
newChan.Reject(ssh.UnknownChannelType, fmt.Sprintf("unknown channel type: %q", t))
|
newChan.Reject(ssh.UnknownChannelType, fmt.Sprintf("unknown channel type: %q", t))
|
||||||
@@ -112,7 +119,7 @@ func handleTCPIP(newChan ssh.NewChannel) {
|
|||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleSession(newChannel ssh.NewChannel) {
|
func handleSession(newChannel ssh.NewChannel, conn *ssh.ServerConn) {
|
||||||
channel, requests, err := newChannel.Accept()
|
channel, requests, err := newChannel.Accept()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Could not accept channel (%s)", err)
|
log.Printf("Could not accept channel (%s)", err)
|
||||||
@@ -120,12 +127,12 @@ func handleSession(newChannel ssh.NewChannel) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sessions have out-of-band requests such as "shell", "pty-req" and "env"
|
// Sessions have out-of-band requests such as "shell", "pty-req" and "env"
|
||||||
go func(channel ssh.Channel, requests <-chan *ssh.Request) {
|
go func(channel ssh.Channel, requests <-chan *ssh.Request, conn *ssh.ServerConn) {
|
||||||
ctx, canc := context.WithCancel(context.Background())
|
ctx, canc := context.WithCancel(context.Background())
|
||||||
defer canc()
|
defer canc()
|
||||||
s := session{channel: channel}
|
s := session{channel: channel}
|
||||||
for req := range requests {
|
for req := range requests {
|
||||||
if err := s.request(ctx, req); err != nil {
|
if err := s.request(ctx, req, conn); err != nil {
|
||||||
log.Printf("request(%q): %v", req.Type, err)
|
log.Printf("request(%q): %v", req.Type, err)
|
||||||
errmsg := []byte(err.Error())
|
errmsg := []byte(err.Error())
|
||||||
// Append a trailing newline; the error message is
|
// Append a trailing newline; the error message is
|
||||||
@@ -139,7 +146,7 @@ func handleSession(newChannel ssh.NewChannel) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Printf("requests exhausted")
|
log.Printf("requests exhausted")
|
||||||
}(channel, requests)
|
}(channel, requests, conn)
|
||||||
}
|
}
|
||||||
|
|
||||||
func expandPath(env []string) []string {
|
func expandPath(env []string) []string {
|
||||||
@@ -214,34 +221,52 @@ type exitStatus struct {
|
|||||||
Status uint32
|
Status uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func shellWorks(shell string) bool {
|
||||||
|
ctx, cancel := context.WithTimeout(context.Background(), 200*time.Millisecond)
|
||||||
|
defer cancel()
|
||||||
|
cmd := exec.CommandContext(ctx, shell, "-c", "exit 58")
|
||||||
|
cmd.Run()
|
||||||
|
return cmd.ProcessState != nil && cmd.ProcessState.ExitCode() == 58
|
||||||
|
}
|
||||||
|
|
||||||
func findShell() string {
|
func findShell() string {
|
||||||
if _, err := os.Stat(wellKnownBusybox); err == nil {
|
if _, err := os.Stat(wellKnownBusybox); err == nil {
|
||||||
// Install busybox to /bin to provide the typical userspace utilities
|
// Install busybox to /bin to provide the typical userspace utilities
|
||||||
// in standard locations (makes Emacs TRAMP work, for example).
|
// in standard locations (makes Emacs TRAMP work, for example).
|
||||||
if err := installBusybox(); err != nil {
|
if err := installBusybox(); err != nil {
|
||||||
log.Printf("installing busybox failed: %v", err)
|
log.Printf("installing busybox failed: %v", err)
|
||||||
// fallthrough
|
// fallthrough, we don't return /bin/sh as we read /etc/passwd
|
||||||
} else {
|
|
||||||
return "/bin/sh" // available after installation
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if path, err := exec.LookPath("sh"); err == nil {
|
if _, err := exec.LookPath(shell); path.IsAbs(shell) && shellWorks(shell) && err == nil {
|
||||||
|
return shell
|
||||||
|
}
|
||||||
|
if path, err := exec.LookPath("bash"); shellWorks(path) && err == nil {
|
||||||
|
return path
|
||||||
|
}
|
||||||
|
if path, err := exec.LookPath("sh"); shellWorks(path) && err == nil {
|
||||||
return path
|
return path
|
||||||
}
|
}
|
||||||
const wellKnownSerialShell = "/tmp/serial-busybox/ash"
|
const wellKnownSerialShell = "/tmp/serial-busybox/ash"
|
||||||
if _, err := os.Stat(wellKnownSerialShell); err == nil {
|
if _, err := exec.LookPath(wellKnownSerialShell); err == nil {
|
||||||
return wellKnownSerialShell
|
return wellKnownSerialShell
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *session) request(ctx context.Context, req *ssh.Request) error {
|
func (s *session) request(ctx context.Context, req *ssh.Request, conn *ssh.ServerConn) error {
|
||||||
switch req.Type {
|
switch req.Type {
|
||||||
case "pty-req":
|
case "pty-req":
|
||||||
|
if _, portForwardDenied := conn.Permissions.Extensions["no-pty"]; portForwardDenied {
|
||||||
|
return errors.New("Pseudo-Terminal is disabled. For you in particular :-P")
|
||||||
|
}
|
||||||
var r ptyreq
|
var r ptyreq
|
||||||
if err := ssh.Unmarshal(req.Payload, &r); err != nil {
|
if err := ssh.Unmarshal(req.Payload, &r); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if r.TERM != "" {
|
||||||
|
s.env = append(s.env, fmt.Sprintf("TERM=%s", r.TERM))
|
||||||
|
}
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
s.ptyf, s.ttyf, err = pty.Open()
|
s.ptyf, s.ttyf, err = pty.Open()
|
||||||
@@ -355,21 +380,25 @@ func (s *session) request(ctx context.Context, req *ssh.Request) error {
|
|||||||
|
|
||||||
// Ensure the $HOME directory exists so that shell history works without
|
// Ensure the $HOME directory exists so that shell history works without
|
||||||
// any extra steps.
|
// any extra steps.
|
||||||
if err := os.MkdirAll("/perm/home", 0755); err != nil {
|
if err := os.MkdirAll(home, 0755); err != nil {
|
||||||
// TODO: Suppress -EROFS
|
// TODO: Suppress -EROFS
|
||||||
log.Print(err)
|
log.Print(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var cmd *exec.Cmd
|
var cmd *exec.Cmd
|
||||||
if shell := findShell(); shell != "" {
|
if shell := findShell(); shell != "" {
|
||||||
cmd = exec.CommandContext(ctx, shell, "-c", r.Command)
|
if len(cmdline) == 0 || (len(cmdline) == 1 && cmdline[0] == "sh") {
|
||||||
|
cmd = exec.CommandContext(ctx, shell, "-l")
|
||||||
|
} else {
|
||||||
|
cmd = exec.CommandContext(ctx, shell, "-c", r.Command)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
cmd = exec.CommandContext(ctx, cmdline[0], cmdline[1:]...)
|
cmd = exec.CommandContext(ctx, cmdline[0], cmdline[1:]...)
|
||||||
}
|
}
|
||||||
log.Printf("Starting cmd %q", cmd.Args)
|
log.Printf("Starting cmd %q", cmd.Args)
|
||||||
env := expandPath(s.env)
|
env := expandPath(s.env)
|
||||||
env = append(env,
|
env = append(env,
|
||||||
"HOME=/perm/home",
|
"HOME="+home,
|
||||||
"TMPDIR=/tmp")
|
"TMPDIR=/tmp")
|
||||||
cmd.Env = env
|
cmd.Env = env
|
||||||
cmd.SysProcAttr = &syscall.SysProcAttr{}
|
cmd.SysProcAttr = &syscall.SysProcAttr{}
|
||||||
|
|||||||
Reference in New Issue
Block a user