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 /
internal /
cpu /
[ HOME SHELL ]
Name
Size
Permission
Action
cpu.go
7.02
KB
-rw-r--r--
cpu_386.go
194
B
-rw-r--r--
cpu_amd64.go
196
B
-rw-r--r--
cpu_arm.go
882
B
-rw-r--r--
cpu_arm64.go
3.38
KB
-rw-r--r--
cpu_mips.go
201
B
-rw-r--r--
cpu_mips64.go
201
B
-rw-r--r--
cpu_mips64le.go
201
B
-rw-r--r--
cpu_mipsle.go
201
B
-rw-r--r--
cpu_no_init.go
309
B
-rw-r--r--
cpu_ppc64x.go
1.36
KB
-rw-r--r--
cpu_riscv64.go
201
B
-rw-r--r--
cpu_s390x.go
5.75
KB
-rw-r--r--
cpu_s390x.s
2.2
KB
-rw-r--r--
cpu_s390x_test.go
1.44
KB
-rw-r--r--
cpu_test.go
1.69
KB
-rw-r--r--
cpu_wasm.go
201
B
-rw-r--r--
cpu_x86.go
2.69
KB
-rw-r--r--
cpu_x86.s
576
B
-rw-r--r--
cpu_x86_test.go
1.25
KB
-rw-r--r--
export_test.go
200
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cpu_s390x_test.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 cpu_test import ( "errors" . "internal/cpu" "io/ioutil" "regexp" "testing" ) func getFeatureList() ([]string, error) { cpuinfo, err := ioutil.ReadFile("/proc/cpuinfo") if err != nil { return nil, err } r := regexp.MustCompile("features\\s*:\\s*(.*)") b := r.FindSubmatch(cpuinfo) if len(b) < 2 { return nil, errors.New("no feature list in /proc/cpuinfo") } return regexp.MustCompile("\\s+").Split(string(b[1]), -1), nil } func TestS390XAgainstCPUInfo(t *testing.T) { // mapping of linux feature strings to S390X fields mapping := make(map[string]*bool) for _, option := range Options { mapping[option.Name] = option.Feature } // these must be true on the machines Go supports mandatory := make(map[string]bool) mandatory["zarch"] = false mandatory["eimm"] = false mandatory["ldisp"] = false mandatory["stfle"] = false features, err := getFeatureList() if err != nil { t.Error(err) } for _, feature := range features { if _, ok := mandatory[feature]; ok { mandatory[feature] = true } if flag, ok := mapping[feature]; ok { if !*flag { t.Errorf("feature '%v' not detected", feature) } } else { t.Logf("no entry for '%v'", feature) } } for k, v := range mandatory { if !v { t.Errorf("mandatory feature '%v' not detected", k) } } }
Close