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 /
reboot /
[ HOME SHELL ]
Name
Size
Permission
Action
experiment_toolid_test.go
2.98
KB
-rw-r--r--
overlaydir_test.go
1.85
KB
-rw-r--r--
reboot_test.go
1.21
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : reboot_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 reboot_test verifies that the current GOROOT can be used to bootstrap // itself. package reboot_test import ( "io/ioutil" "os" "os/exec" "path/filepath" "runtime" "testing" ) func TestRepeatBootstrap(t *testing.T) { goroot, err := ioutil.TempDir("", "reboot-goroot") if err != nil { t.Fatal(err) } defer os.RemoveAll(goroot) gorootSrc := filepath.Join(goroot, "src") if err := overlayDir(gorootSrc, filepath.Join(runtime.GOROOT(), "src")); err != nil { t.Fatal(err) } if err := ioutil.WriteFile(filepath.Join(goroot, "VERSION"), []byte(runtime.Version()), 0666); err != nil { t.Fatal(err) } var makeScript string switch runtime.GOOS { case "windows": makeScript = "make.bat" case "plan9": makeScript = "make.rc" default: makeScript = "make.bash" } cmd := exec.Command(filepath.Join(runtime.GOROOT(), "src", makeScript)) cmd.Dir = gorootSrc cmd.Env = append(os.Environ(), "GOROOT=", "GOROOT_BOOTSTRAP="+runtime.GOROOT()) cmd.Stderr = os.Stderr cmd.Stdout = os.Stdout if err := cmd.Run(); err != nil { t.Fatal(err) } }
Close