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 /
src /
cmd /
vendor /
golang.org /
x /
xerrors /
[ HOME SHELL ]
Name
Size
Permission
Action
internal
[ DIR ]
drwxr-xr-x
LICENSE
1.44
KB
-rw-r--r--
PATENTS
1.27
KB
-rw-r--r--
README
122
B
-rw-r--r--
adaptor.go
4.03
KB
-rw-r--r--
codereview.cfg
21
B
-rw-r--r--
doc.go
784
B
-rw-r--r--
errors.go
815
B
-rw-r--r--
fmt.go
2.6
KB
-rw-r--r--
format.go
1.12
KB
-rw-r--r--
frame.go
1.49
KB
-rw-r--r--
go.mod
37
B
-rw-r--r--
wrap.go
2.98
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : frame.go
// Copyright 2018 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 xerrors import ( "runtime" ) // A Frame contains part of a call stack. type Frame struct { // Make room for three PCs: the one we were asked for, what it called, // and possibly a PC for skipPleaseUseCallersFrames. See: // https://go.googlesource.com/go/+/032678e0fb/src/runtime/extern.go#169 frames [3]uintptr } // Caller returns a Frame that describes a frame on the caller's stack. // The argument skip is the number of frames to skip over. // Caller(0) returns the frame for the caller of Caller. func Caller(skip int) Frame { var s Frame runtime.Callers(skip+1, s.frames[:]) return s } // location reports the file, line, and function of a frame. // // The returned function may be "" even if file and line are not. func (f Frame) location() (function, file string, line int) { frames := runtime.CallersFrames(f.frames[:]) if _, ok := frames.Next(); !ok { return "", "", 0 } fr, ok := frames.Next() if !ok { return "", "", 0 } return fr.Function, fr.File, fr.Line } // Format prints the stack as error detail. // It should be called from an error's Format implementation // after printing any other error detail. func (f Frame) Format(p Printer) { if p.Detail() { function, file, line := f.location() if function != "" { p.Printf("%s\n ", function) } if file != "" { p.Printf("%s:%d\n", file, line) } } }
Close