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 /
testsanitizers /
[ HOME SHELL ]
Name
Size
Permission
Action
testdata
[ DIR ]
drwxr-xr-x
cc_test.go
10.64
KB
-rw-r--r--
cshared_test.go
1.49
KB
-rw-r--r--
msan_test.go
1.16
KB
-rw-r--r--
tsan_test.go
1.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cshared_test.go
// Copyright 2017 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 sanitizers_test import ( "fmt" "io/ioutil" "strings" "testing" ) func TestShared(t *testing.T) { t.Parallel() requireOvercommit(t) GOOS, err := goEnv("GOOS") if err != nil { t.Fatal(err) } libExt := "so" if GOOS == "darwin" { libExt = "dylib" } cases := []struct { src string sanitizer string }{ { src: "msan_shared.go", sanitizer: "memory", }, { src: "tsan_shared.go", sanitizer: "thread", }, } for _, tc := range cases { tc := tc name := strings.TrimSuffix(tc.src, ".go") t.Run(name, func(t *testing.T) { t.Parallel() config := configure(tc.sanitizer) config.skipIfCSanitizerBroken(t) dir := newTempDir(t) defer dir.RemoveAll(t) lib := dir.Join(fmt.Sprintf("lib%s.%s", name, libExt)) mustRun(t, config.goCmd("build", "-buildmode=c-shared", "-o", lib, srcPath(tc.src))) cSrc := dir.Join("main.c") if err := ioutil.WriteFile(cSrc, cMain, 0600); err != nil { t.Fatalf("failed to write C source file: %v", err) } dstBin := dir.Join(name) cmd, err := cc(config.cFlags...) if err != nil { t.Fatal(err) } cmd.Args = append(cmd.Args, config.ldFlags...) cmd.Args = append(cmd.Args, "-o", dstBin, cSrc, lib) mustRun(t, cmd) cmd = hangProneCmd(dstBin) replaceEnv(cmd, "LD_LIBRARY_PATH", ".") mustRun(t, cmd) }) } }
Close