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 /
misc /
cgo /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
testdata
[ DIR ]
drwxr-xr-x
backdoor.go
307
B
-rw-r--r--
buildid_linux.go
1.67
KB
-rw-r--r--
callback.go
111.49
KB
-rw-r--r--
callback_c.c
1.31
KB
-rw-r--r--
callback_c_gc.c
591
B
-rw-r--r--
callback_c_gccgo.c
451
B
-rw-r--r--
cgo_linux_test.go
427
B
-rw-r--r--
cgo_stubs_android_test.go
359
B
-rw-r--r--
cgo_test.go
5.56
KB
-rw-r--r--
cgo_thread_lock.go
925
B
-rw-r--r--
cgo_unix_test.go
383
B
-rw-r--r--
cthread_unix.c
682
B
-rw-r--r--
cthread_windows.c
750
B
-rw-r--r--
issue18146.go
2.79
KB
-rw-r--r--
issue20910.c
459
B
-rw-r--r--
issue21897.go
1.4
KB
-rw-r--r--
issue21897b.go
301
B
-rw-r--r--
issue31891.c
299
B
-rw-r--r--
issue4029.c
752
B
-rw-r--r--
issue4029.go
1.37
KB
-rw-r--r--
issue4029w.go
253
B
-rw-r--r--
issue4273.c
320
B
-rw-r--r--
issue4273b.c
374
B
-rw-r--r--
issue4339.c
222
B
-rw-r--r--
issue4339.h
153
B
-rw-r--r--
issue5548_c.c
454
B
-rw-r--r--
issue5740a.c
223
B
-rw-r--r--
issue5740b.c
223
B
-rw-r--r--
issue6833_c.c
303
B
-rw-r--r--
issue6907export_c.c
274
B
-rw-r--r--
issue6997_linux.c
535
B
-rw-r--r--
issue6997_linux.go
878
B
-rw-r--r--
issue7234_test.go
634
B
-rw-r--r--
issue8148.go
601
B
-rw-r--r--
issue8331.h
198
B
-rw-r--r--
issue8517.go
285
B
-rw-r--r--
issue8517_windows.c
517
B
-rw-r--r--
issue8517_windows.go
990
B
-rw-r--r--
issue8694.go
946
B
-rw-r--r--
issue8811.c
216
B
-rw-r--r--
overlaydir_test.go
1.84
KB
-rw-r--r--
pkg_test.go
1.95
KB
-rw-r--r--
setgid_linux.go
847
B
-rw-r--r--
sigaltstack.go
1.73
KB
-rw-r--r--
sigprocmask.c
1.01
KB
-rw-r--r--
sigprocmask.go
807
B
-rw-r--r--
test.go
45.38
KB
-rw-r--r--
test_unix.go
257
B
-rw-r--r--
test_windows.go
234
B
-rw-r--r--
testx.go
10.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sigaltstack.go
// Copyright 2015 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,!android // Test that the Go runtime still works if C code changes the signal stack. package cgotest /* #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> static stack_t oss; static char signalStack[SIGSTKSZ]; static void changeSignalStack(void) { stack_t ss; memset(&ss, 0, sizeof ss); ss.ss_sp = signalStack; ss.ss_flags = 0; ss.ss_size = SIGSTKSZ; if (sigaltstack(&ss, &oss) < 0) { perror("sigaltstack"); abort(); } } static void restoreSignalStack(void) { #if (defined(__x86_64__) || defined(__i386__)) && defined(__APPLE__) // The Darwin C library enforces a minimum that the kernel does not. // This is OK since we allocated this much space in mpreinit, // it was just removed from the buffer by stackalloc. oss.ss_size = MINSIGSTKSZ; #endif if (sigaltstack(&oss, NULL) < 0) { perror("sigaltstack restore"); abort(); } } static int zero(void) { return 0; } */ import "C" import ( "runtime" "testing" ) func testSigaltstack(t *testing.T) { switch { case runtime.GOOS == "solaris", runtime.GOOS == "illumos", runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64"): t.Skipf("switching signal stack not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) case runtime.GOOS == "darwin" && runtime.GOARCH == "386": t.Skipf("sigaltstack fails on darwin/386") } C.changeSignalStack() defer C.restoreSignalStack() defer func() { if recover() == nil { t.Error("did not see expected panic") } }() v := 1 / int(C.zero()) t.Errorf("unexpected success of division by zero == %d", v) }
Close