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 /
poll /
[ HOME SHELL ]
Name
Size
Permission
Action
errno_unix.go
738
B
-rw-r--r--
errno_windows.go
724
B
-rw-r--r--
error_linux_test.go
748
B
-rw-r--r--
error_stub_test.go
412
B
-rw-r--r--
error_test.go
1.04
KB
-rw-r--r--
export_posix_test.go
481
B
-rw-r--r--
export_test.go
708
B
-rw-r--r--
export_windows_test.go
431
B
-rw-r--r--
fcntl_js.go
325
B
-rw-r--r--
fcntl_libc.go
365
B
-rw-r--r--
fcntl_syscall.go
484
B
-rw-r--r--
fd.go
2.1
KB
-rw-r--r--
fd_fsync_darwin.go
535
B
-rw-r--r--
fd_fsync_posix.go
428
B
-rw-r--r--
fd_fsync_windows.go
358
B
-rw-r--r--
fd_io_plan9.go
2.1
KB
-rw-r--r--
fd_mutex.go
6.42
KB
-rw-r--r--
fd_mutex_test.go
3.88
KB
-rw-r--r--
fd_opendir_darwin.go
847
B
-rw-r--r--
fd_plan9.go
4.97
KB
-rw-r--r--
fd_poll_js.go
2.27
KB
-rw-r--r--
fd_poll_runtime.go
3.74
KB
-rw-r--r--
fd_posix.go
1.05
KB
-rw-r--r--
fd_posix_test.go
1.27
KB
-rw-r--r--
fd_unix.go
13.51
KB
-rw-r--r--
fd_windows.go
28.75
KB
-rw-r--r--
fd_windows_test.go
2.25
KB
-rw-r--r--
fd_writev_darwin.go
388
B
-rw-r--r--
fd_writev_unix.go
502
B
-rw-r--r--
hook_cloexec.go
371
B
-rw-r--r--
hook_unix.go
481
B
-rw-r--r--
hook_windows.go
668
B
-rw-r--r--
read_test.go
1.07
KB
-rw-r--r--
sendfile_bsd.go
1.17
KB
-rw-r--r--
sendfile_linux.go
1.1
KB
-rw-r--r--
sendfile_solaris.go
1.46
KB
-rw-r--r--
sendfile_windows.go
2.01
KB
-rw-r--r--
sock_cloexec.go
1.76
KB
-rw-r--r--
sockopt.go
1.08
KB
-rw-r--r--
sockopt_linux.go
490
B
-rw-r--r--
sockopt_unix.go
532
B
-rw-r--r--
sockopt_windows.go
862
B
-rw-r--r--
sockoptip.go
866
B
-rw-r--r--
splice_linux.go
5.66
KB
-rw-r--r--
strconv.go
946
B
-rw-r--r--
sys_cloexec.go
1.1
KB
-rw-r--r--
writev.go
1.76
KB
-rw-r--r--
writev_test.go
1.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fd_io_plan9.go
// Copyright 2016 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 poll import ( "runtime" "sync" "syscall" ) // asyncIO implements asynchronous cancelable I/O. // An asyncIO represents a single asynchronous Read or Write // operation. The result is returned on the result channel. // The undergoing I/O system call can either complete or be // interrupted by a note. type asyncIO struct { res chan result // mu guards the pid field. mu sync.Mutex // pid holds the process id of // the process running the IO operation. pid int } // result is the return value of a Read or Write operation. type result struct { n int err error } // newAsyncIO returns a new asyncIO that performs an I/O // operation by calling fn, which must do one and only one // interruptible system call. func newAsyncIO(fn func([]byte) (int, error), b []byte) *asyncIO { aio := &asyncIO{ res: make(chan result, 0), } aio.mu.Lock() go func() { // Lock the current goroutine to its process // and store the pid in io so that Cancel can // interrupt it. We ignore the "hangup" signal, // so the signal does not take down the entire // Go runtime. runtime.LockOSThread() runtime_ignoreHangup() aio.pid = syscall.Getpid() aio.mu.Unlock() n, err := fn(b) aio.mu.Lock() aio.pid = -1 runtime_unignoreHangup() aio.mu.Unlock() aio.res <- result{n, err} }() return aio } // Cancel interrupts the I/O operation, causing // the Wait function to return. func (aio *asyncIO) Cancel() { aio.mu.Lock() defer aio.mu.Unlock() if aio.pid == -1 { return } f, e := syscall.Open("/proc/"+itoa(aio.pid)+"/note", syscall.O_WRONLY) if e != nil { return } syscall.Write(f, []byte("hangup")) syscall.Close(f) } // Wait for the I/O operation to complete. func (aio *asyncIO) Wait() (int, error) { res := <-aio.res return res.n, res.err } // The following functions, provided by the runtime, are used to // ignore and unignore the "hangup" signal received by the process. func runtime_ignoreHangup() func runtime_unignoreHangup()
Close