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 /
obscuretestdata /
[ HOME SHELL ]
Name
Size
Permission
Action
obscuretestdata.go
1.33
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : obscuretestdata.go
// Copyright 2019 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 obscuretestdata contains functionality used by tests to more easily // work with testdata that must be obscured primarily due to // golang.org/issue/34986. package obscuretestdata import ( "encoding/base64" "io" "io/ioutil" "os" ) // DecodeToTempFile decodes the named file to a temporary location. // If successful, it returns the path of the decoded file. // The caller is responsible for ensuring that the temporary file is removed. func DecodeToTempFile(name string) (path string, err error) { f, err := os.Open(name) if err != nil { return "", err } defer f.Close() tmp, err := ioutil.TempFile("", "obscuretestdata-decoded-") if err != nil { return "", err } if _, err := io.Copy(tmp, base64.NewDecoder(base64.StdEncoding, f)); err != nil { tmp.Close() os.Remove(tmp.Name()) return "", err } if err := tmp.Close(); err != nil { os.Remove(tmp.Name()) return "", err } return tmp.Name(), nil } // ReadFile reads the named file and returns its decoded contents. func ReadFile(name string) ([]byte, error) { f, err := os.Open(name) if err != nil { return nil, err } defer f.Close() return ioutil.ReadAll(base64.NewDecoder(base64.StdEncoding, f)) }
Close