Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
tapset /
linux /
[ HOME SHELL ]
Name
Size
Permission
Action
arm
[ DIR ]
drwxr-xr-x
arm64
[ DIR ]
drwxr-xr-x
i386
[ DIR ]
drwxr-xr-x
ia64
[ DIR ]
drwxr-xr-x
powerpc
[ DIR ]
drwxr-xr-x
s390
[ DIR ]
drwxr-xr-x
x86_64
[ DIR ]
drwxr-xr-x
atomic.stp
1.52
KB
-rw-r--r--
aux_syscalls.stp
139.14
KB
-rw-r--r--
context-caller.stp
3.07
KB
-rw-r--r--
context-envvar.stp
1.71
KB
-rw-r--r--
context-symbols.stp
11.98
KB
-rw-r--r--
context-unwind.stp
2.81
KB
-rw-r--r--
context.stp
17.76
KB
-rw-r--r--
context.stpm
125
B
-rw-r--r--
conversions-guru.stp
5.56
KB
-rw-r--r--
conversions.stp
10.92
KB
-rw-r--r--
ctime.stp
5.32
KB
-rw-r--r--
dentry.stp
9.79
KB
-rw-r--r--
dev.stp
1.79
KB
-rw-r--r--
endian.stp
602
B
-rw-r--r--
guru-delay.stp
1.2
KB
-rw-r--r--
guru-signal.stp
1.07
KB
-rw-r--r--
inet.stp
1.42
KB
-rw-r--r--
inet_sock.stp
1.31
KB
-rw-r--r--
ioblock.stp
12.55
KB
-rw-r--r--
ioscheduler.stp
11.74
KB
-rw-r--r--
ip.stp
5.23
KB
-rw-r--r--
ipmib-filter-default.stp
965
B
-rw-r--r--
ipmib.stp
12.55
KB
-rw-r--r--
irq.stp
5
KB
-rw-r--r--
json.stp
8.92
KB
-rw-r--r--
json.stpm
6.11
KB
-rw-r--r--
kprocess.stp
4.38
KB
-rw-r--r--
kretprobe.stp
2.1
KB
-rw-r--r--
linuxmib-filter-default.stp
876
B
-rw-r--r--
linuxmib.stp
3.38
KB
-rw-r--r--
loadavg.stp
1.87
KB
-rw-r--r--
logging.stp
2.08
KB
-rw-r--r--
memory.stp
17.77
KB
-rw-r--r--
nd_syscalls.stp
138.14
KB
-rw-r--r--
nd_syscalls2.stp
161.75
KB
-rw-r--r--
netfilter.stp
31.56
KB
-rw-r--r--
networking.stp
7.17
KB
-rw-r--r--
nfs.stp
37.86
KB
-rw-r--r--
nfs_proc.stp
55.3
KB
-rw-r--r--
nfs_proc.stpm
1.18
KB
-rw-r--r--
nfsd.stp
39.97
KB
-rw-r--r--
nfsderrno.stp
11.7
KB
-rw-r--r--
panic.stp
1.07
KB
-rw-r--r--
perf.stp
4.5
KB
-rw-r--r--
proc_mem.stp
11.49
KB
-rw-r--r--
pstrace.stp
773
B
-rw-r--r--
rcu.stp
917
B
-rw-r--r--
rlimit.stp
1.35
KB
-rw-r--r--
rpc.stp
37.94
KB
-rw-r--r--
scheduler.stp
11.33
KB
-rw-r--r--
scsi.stp
9.46
KB
-rw-r--r--
signal.stp
28.35
KB
-rw-r--r--
socket.stp
33.41
KB
-rw-r--r--
syscalls.stp
136.01
KB
-rw-r--r--
syscalls.stpm
11.28
KB
-rw-r--r--
syscalls2.stp
158.1
KB
-rw-r--r--
syscalls_cfg_trunc.stp
111
B
-rw-r--r--
target_set.stp
1.71
KB
-rw-r--r--
task.stp
19.07
KB
-rw-r--r--
task.stpm
157
B
-rw-r--r--
task_ancestry.stp
1.57
KB
-rw-r--r--
task_time.stp
7.45
KB
-rw-r--r--
tcp.stp
21.98
KB
-rw-r--r--
tcpmib-filter-default.stp
885
B
-rw-r--r--
tcpmib.stp
10.29
KB
-rw-r--r--
timestamp.stp
1.72
KB
-rw-r--r--
timestamp_gtod.stp
1.59
KB
-rw-r--r--
timestamp_monotonic.stp
5.12
KB
-rw-r--r--
tty.stp
7.15
KB
-rw-r--r--
tzinfo.stp
803
B
-rw-r--r--
ucontext-symbols.stp
8.62
KB
-rw-r--r--
ucontext-unwind.stp
3.64
KB
-rw-r--r--
ucontext.stp
2.18
KB
-rw-r--r--
udp.stp
5.73
KB
-rw-r--r--
utrace.stp
1.33
KB
-rw-r--r--
vfs.stp
26.83
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dentry.stp
// dentry tapset // Copyright (c) 2009-2015 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General // Public License (GPL); either version 2, or (at your option) any // later version. %{ // Make sure the filesystem "magic" constants we use are defined. #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)) #include <linux/magic.h> #endif #ifndef PIPEFS_MAGIC #define PIPEFS_MAGIC 0x50495045 #endif #ifndef SOCKFS_MAGIC #define SOCKFS_MAGIC 0x534F434B #endif #ifndef ANON_INODE_FS_MAGIC #define ANON_INODE_FS_MAGIC 0x09041934 #endif #ifndef NSFS_MAGIC #define NSFS_MAGIC 0x6e736673 #endif %} function __dentry_IS_ROOT:long(dentry:long) { return (@cast(dentry, "dentry")->d_parent == dentry) } function __dentry_prepend:string(dentry:long,name:string) { dname = d_name(dentry) /* * In case we are following down a mount point trigger, we can get * multiple instances of a root mount. */ c = substr(name, strlen(name)-1, strlen(name)-1) if (dname == "/" && c == "/") return name; if (name == "") { return dname; } else { return sprintf("%s/%s", dname, name); } } /** * sfunction d_name - get the dirent name * * Returns the dirent name (path basename). * @dentry: Pointer to dentry. */ function d_name:string(dentry:long) { s = & @cast(dentry, "dentry")->d_name; return kernel_string_n(s->name, s->len); } function __inode_first_dentry:long(inode:long) { /* i_dentry is an hlist_head on 3.6+, or a list_head before that. */ d_alias = @choose_defined( @cast(inode, "struct inode")->i_dentry->first, @cast(inode, "struct inode")->i_dentry->next) if (@type_member_defined("struct dentry", d_alias)) { return & @container_of(d_alias, "struct dentry", d_alias) } else { return & @container_of(d_alias, "struct dentry", d_u->d_alias) } } function __inode_vfsmount:long(inode:long) { /* s_mounts was added in kernel 3.6, commit b3d9b7a3c. */ if (@type_member_defined("struct super_block", s_mounts)) { mnt_ns = @cast(task_current(), "struct task_struct")->nsproxy->mnt_ns sb = @cast(inode, "struct inode")->i_sb /* Look for the mount which matches the current namespace */ head = &sb->s_mounts for (pos = head->next; pos != head; pos = pos->next) { mount = & @container_of(pos, "struct mount", mnt_instance) if (mount->mnt_ns == mnt_ns) return & mount->mnt } } return 0 } /** * sfunction inode_name - get the inode name * * Returns the first path basename associated with the given inode. * @inode: Pointer to inode. */ function inode_name:string(inode:long) { return reverse_path_walk(__inode_first_dentry(inode)) } /** * sfunction inode_path - get the path to an inode * * Returns the full path associated with the given inode. * @inode: Pointer to inode. */ function inode_path:string(inode:long) { dentry = __inode_first_dentry(inode) vfsmount = __inode_vfsmount(inode) if (vfsmount != 0) return task_dentry_path(task_current(), dentry, vfsmount) /* This is not really a full path... */ return reverse_path_walk(dentry) } /** * sfunction reverse_path_walk - get the full dirent path * * Returns the path name (partial path to mount point). * @dentry: Pointer to dentry. */ function reverse_path_walk:string(dentry:long) { while(1) { name = __dentry_prepend(dentry, name); dentry = @cast(dentry, "dentry")->d_parent; if (__dentry_IS_ROOT(dentry)) return name; } } /** * sfunction real_mount - get the 'struct mount' pointer * * Returns the 'struct mount' pointer value for a 'struct vfsmount' * pointer. * @vfsmnt: Pointer to 'struct vfsmount' */ function real_mount:long(vfsmnt:long) { if (@type_member_defined("mount", mnt_parent)) { /* * The following is the script language equivalent of: * * return container_of(vfsmnt, struct mount, mnt); * * We can't do the above because 'struct mount' is * defined in a private header (in fs/mount.h). But, * we can do the script language equivalent (because * we've got dwarf info). * * More spelled out in C, the above would look like: * * return (vfsmnt - offsetof(struct mount, mnt)); * * but here we're also making sure it won't wrap around. */ offset = @offsetof("mount", mnt) if (vfsmnt < 0 || vfsmnt > offset) return (vfsmnt - offset) } return 0 } /** * sfunction task_dentry_path - get the full dentry path * * Returns the full dirent name (full path to the root), like * the kernel d_path function. * @task: task_struct pointer. * @dentry: direntry pointer. * @vfsmnt: vfsmnt pointer. */ function task_dentry_path:string(task:long,dentry:long,vfsmnt:long) { /* * There are various synthetic filesystems that never get * mounted. Filesystems needing to implement special "root * names" do so with dentry->d_op->d_dname(). Unfortunately, * it isn't really safe for us to call * dentry->d_op->d_dname(). We can't really validate the * function pointer or know that it can be called safely in * the current context. * * Some pseudo inodes are mountable. When they are mounted, * dentry == vfsmnt->mnt_root. In that case, we'll just go * ahead and handle them normally. */ dentry = & @cast(dentry, "dentry") vfsmnt = & @cast(vfsmnt, "vfsmount") if (@type_member_defined("dentry", d_op->d_dname) && dentry->d_op && dentry->d_op->d_dname && (!__dentry_IS_ROOT(dentry) || dentry != vfsmnt->mnt_root)) { // The following code hits the majority of synthetic // filesystems that need special handling. As // mentioned earlier, we'd like to call d_dname() // here, but it isn't safe. if (vfsmnt->mnt_sb->s_magic == %{ /* pure */ SOCKFS_MAGIC %}) { return sprintf("socket:[%lu]", dentry->d_inode->i_ino) } else if (vfsmnt->mnt_sb->s_magic == %{ /* pure */ PIPEFS_MAGIC %}) { return sprintf("pipe:[%lu]", dentry->d_inode->i_ino) } else if (vfsmnt->mnt_sb->s_magic == %{ /* pure */ ANON_INODE_FS_MAGIC %}) { return sprintf("ANON_INODE:%s", d_name(dentry)) } else if (vfsmnt->mnt_sb->s_magic == %{ /* pure */ NSFS_MAGIC %}) { ns_ops = &@cast(dentry->d_fsdata, "proc_ns_operations") return sprintf("%s:[%lu]", kernel_string(ns_ops->name), dentry->d_inode->i_ino) } return sprintf("UNKNOWN:[%p]", dentry) } # Handle old-school vs. new-school fs_structs. if (@type_member_defined("fs_struct", rootmnt)) { root_dentry = & @cast(task, "task_struct")->fs->root root_vfsmnt = & @cast(task, "task_struct")->fs->rootmnt } else { root_dentry = @cast(task, "task_struct")->fs->root->dentry root_vfsmnt = @cast(task, "task_struct")->fs->root->mnt } while (1) { # If we've found the right dentry/vfsmnt, we're done. if (dentry == root_dentry && vfsmnt == root_vfsmnt) break; if (dentry == vfsmnt->mnt_root || __dentry_IS_ROOT(dentry)) { if (! @type_member_defined("vfsmount", mnt_parent)) { mnt = & @cast(real_mount(vfsmnt), "mount") if (mnt == 0) return "<unknown>" /* Global root? */ if (mnt->mnt_parent == vfsmnt) return sprintf("%s%s", d_name(mnt->mnt_mountpoint), name) dentry = mnt->mnt_mountpoint vfsmnt = & mnt->mnt_parent->mnt } else { /* Global root? */ if (vfsmnt->mnt_parent == vfsmnt) return sprintf("%s%s", d_name(vfsmnt->mnt_mountpoint), name) dentry = vfsmnt->mnt_mountpoint vfsmnt = vfsmnt->mnt_parent } continue; } name = __dentry_prepend(dentry, name); dentry = dentry->d_parent; } return sprintf("/%s", name); } /** * sfunction d_path - get the full nameidata path * * Returns the full dirent name (full path to the root), like * the kernel d_path function. * @nd: Pointer to nameidata. */ function d_path:string(nd:long) { dentry = @choose_defined(@cast(nd,"nameidata")->path->dentry, @cast(nd,"nameidata")->dentry) vfsmnt = @choose_defined(@cast(nd,"nameidata")->path->mnt, @cast(nd,"nameidata")->mnt) return sprintf("%s/", task_dentry_path(task_current(), dentry, vfsmnt)) } /** * sfunction fullpath_struct_nameidata - get the full nameidata path * * Returns the full dirent name (full path to the root), like * the kernel (and systemtap-tapset) d_path function, with a "/". * @nd: Pointer to "struct nameidata". */ function fullpath_struct_nameidata(nd) { return d_path(nd) } /** * sfunction fullpath_struct_path - get the full path * * Returns the full dirent name (full path to the root), like * the kernel d_path function. * @path: Pointer to "struct path". */ function fullpath_struct_path(path) { return task_dentry_path(task_current(), @cast(path,"path","kernel<linux/path.h>:nfs")->dentry, @cast(path,"path","kernel<linux/path.h>:nfs")->mnt) } /** * sfunction fullpath_struct_file - get the full path * * Returns the full dirent name (full path to the root), like * the kernel d_path function. * @task: task_struct pointer. * @file: Pointer to "struct file". */ function fullpath_struct_file:string(task:long, file:long) { return task_dentry_path(task, @choose_defined(@cast(file, "file")->f_path->dentry, @cast(file, "file")->f_dentry), @choose_defined(@cast(file, "file")->f_path->mnt, @cast(file, "file")->f_vfsmnt)) }
Close