Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
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 /
share /
systemtap /
tapset /
dyninst /
[ HOME SHELL ]
Name
Size
Permission
Action
context-envvar.stp
645
B
-rw-r--r--
context.stp
3.1
KB
-rw-r--r--
ctime.stp
909
B
-rw-r--r--
endian.stp
717
B
-rw-r--r--
guru-delay.stp
561
B
-rw-r--r--
inet.stp
796
B
-rw-r--r--
syscalls.stpm
213
B
-rw-r--r--
target_set.stp
643
B
-rw-r--r--
timestamp_gtod.stp
852
B
-rw-r--r--
tzinfo.stp
573
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ctime.stp
/* ctime.stp - Convert seconds to human readable date string. * * Copyright (C) 2012-2016 Red Hat, Inc. */ /* NB: functionally equivalent to linux/ctime.stp * This means unlike normal userspace ctime(), this version * returns time in UTC, without a final newline. */ %{ #include <string.h> #include <time.h> %} function ctime:string(epochsecs:long) %{ /* pure */ struct tm gmt; char buf[26]; const time_t t = STAP_ARG_epochsecs; if (gmtime_r(&t, &gmt) && asctime_r(&gmt, buf)) { char* newline = strchr(buf, '\n'); if (newline) *newline = '\0'; strlcpy (STAP_RETVALUE, buf, MAXSTRINGLEN); } else { #if STAP_COMPAT_VERSION <= STAP_VERSION(2,2) strlcpy(STAP_RETVALUE, "<invalid time>", MAXSTRINGLEN); #else CONTEXT->last_error = "Time cannot be converted"; #endif } %} function ctime:string() { return ctime(gettimeofday_s()) }
Close