Advertisement
Guest User

capable tests

a guest
Aug 14th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.33 KB | None | 0 0
  1. [13:42:23] lechatp:~ capable -c tcpdump
  2. tcpdump: wlp108s0: You don't have permission to capture on that device
  3. (socket: Operation not permitted)
  4.  
  5. Here's all capabilities intercepted for this program :
  6. cap_dac_override, cap_dac_read_search, cap_net_admin, cap_net_raw, cap_sys_admin
  7. WARNING: These capabilities aren't mandatory, but can change the behavior of tested program.
  8. WARNING: CAP_SYS_ADMIN is rarely needed and can be very dangerous to grant
  9. [13:44:23] lechatp:~ capable -c "ping 8.8.8.8 -c 1"
  10. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  11. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=24.7 ms
  12.  
  13. --- 8.8.8.8 ping statistics ---
  14. 1 packets transmitted, 1 received, 0% packet loss, time 0ms
  15. rtt min/avg/max/mdev = 24.730/24.730/24.730/0.000 ms
  16.  
  17. Here's all capabilities intercepted for this program :
  18. cap_setuid, cap_setpcap, cap_net_raw, cap_sys_admin
  19. WARNING: These capabilities aren't mandatory, but can change the behavior of tested program.
  20. WARNING: CAP_SYS_ADMIN is rarely needed and can be very dangerous to grant
  21. [13:44:31] lechatp:~ capable -c "cat /proc/kallsyms > /dev/null"
  22.  
  23. Here's all capabilities intercepted for this program :
  24. cap_sys_admin, cap_syslog
  25. WARNING: These capabilities aren't mandatory, but can change the behavior of tested program.
  26. WARNING: CAP_SYS_ADMIN is rarely needed and can be very dangerous to grant
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement