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 /
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_windows_test.go
// Copyright 2013 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 time_test import ( "internal/syscall/windows/registry" "testing" . "time" ) func testZoneAbbr(t *testing.T) { t1 := Now() // discard nsec t1 = Date(t1.Year(), t1.Month(), t1.Day(), t1.Hour(), t1.Minute(), t1.Second(), 0, t1.Location()) t2, err := Parse(RFC1123, t1.Format(RFC1123)) if err != nil { t.Fatalf("Parse failed: %v", err) } if t1 != t2 { t.Fatalf("t1 (%v) is not equal to t2 (%v)", t1, t2) } } func TestUSPacificZoneAbbr(t *testing.T) { ForceUSPacificFromTZIForTesting() // reset the Once to trigger the race defer ForceUSPacificForTesting() testZoneAbbr(t) } func TestAusZoneAbbr(t *testing.T) { ForceAusFromTZIForTesting() defer ForceUSPacificForTesting() testZoneAbbr(t) } func TestToEnglishName(t *testing.T) { const want = "Central Europe Standard Time" k, err := registry.OpenKey(registry.LOCAL_MACHINE, `SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\`+want, registry.READ) if err != nil { t.Fatalf("cannot open CEST time zone information from registry: %s", err) } defer k.Close() var std, dlt string if err = registry.LoadRegLoadMUIString(); err == nil { // Try MUI_Std and MUI_Dlt first, fallback to Std and Dlt if *any* error occurs std, err = k.GetMUIStringValue("MUI_Std") if err == nil { dlt, err = k.GetMUIStringValue("MUI_Dlt") } } if err != nil { // Fallback to Std and Dlt if std, _, err = k.GetStringValue("Std"); err != nil { t.Fatalf("cannot read CEST Std registry key: %s", err) } if dlt, _, err = k.GetStringValue("Dlt"); err != nil { t.Fatalf("cannot read CEST Dlt registry key: %s", err) } } name, err := ToEnglishName(std, dlt) if err != nil { t.Fatalf("toEnglishName failed: %s", err) } if name != want { t.Fatalf("english name: %q, want: %q", name, want) } }
Close