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 /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
testdata
[ DIR ]
drwxr-xr-x
backdoor.go
307
B
-rw-r--r--
buildid_linux.go
1.67
KB
-rw-r--r--
callback.go
111.49
KB
-rw-r--r--
callback_c.c
1.31
KB
-rw-r--r--
callback_c_gc.c
591
B
-rw-r--r--
callback_c_gccgo.c
451
B
-rw-r--r--
cgo_linux_test.go
427
B
-rw-r--r--
cgo_stubs_android_test.go
359
B
-rw-r--r--
cgo_test.go
5.56
KB
-rw-r--r--
cgo_thread_lock.go
925
B
-rw-r--r--
cgo_unix_test.go
383
B
-rw-r--r--
cthread_unix.c
682
B
-rw-r--r--
cthread_windows.c
750
B
-rw-r--r--
issue18146.go
2.79
KB
-rw-r--r--
issue20910.c
459
B
-rw-r--r--
issue21897.go
1.4
KB
-rw-r--r--
issue21897b.go
301
B
-rw-r--r--
issue31891.c
299
B
-rw-r--r--
issue4029.c
752
B
-rw-r--r--
issue4029.go
1.37
KB
-rw-r--r--
issue4029w.go
253
B
-rw-r--r--
issue4273.c
320
B
-rw-r--r--
issue4273b.c
374
B
-rw-r--r--
issue4339.c
222
B
-rw-r--r--
issue4339.h
153
B
-rw-r--r--
issue5548_c.c
454
B
-rw-r--r--
issue5740a.c
223
B
-rw-r--r--
issue5740b.c
223
B
-rw-r--r--
issue6833_c.c
303
B
-rw-r--r--
issue6907export_c.c
274
B
-rw-r--r--
issue6997_linux.c
535
B
-rw-r--r--
issue6997_linux.go
878
B
-rw-r--r--
issue7234_test.go
634
B
-rw-r--r--
issue8148.go
601
B
-rw-r--r--
issue8331.h
198
B
-rw-r--r--
issue8517.go
285
B
-rw-r--r--
issue8517_windows.c
517
B
-rw-r--r--
issue8517_windows.go
990
B
-rw-r--r--
issue8694.go
946
B
-rw-r--r--
issue8811.c
216
B
-rw-r--r--
overlaydir_test.go
1.84
KB
-rw-r--r--
pkg_test.go
1.95
KB
-rw-r--r--
setgid_linux.go
847
B
-rw-r--r--
sigaltstack.go
1.73
KB
-rw-r--r--
sigprocmask.c
1.01
KB
-rw-r--r--
sigprocmask.go
807
B
-rw-r--r--
test.go
45.38
KB
-rw-r--r--
test_unix.go
257
B
-rw-r--r--
test_windows.go
234
B
-rw-r--r--
testx.go
10.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : overlaydir_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 cgotest import ( "io" "os" "path/filepath" "strings" ) // overlayDir makes a minimal-overhead copy of srcRoot in which new files may be added. // // TODO: Once we no longer need to support the misc module in GOPATH mode, // factor this function out into a package to reduce duplication. func overlayDir(dstRoot, srcRoot string) error { dstRoot = filepath.Clean(dstRoot) if err := os.MkdirAll(dstRoot, 0777); err != nil { return err } srcRoot, err := filepath.Abs(srcRoot) if err != nil { return err } return filepath.Walk(srcRoot, func(srcPath string, info os.FileInfo, err error) error { if err != nil || srcPath == srcRoot { return err } suffix := strings.TrimPrefix(srcPath, srcRoot) for len(suffix) > 0 && suffix[0] == filepath.Separator { suffix = suffix[1:] } dstPath := filepath.Join(dstRoot, suffix) perm := info.Mode() & os.ModePerm if info.Mode()&os.ModeSymlink != 0 { info, err = os.Stat(srcPath) if err != nil { return err } perm = info.Mode() & os.ModePerm } // Always copy directories (don't symlink them). // If we add a file in the overlay, we don't want to add it in the original. if info.IsDir() { return os.MkdirAll(dstPath, perm|0200) } // If the OS supports symlinks, use them instead of copying bytes. if err := os.Symlink(srcPath, dstPath); err == nil { return nil } // Otherwise, copy the bytes. src, err := os.Open(srcPath) if err != nil { return err } defer src.Close() dst, err := os.OpenFile(dstPath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, perm) if err != nil { return err } _, err = io.Copy(dst, src) if closeErr := dst.Close(); err == nil { err = closeErr } return err }) }
Close