One Hat Cyber Team
Your IP :
216.73.216.115
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
systemtap
/
examples
/
network
/
Edit File:
connect_stat.stp
#!/usr/bin/stap ############################################################ # connect_stat.stp # Author: Robin Hack <rhack@redhat.com> # An example script show process tree of process # which tried to call connect with specific ip address ############################################################ function process_tree (ip:string) { cur_proc = task_current(); parent_pid = task_pid(task_parent (cur_proc)); printf ("%s: ", ip); while (parent_pid != 0) { printf ("%s (%d),%d,%d -> ", task_execname(cur_proc), task_pid(cur_proc), task_uid(cur_proc),task_gid (cur_proc)); cur_proc = task_parent(cur_proc); parent_pid = task_pid(task_parent (cur_proc)); } # init process if (task_pid (cur_proc) == 1) { printf ("%s (%d),%d,%d\n", task_execname(cur_proc), task_pid(cur_proc), task_uid(cur_proc),task_gid (cur_proc)); } } probe syscall.connect { if ((uaddr_af !~ "AF_INET*") || (uaddr_ip != @1)) { next; } process_tree (uaddr_ip); }
Simpan