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 /
syscall /
execenv /
[ HOME SHELL ]
Name
Size
Permission
Action
execenv_default.go
488
B
-rw-r--r--
execenv_windows.go
1.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : execenv_windows.go
// Copyright 2020 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. // +build windows package execenv import ( "internal/syscall/windows" "syscall" "unicode/utf16" "unsafe" ) // Default will return the default environment // variables based on the process attributes // provided. // // If the process attributes contain a token, then // the environment variables will be sourced from // the defaults for that user token, otherwise they // will be sourced from syscall.Environ(). func Default(sys *syscall.SysProcAttr) (env []string, err error) { if sys == nil || sys.Token == 0 { return syscall.Environ(), nil } var block *uint16 err = windows.CreateEnvironmentBlock(&block, sys.Token, false) if err != nil { return nil, err } defer windows.DestroyEnvironmentBlock(block) blockp := uintptr(unsafe.Pointer(block)) for { // find NUL terminator end := unsafe.Pointer(blockp) for *(*uint16)(end) != 0 { end = unsafe.Pointer(uintptr(end) + 2) } n := (uintptr(end) - uintptr(unsafe.Pointer(blockp))) / 2 if n == 0 { // environment block ends with empty string break } entry := (*[(1 << 30) - 1]uint16)(unsafe.Pointer(blockp))[:n:n] env = append(env, string(utf16.Decode(entry))) blockp += 2 * (uintptr(len(entry)) + 1) } return }
Close