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 /
examples /
stapgames /
tapset /
[ HOME SHELL ]
Name
Size
Permission
Action
audio.stp
1.85
KB
-rw-r--r--
cursor.stp
962
B
-rw-r--r--
game.stp
660
B
-rw-r--r--
gmtty.stp
1.11
KB
-rw-r--r--
input.stp
2.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : gmtty.stp
# TTY related routines for games # Copyright (C) 2011 Masami Hiramatsu <masami.hiramatsu@gmail.com> # # This file is free software and is distributed under the terms of the GNU # General Public License (GPL); either version 2, or (at your option) any # later version. global GM_tty_ws_row, GM_tty_ws_col, GM_tty_name # Initialize current TTY -- must be called from begin function game_tty_init:long () { tty = @cast(task_current(), "task_struct")->signal->tty if (tty) { namep = @cast(tty,"tty_struct")->name GM_tty_name = kernel_string(namep) GM_tty_ws_col = @cast(tty, "tty_struct")->winsize->ws_col GM_tty_ws_row = @cast(tty, "tty_struct")->winsize->ws_row } return tty } probe begin(-100) { if (game_tty_init() == 0) { print("Failed to get current tty\n") exit() } } probe game.tty.resize = kernel.function("tty_do_resize") { if (kernel_string($tty->name) == GM_tty_name) { row = $ws->ws_row col = $ws->ws_col } } probe game.tty.resize { GM_tty_ws_row = row GM_tty_ws_col = col } function game_tty_ws_row:long () { return GM_tty_ws_row } function game_tty_ws_col:long () { return GM_tty_ws_col }
Close