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.1
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 /
doc /
progs /
[ HOME SHELL ]
Name
Size
Permission
Action
cgo1.go
337
B
-rw-r--r--
cgo2.go
342
B
-rw-r--r--
cgo3.go
368
B
-rw-r--r--
cgo4.go
374
B
-rw-r--r--
defer.go
860
B
-rw-r--r--
defer2.go
1.01
KB
-rw-r--r--
eff_bytesize.go
906
B
-rw-r--r--
eff_qr.go
1
KB
-rw-r--r--
eff_sequence.go
995
B
-rw-r--r--
eff_unused1.go
154
B
-rw-r--r--
eff_unused2.go
273
B
-rw-r--r--
error.go
2.27
KB
-rw-r--r--
error2.go
1.17
KB
-rw-r--r--
error3.go
1.31
KB
-rw-r--r--
error4.go
1.56
KB
-rw-r--r--
go1.go
4.73
KB
-rw-r--r--
gobs1.go
445
B
-rw-r--r--
gobs2.go
987
B
-rw-r--r--
image_draw.go
3.06
KB
-rw-r--r--
image_package1.go
281
B
-rw-r--r--
image_package2.go
371
B
-rw-r--r--
image_package3.go
339
B
-rw-r--r--
image_package4.go
405
B
-rw-r--r--
image_package5.go
347
B
-rw-r--r--
image_package6.go
448
B
-rw-r--r--
interface.go
1.04
KB
-rw-r--r--
interface2.go
2.61
KB
-rw-r--r--
json1.go
1.45
KB
-rw-r--r--
json2.go
696
B
-rw-r--r--
json3.go
1.21
KB
-rw-r--r--
json4.go
751
B
-rw-r--r--
json5.go
549
B
-rw-r--r--
run.go
4.74
KB
-rw-r--r--
slices.go
1.16
KB
-rw-r--r--
timeout1.go
481
B
-rw-r--r--
timeout2.go
515
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : error4.go
// Copyright 2011 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. // This file contains the code snippets included in "Error Handling and Go." package main import ( "net/http" "text/template" ) type appError struct { Error error Message string Code int } // STOP OMIT type appHandler func(http.ResponseWriter, *http.Request) *appError func (fn appHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { if e := fn(w, r); e != nil { // e is *appError, not error. c := appengine.NewContext(r) c.Errorf("%v", e.Error) http.Error(w, e.Message, e.Code) } } // STOP OMIT func viewRecord(w http.ResponseWriter, r *http.Request) *appError { c := appengine.NewContext(r) key := datastore.NewKey(c, "Record", r.FormValue("id"), 0, nil) record := new(Record) if err := datastore.Get(c, key, record); err != nil { return &appError{err, "Record not found", 404} } if err := viewTemplate.Execute(w, record); err != nil { return &appError{err, "Can't display record", 500} } return nil } // STOP OMIT func init() { http.Handle("/view", appHandler(viewRecord)) } type ap struct{} func (ap) NewContext(*http.Request) *ctx { return nil } type ctx struct{} func (*ctx) Errorf(string, ...interface{}) {} var appengine ap type ds struct{} func (ds) NewKey(*ctx, string, string, int, *int) string { return "" } func (ds) Get(*ctx, string, *Record) error { return nil } var datastore ds type Record struct{} var viewTemplate *template.Template func main() {}
Close