Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ls
- prevent_syscall_test.py puts_test1.c puts_test2.c
- $ gcc puts_test1.c -o puts_test1
- $ gcc puts_test2.c -o puts_test2
- $ ./puts_test1
- this is test.
- d41d8cd98f00b204e9800998ecf8427e
- program exited normally...
- $ ./puts_test2
- this is test.
- 9f900e2d14cbbff7536587baf3003f89
- program exited normally...
- $ python prevent_syscall_test.py ./puts_test1
- this is test.
- d41d8cd98f00b204e9800998ecf8427e
- program exited normally...
- [24074] exit() : exit process
- $ python prevent_syscall_test.py ./puts_test2
- this is test.
- 9f900e2d14cbbff7536587baf3003f89
- IGNORE OPERATION!!
- WARNING:root:Terminate <PtraceProcess #24078>
- WARNING:root:waitpid() warning: Unknown PID 24078
Add Comment
Please, Sign In to add comment