Add xargs, nl and unshare

This commit is contained in:
Andrea Cardaci 2018-05-30 12:55:36 +02:00
commit bb001f1b8a
2 changed files with 17 additions and 0 deletions

8
_gtfobins/nl.md Normal file
View File

@ -0,0 +1,8 @@
---
functions:
file-read:
- description: This prepends a leading space to each line.
code: |
LFILE=file_to_read
nl -bn -w1 -s '' $LFILE
---

9
_gtfobins/unshare.md Normal file
View File

@ -0,0 +1,9 @@
---
functions:
execute-interactive:
- code: unshare /bin/sh
sudo-enabled:
- code: sudo unshare /bin/sh
suid-enabled:
- code: ./unshare -r /bin/sh
---