Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
misc /
cgo /
life /
[ HOME SHELL ]
Name
Size
Permission
Action
testdata
[ DIR ]
drwxr-xr-x
life_test.go
1.48
KB
-rw-r--r--
overlaydir_test.go
1.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : life_test.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package life_test import ( "bytes" "io/ioutil" "log" "os" "os/exec" "path/filepath" "strings" "testing" ) func TestMain(m *testing.M) { log.SetFlags(log.Lshortfile) os.Exit(testMain(m)) } func testMain(m *testing.M) int { GOPATH, err := ioutil.TempDir("", "cgolife") if err != nil { log.Panic(err) } defer os.RemoveAll(GOPATH) os.Setenv("GOPATH", GOPATH) // Copy testdata into GOPATH/src/cgolife, along with a go.mod file // declaring the same path. modRoot := filepath.Join(GOPATH, "src", "cgolife") if err := overlayDir(modRoot, "testdata"); err != nil { log.Panic(err) } if err := os.Chdir(modRoot); err != nil { log.Panic(err) } os.Setenv("PWD", modRoot) if err := ioutil.WriteFile("go.mod", []byte("module cgolife\n"), 0666); err != nil { log.Panic(err) } return m.Run() } func TestTestRun(t *testing.T) { if os.Getenv("GOOS") == "android" { t.Skip("the go tool runs with CGO_ENABLED=0 on the android device") } out, err := exec.Command("go", "env", "GOROOT").Output() if err != nil { t.Fatal(err) } GOROOT := string(bytes.TrimSpace(out)) cmd := exec.Command("go", "run", filepath.Join(GOROOT, "test", "run.go"), "-", ".") out, err = cmd.CombinedOutput() if err != nil { t.Fatalf("%s: %s\n%s", strings.Join(cmd.Args, " "), err, out) } t.Logf("%s:\n%s", strings.Join(cmd.Args, " "), out) }
Close