Skip to content

Commit c0a7e91

Browse files
authored
Update pwn.kafel, add more common syscalls.
1 parent 5fe7c3c commit c0a7e91

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pwn.kafel

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
POLICY pwn {
2-
ALLOW {
3-
write, execve, brk, access, mmap, open, newfstat,
4-
close, read, mprotect, arch_prctl, munmap, getuid,
5-
getgid, getpid, rt_sigaction, geteuid, getppid, getcwd,
6-
getegid, ioctl, fcntl, newstat, clone, wait4, rt_sigreturn,
7-
exit_group, openat
8-
}
2+
ALLOW {
3+
write, execve, brk, access, mmap, open, newfstat,
4+
close, read, mprotect, arch_prctl, munmap, getuid,
5+
getgid, getpid, rt_sigaction, geteuid, getppid, getcwd,
6+
getegid, ioctl, fcntl, newstat, clone, wait4, rt_sigreturn,
7+
exit_group, openat, setpgid, getpgrp, fadvise64, writev,
8+
rt_sigprocmask, getrlimit, statfs, getdents, getdents64,
9+
chdir, set_tid_address, set_robust_list
10+
}
911
} USE pwn DEFAULT KILL

0 commit comments

Comments
 (0)