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.216.67
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 /
time /
[ HOME SHELL ]
Name
Size
Permission
Action
example_test.go
19.38
KB
-rw-r--r--
export_android_test.go
318
B
-rw-r--r--
export_test.go
3.07
KB
-rw-r--r--
export_windows_test.go
514
B
-rw-r--r--
format.go
41.67
KB
-rw-r--r--
format_test.go
25.38
KB
-rw-r--r--
genzabbrs.go
2.96
KB
-rw-r--r--
internal_test.go
2.45
KB
-rw-r--r--
mono_test.go
7.51
KB
-rw-r--r--
sleep.go
5.08
KB
-rw-r--r--
sleep_test.go
10.73
KB
-rw-r--r--
sys_plan9.go
1015
B
-rw-r--r--
sys_unix.go
1.05
KB
-rw-r--r--
sys_windows.go
996
B
-rw-r--r--
tick.go
1.8
KB
-rw-r--r--
tick_test.go
2.59
KB
-rw-r--r--
time.go
45.56
KB
-rw-r--r--
time_test.go
41.05
KB
-rw-r--r--
zoneinfo.go
8.79
KB
-rw-r--r--
zoneinfo_abbrs_windows.go
10.34
KB
-rw-r--r--
zoneinfo_android.go
2.05
KB
-rw-r--r--
zoneinfo_android_test.go
408
B
-rw-r--r--
zoneinfo_ios.go
1.02
KB
-rw-r--r--
zoneinfo_js.go
1.56
KB
-rw-r--r--
zoneinfo_plan9.go
2.71
KB
-rw-r--r--
zoneinfo_read.go
12.2
KB
-rw-r--r--
zoneinfo_test.go
4.59
KB
-rw-r--r--
zoneinfo_unix.go
1.31
KB
-rw-r--r--
zoneinfo_windows.go
6.68
KB
-rw-r--r--
zoneinfo_windows_test.go
1.9
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : zoneinfo_plan9.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. // Parse Plan 9 timezone(2) files. package time import ( "runtime" "syscall" ) var zoneSources = []string{ runtime.GOROOT() + "/lib/time/zoneinfo.zip", } func isSpace(r rune) bool { return r == ' ' || r == '\t' || r == '\n' } // Copied from strings to avoid a dependency. func fields(s string) []string { // First count the fields. n := 0 inField := false for _, rune := range s { wasInField := inField inField = !isSpace(rune) if inField && !wasInField { n++ } } // Now create them. a := make([]string, n) na := 0 fieldStart := -1 // Set to -1 when looking for start of field. for i, rune := range s { if isSpace(rune) { if fieldStart >= 0 { a[na] = s[fieldStart:i] na++ fieldStart = -1 } } else if fieldStart == -1 { fieldStart = i } } if fieldStart >= 0 { // Last field might end at EOF. a[na] = s[fieldStart:] } return a } func loadZoneDataPlan9(s string) (l *Location, err error) { f := fields(s) if len(f) < 4 { if len(f) == 2 && f[0] == "GMT" { return UTC, nil } return nil, badData } var zones [2]zone // standard timezone offset o, err := atoi(f[1]) if err != nil { return nil, badData } zones[0] = zone{name: f[0], offset: o, isDST: false} // alternate timezone offset o, err = atoi(f[3]) if err != nil { return nil, badData } zones[1] = zone{name: f[2], offset: o, isDST: true} // transition time pairs var tx []zoneTrans f = f[4:] for i := 0; i < len(f); i++ { zi := 0 if i%2 == 0 { zi = 1 } t, err := atoi(f[i]) if err != nil { return nil, badData } t -= zones[0].offset tx = append(tx, zoneTrans{when: int64(t), index: uint8(zi)}) } // Committed to succeed. l = &Location{zone: zones[:], tx: tx} // Fill in the cache with information about right now, // since that will be the most common lookup. sec, _, _ := now() for i := range tx { if tx[i].when <= sec && (i+1 == len(tx) || sec < tx[i+1].when) { l.cacheStart = tx[i].when l.cacheEnd = omega if i+1 < len(tx) { l.cacheEnd = tx[i+1].when } l.cacheZone = &l.zone[tx[i].index] } } return l, nil } func loadZoneFilePlan9(name string) (*Location, error) { b, err := readFile(name) if err != nil { return nil, err } return loadZoneDataPlan9(string(b)) } func initLocal() { t, ok := syscall.Getenv("timezone") if ok { if z, err := loadZoneDataPlan9(t); err == nil { localLoc = *z return } } else { if z, err := loadZoneFilePlan9("/adm/timezone/local"); err == nil { localLoc = *z localLoc.name = "Local" return } } // Fall back to UTC. localLoc.name = "UTC" }
Close