Guest User

Untitled

a guest
Nov 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. $ ls
  2. prevent_syscall_test.py puts_test1.c puts_test2.c
  3.  
  4. $ gcc puts_test1.c -o puts_test1
  5. $ gcc puts_test2.c -o puts_test2
  6. $ ./puts_test1
  7. this is test.
  8. d41d8cd98f00b204e9800998ecf8427e
  9. program exited normally...
  10.  
  11. $ ./puts_test2
  12. this is test.
  13. 9f900e2d14cbbff7536587baf3003f89
  14. program exited normally...
  15.  
  16. $ python prevent_syscall_test.py ./puts_test1
  17. this is test.
  18. d41d8cd98f00b204e9800998ecf8427e
  19. program exited normally...
  20. [24074] exit() : exit process
  21.  
  22. $ python prevent_syscall_test.py ./puts_test2
  23. this is test.
  24. 9f900e2d14cbbff7536587baf3003f89
  25. IGNORE OPERATION!!
  26. WARNING:root:Terminate <PtraceProcess #24078>
  27. WARNING:root:waitpid() warning: Unknown PID 24078
Add Comment
Please, Sign In to add comment